Commit Graph

269 Commits

Author SHA1 Message Date
kakwa a6d73bfd49 code cleaning an reorganization 2016-09-12 08:39:03 +02:00
kakwa f92cb7213e fix potential memleak + comments 2016-09-12 08:20:07 +02:00
kakwa 8579c06d00 version bump 2016-09-12 00:44:58 +02:00
kakwa 056eb5815d change the attributes of the test certificates (cosmetic only) 2016-09-12 00:41:34 +02:00
kakwa 7162b59690 adding test case for ssl setup 2016-09-11 23:59:52 +02:00
kakwa 1e8f0d7248 adding test configuration for ssl setup 2016-09-11 23:57:25 +02:00
kakwa 3080d00e45 fix relative path loading for https certificate/key/ca file 2016-09-11 23:55:38 +02:00
kakwa 502dd1d11f adding a changelog message 2016-09-11 22:11:21 +02:00
kakwa 32f60e7487 fix the order of some strings in some log messages 2016-09-11 22:09:39 +02:00
kakwa c68c9b85ad the max serial size is 160 bits, not 160 bytes... 2016-09-11 22:04:03 +02:00
kakwa 96587d3461 add many comments 2016-09-11 22:01:22 +02:00
kakwa 1d53fdeb90 Merge branch 'master' of https://github.com/kakwa/uts-server 2016-09-11 21:10:12 +02:00
kakwa 9babc43333 implement logging of startup civetweb error 2016-09-11 21:09:35 +02:00
Carpentier Pierre-Francois 6235d75174 Update README.rst 2016-09-11 20:46:38 +02:00
kakwa 34e6b70381 adding a 64px png version of the logo 2016-09-11 20:43:15 +02:00
Carpentier Pierre-Francois 22cfd6a320 Update README.rst 2016-09-11 20:41:53 +02:00
kakwa bac488ae30 adding error handling in case civetweb fails to start 2016-09-11 20:07:14 +02:00
kakwa 517535b920 adding a sleep 1 (waiting for the server to be up 2016-09-11 19:29:20 +02:00
kakwa ae1846988e more complete and accurate quick start guide 2016-09-11 19:24:27 +02:00
kakwa ef5f1b766e better links to external resources 2016-09-11 19:14:40 +02:00
kakwa c08b00d36b fix some typo in documenation 2016-09-11 19:08:51 +02:00
kakwa 0e006a0a61 http headers are case-insensitive replacing strcmp by strcasecmp 2016-09-11 18:27:51 +02:00
kakwa fa6f7b5f17 first batch of the rst documentation 2016-09-10 12:03:03 +02:00
kakwa 84b5d75c08 adding some resource files for the documenation 2016-09-10 11:19:14 +02:00
kakwa be1d0c1dd1 cosmetic changes 2016-09-10 03:30:09 +02:00
kakwa 990ee7e268 cosmetic change 2016-09-10 03:29:12 +02:00
kakwa 6c515c4d93 few cosmetic fixes in documentation 2016-09-10 03:27:41 +02:00
kakwa 4375280ce1 fixing some issues with the configuration table generator 2016-09-10 03:22:04 +02:00
kakwa 0278c1e65f fix tests 2016-09-10 03:14:02 +02:00
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