kakwa
5f1c5de4ad
adding a function to free the ssl context
2016-09-02 08:00:04 +02:00
kakwa
b3b3014873
just to be safe, strlen + 1 allocated
2016-09-02 07:43:39 +02:00
kakwa
1454ea4880
better memory management and extraction of the openssl initialization
2016-09-02 07:42:23 +02:00
kakwa
16a34d9c7d
implement better query and response logging
...
* recover the serial
* add the serial in many logs
* add response log
* add timer
2016-09-02 00:36:25 +02:00
kakwa
d8f75a23f5
code reformatting
2016-09-01 08:29:07 +02:00
kakwa
d6a7ba86ff
passing the launch working dir to the configuration handler
...
as many configuration paths can be relative to the execution working
directory, this directory is recorded at launch time, and the set_params
function does a chdir(<start work dir>); <load conf>; chdir("/") when
it's called.
2016-09-01 07:59:02 +02:00
kakwa
d91fbe377e
implementing a somewhat proper signal handler
2016-08-31 07:57:51 +02:00
kakwa
e02740a6cf
first (kind of) working version \o/
2016-08-31 00:09:17 +02:00
kakwa
3e13c30351
adapt to create_response new API
2016-08-30 23:03:53 +02:00
kakwa
dba24b7adf
multiple modications
...
* add a function to dump binary as hexa in logs
* implemente the TS response generator
* begin to glue it together
2016-08-29 08:34:59 +02:00
kakwa
89e8b773ef
removing uneeded newline in debug logs of the http queries
2016-08-27 01:35:57 +02:00
kakwa
ec467ba646
general reorganization
...
* rename the logger function to uts_logger
* add logging to the create_tsctx fucntion
* fix some warning *
2016-08-26 20:39:45 +02:00
kakwa
ed74ddb981
adding creation for the ts context
2016-08-26 01:28:34 +02:00
kakwa
9667d6682c
implement configuration parsing + fix
...
* fix debugging logs to stdout
* add parsing of the different type of parameters
* configure the http server part
2016-08-25 23:04:26 +02:00
kakwa
57d7c6ebc2
better stdout debugging mode
2016-08-24 23:41:55 +02:00
kakwa
30e06d8db8
add the passing of the configuration file path and debug flag
2016-08-24 23:14:15 +02:00
kakwa
63739e858f
pass context to the logging function
2016-08-24 23:03:49 +02:00
kakwa
355d32c585
adding a context which will be passed from query to query
2016-08-24 22:37:05 +02:00
kakwa
74f07cbd0e
big code reorganization:
...
* split the rfc3161 and the http part
* add a logger function
* add a debugging logger function for the requests
* add a specific handler for rfc3161 request
2016-08-24 22:13:11 +02:00