1
0
mirror of https://github.com/kakwa/uts-server synced 2024-06-03 09:38:07 +02:00
Commit Graph

10 Commits

Author SHA1 Message Date
kakwa
e948177a41 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
d49f24c061 a little temporary fix concerning the lack of multithread support 2016-09-05 23:24:41 +02:00
kakwa
236f0cf04c fix some memory leaks on openssl context cleanup 2016-09-05 20:24:47 +02:00
kakwa
75dcc97e12 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
8ebbc08c88 adding creation for the ts context 2016-08-26 01:28:34 +02:00
kakwa
6ca2e34094 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
568b4fbcf2 better stdout debugging mode 2016-08-24 23:41:55 +02:00
kakwa
2619c2a576 add the passing of the configuration file path and debug flag 2016-08-24 23:14:15 +02:00
kakwa
eaf1d51b1c pass context to the logging function 2016-08-24 23:03:49 +02:00
kakwa
c982c6b405 adding a context which will be passed from query to query 2016-08-24 22:37:05 +02:00