Commit Graph

140 Commits

Author SHA1 Message Date
kakwa e6d637f7ea switching to rst
* rename README
* more cleaning in the configuration
* build real tables for configuration parameters
2016-09-10 03:10:21 +02:00
kakwa f09c4fc034 another reformatting of the default configuration file 2016-09-10 00:55:46 +02:00
kakwa 916d51e315 adding documentation for each conf file parameters 2016-09-10 00:55:19 +02:00
kakwa 39269e31bc reformat configuration file 2016-09-10 00:50:24 +02:00
kakwa 2bb8a4cf1c python script to gen doc from conf file comments 2016-09-10 00:48:24 +02:00
kakwa f97a363e4c switch version to 0.0.1 2016-09-09 22:19:02 +02:00
kakwa 1289daa7ab cleanup documentation 2016-09-09 21:45:22 +02:00
kakwa 16d40692fd fix default configuration 2016-09-09 21:45:00 +02:00
kakwa 40cd673094 adding vim swap files in the git ignore 2016-09-09 08:28:21 +02:00
kakwa 6df936d408 more consistent log messages 2016-09-09 08:26:31 +02:00
kakwa a4225b4810 displaying the timer every 1000 requests instead of every 10000 2016-09-09 00:03:42 +02:00
kakwa f5f6099abe increasing the size of the test keys 2016-09-09 00:02:24 +02:00
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 81d7a808cb enable num_threads > 1 in the test configuration 2016-09-08 23:20:25 +02:00
kakwa 59f7f63c45 making the stress.py stress test executable 2016-09-08 23:19:51 +02:00
kakwa e31b09f41e adding a switch to disable request debug log treatement 2016-09-08 21:18:15 +02:00
kakwa b7bff24915 switching success log to debug 2016-09-08 21:17:35 +02:00
kakwa 7277fa9c91 adding a ts request file for tests 2016-09-08 20:44:52 +02:00
kakwa 5093aadd30 adding a small stress script 2016-09-08 20:44:28 +02:00
kakwa b47fe2f04b fix the ssl certificate creation script 2016-09-07 21:45:48 +02:00
kakwa 2f4647b801 small improvement on test script 2016-09-07 21:43:15 +02:00
kakwa 873dc61860 adding a small external test 2016-09-07 21:41:21 +02:00
kakwa 8a9c76bcd3 removing osx as a targeted platform (kind of useless) 2016-09-07 21:34:12 +02:00
kakwa 0aed40ca16 adding link option for bundleling 2016-09-07 21:33:07 +02:00
kakwa be9924187b trying to fix the cmake version issue 2016-09-07 21:29:18 +02:00
kakwa a41e43a0eb adding travis badge 2016-09-07 21:19:27 +02:00
kakwa 205309d2a7 adding a travis file for continuous integration 2016-09-07 21:17:21 +02:00
kakwa 58691324d1 documenting the civetweb bundleling 2016-09-07 21:14:12 +02:00
kakwa 7c52c1d590 adding gitignore 2016-09-07 21:02:02 +02:00
kakwa a1195caac4 implementing a way to recover civetweb as an external project 2016-09-07 20:59:10 +02:00
kakwa 577db115e5 removing vendor directory 2016-09-07 20:56:56 +02:00
kakwa 5666cf69d0 remove submodule for civetweb 2016-09-07 20:56:02 +02:00
kakwa f5171cc287 adding a few sections 2016-09-06 09:05:55 +02:00
kakwa a3e550c394 fix link to openssl project 2016-09-06 09:03:54 +02:00
kakwa 63b21a1f56 better README file 2016-09-06 09:02:50 +02:00
kakwa d2d2648e7e better help in command line 2016-09-06 08:51:48 +02:00
kakwa d49f24c061 a little temporary fix concerning the lack of multithread support 2016-09-05 23:24:41 +02:00
kakwa 225c2d3a7c better handling of error codes 2016-09-05 23:20:29 +02:00
kakwa 8af08d6482 fix segfault in case of a bad request
* if the request is wrong, the request handler tried to access the
none allocated serial, which crashes the process.
2016-09-05 23:09:00 +02:00
kakwa 6d11e0d2ae fixing memory leak on query data 2016-09-05 22:37:03 +02:00
kakwa 0fc57d5396 fix more memleaks 2016-09-05 20:48:50 +02:00
kakwa 236f0cf04c fix some memory leaks on openssl context cleanup 2016-09-05 20:24:47 +02:00
kakwa aa97d4699d fix memleak 2016-09-05 20:06:15 +02:00
kakwa 49870f87b7 some code cleaning 2016-09-02 08:18:48 +02:00
kakwa 6727b81bd2 fix another memleak 2016-09-02 08:12:38 +02:00
kakwa d104de63d5 adding a function to free the ssl context 2016-09-02 08:00:04 +02:00
kakwa 627f9c5973 just to be safe, strlen + 1 allocated 2016-09-02 07:43:39 +02:00
kakwa 92b289e100 better memory management and extraction of the openssl initialization 2016-09-02 07:42:23 +02:00
kakwa 21e2a4de85 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 b3ade78f4d use only one thread (concurrency issues for now) 2016-09-02 00:35:39 +02:00