Benjamin Sergeant
2453f5b717
restructure project
2019-09-10 12:19:22 -07:00
Benjamin Sergeant
dfc188a24d
do not use mbed tls for the unittest
2019-07-03 14:39:46 -07:00
Benjamin Sergeant
f84bc53c8d
Feature/httpd ( #94 )
...
* Stub code for http server
* can send a response, cannot process body yet
* write headers to the response
* remove commented code
* add simple test + set default http handler
* tweak CI + unittest
* add missing file
* rewrite http::trim in a simple way
* doc
2019-06-23 14:54:21 -07:00
Benjamin Sergeant
9d70fb2b86
disable building ws on windows on travis
2019-06-10 22:01:19 -07:00
Benjamin Sergeant
d6eabae4f0
one cpu on windows for executing tests
2019-05-17 15:45:31 -07:00
Benjamin Sergeant
d473a7dc22
-j option actually work ...
2019-05-15 18:15:45 -07:00
Benjamin Sergeant
efb063d600
unittest / add options to set the number of jobs
2019-05-15 17:52:03 -07:00
Benjamin Sergeant
e0d9a16985
more protection against socket when closing
2019-05-15 15:18:46 -07:00
Benjamin Sergeant
7cad8654e5
fix inverted conditional
2019-05-13 17:18:07 -07:00
Benjamin Sergeant
849a41293f
travis cmake version on macOS does not know --parallel option
2019-05-13 17:17:35 -07:00
Benjamin Sergeant
5b17edb3f9
build in parallel + stop building linux + clang
2019-05-13 17:06:56 -07:00
Benjamin Sergeant
c01c53c5c7
Feature/windows ci ( #76 )
...
* close with params
* ...
* different generator
* core size = 1
* disable more tests to get something working on windows
* try to enable another test on windows
* enable all OS
* set proper version of linux
* another try
* try again with just env variables
* Revert "core size = 1"
This reverts commit 29af74bba6
.
* add windows and mac
* Revert "close with params"
This reverts commit 6bb00b6788
.
2019-05-13 16:51:58 -07:00
Dimon4eg
5f42a07d0d
Fix run.py ( #71 )
...
* fix run.py
* run.py: fix Windows support
* fix test listing
2019-05-12 18:37:22 -07:00
Benjamin Sergeant
9131cb4790
default sanitizer choice
2019-04-19 15:13:59 -07:00
Benjamin Sergeant
3b616676c6
disable clang sanitizers in CI on any platforms but Darwin
2019-04-19 15:09:01 -07:00
Benjamin Sergeant
419c395966
uses sh syntax to capture output
2019-04-19 12:40:39 -07:00
Benjamin Sergeant
2962ce9a0f
(ci) verbose mode to figure out Linux build problems on travis
2019-04-19 12:10:43 -07:00
Benjamin Sergeant
c96398aa0c
Windows nmake does not have a -j flag
2019-04-19 11:58:02 -07:00
Benjamin Sergeant
e68ce1d680
Windows + unittest python script fixes
2019-04-19 11:54:58 -07:00
Benjamin Sergeant
7e2c1f274b
(test) build dir is an absolute path
2019-04-19 11:45:02 -07:00
Benjamin Sergeant
b74bccee0a
fix test execution on travis which was broken / unify running test locally and on travis
2019-04-19 09:46:17 -07:00
Benjamin Sergeant
65b11cb968
docker container works with SSL + fix compiler warnings in statsd third_party module
2019-04-18 09:11:12 -07:00
Benjamin Sergeant
56b19fa2b0
linux ci tentative fix
2019-04-03 22:02:10 -07:00
Benjamin Sergeant
fe38dab405
better unittest runner / can run through lldb and produce a junit XML artifact
2019-03-29 15:54:05 -07:00
Benjamin Sergeant
2358b3ff26
minor cleanup
2019-03-21 13:51:25 -07:00
Benjamin Sergeant
68e397ab34
use pipe to abort select on Linux as well as macOS
2019-03-15 17:46:40 -07:00
Benjamin Sergeant
b91dc77d6f
select interrupt cleanup
2019-03-14 18:37:38 -07:00
Benjamin Sergeant
ded03ed743
do not busy loop while sending
2019-03-14 14:48:08 -07:00
Benjamin Sergeant
08c2cdbf1d
send can fail silently when sending would block (EWOULDBLOCK return for send) ( #18 )
...
* try to use a pipe for communication
* flush send buffer on the background thread
* cleanup
* linux fix / linux still use event fd for now
* cleanup
2019-03-13 23:09:45 -07:00
Benjamin Sergeant
932bb732e0
Feature/send large message ( #14 )
...
* introduce send fragment
* can pass a fin frame
* can send messages which are a perfect multiple of the chunk size
* set fin only for last fragment
* cleanup
* last fragment should be of type CONTINUATION
* Add simple send and receive programs
* speedups receiving + better way to wait for thing
* receive speedup by using linked list of chunks instead of large array
* document bug
* use chunks to receive data
* trailing spaces
2019-02-20 18:59:07 -08:00
Benjamin Sergeant
8983dd97a1
use dynamically generated port number to configure servers in unittest
2019-01-28 15:24:19 -08:00
Benjamin Sergeant
b9c49c38ed
linux fix
2019-01-26 20:57:48 -08:00
Benjamin Sergeant
a8b6573f96
hearbeat
2019-01-24 12:42:49 -08:00
Benjamin Sergeant
5ab61b46b5
Revert "Revert "try asan on Linux"" [Back to asan on Linux]
...
This reverts commit 02a704a8c7
.
2019-01-07 21:13:48 -08:00
Benjamin Sergeant
d00960b33f
Revert "try asan on Linux"
...
This reverts commit dd2360ed70
.
2019-01-07 20:47:25 -08:00
Benjamin Sergeant
4a5cfac2ea
try asan on Linux
2019-01-07 18:29:44 -08:00
Benjamin Sergeant
76f196206b
sanitizer cmake stuff
2019-01-06 18:54:16 -08:00
Benjamin Sergeant
b1e2c4ce72
test failure is not noticed
2019-01-05 16:30:22 -08:00
Benjamin Sergeant
80a877ddab
add dns lookup test
2019-01-05 14:40:17 -08:00
Benjamin Sergeant
e892b21872
openssl cleanup
2019-01-05 11:42:25 -08:00
Benjamin Sergeant
3eef8fba27
unittest on appveyor
2019-01-04 17:28:13 -08:00