1
0
mirror of https://github.com/kakwa/uts-server synced 2024-11-11 12:08:54 +01:00
Commit Graph

12 Commits

Author SHA1 Message Date
kakwa
8f1a9b1250 code reformat 2016-11-02 18:58:14 +01:00
kakwa
5b3c90bf07 fix relative path loading for https certificate/key/ca file 2016-09-11 23:55:38 +02:00
kakwa
14852855b9 enabling multi-threads support
as TS_RESP_CTX is not thread safe, this commit implement a pool of
TS_RESP_CTX in which a thread can pick one in a thread safe maner.

* implement a ts_resp_ctx_wrapper containing a TS_RESP_CTX and a
  lock and bool to mark the availability of the TS_RESP_CTX
* implement the get_ctxw to recover a given TS_RESP_CTX in a thread safe
   maner
* adapt the rest of the code to accomodate the new way of doing things
* set the default number of threads to 10 as it's now safe to do so
2016-09-08 23:21:53 +02:00
kakwa
612dedad64 a little temporary fix concerning the lack of multithread support 2016-09-05 23:24:41 +02:00
kakwa
503a09aa58 fix some memory leaks on openssl context cleanup 2016-09-05 20:24:47 +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
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