Benjamin Sergeant
d9be40a0de
refactor connect unittest so that it hits a local server instead of a remote server
2019-05-16 14:25:31 -07:00
Benjamin Sergeant
fd637bf1e1
first socket test hit a local server instead of a remote server / this can help with a windows intermittent failure
2019-05-16 12:24:58 -07:00
Dimon4eg
fbb7c012a3
fix windows build ( #29 )
...
* fix windows build
* fix for Unix
* Fix build if TLS is OFF
* add OpenSSL req to ws
* Fix build on Mac
* fix tests for windows
2019-04-16 08:51:57 -07:00
Benjamin Sergeant
6b8337596f
unittest fix
2019-03-14 18:58:16 -07:00
Benjamin Sergeant
4f2babaf54
select interrupt cleanup
2019-03-14 18:37:38 -07:00
Benjamin Sergeant
2750df8aa7
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
e46eb8aa49
debian 9 unittest build fix
2019-03-10 16:07:48 -07:00
Benjamin Sergeant
3a77e96a05
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
12d1c5d956
add a travis file
2019-01-07 18:04:28 -08:00
Benjamin Sergeant
e80def0cd0
add log
2019-01-05 21:16:13 -08:00
Benjamin Sergeant
cc8a9e883e
unittest + compiler warnings
2019-01-05 21:10:08 -08:00
Benjamin Sergeant
06d2b68696
header refactoring
2019-01-05 20:38:43 -08:00
Benjamin Sergeant
5b1c97b774
SocketTest / more debug info
2019-01-05 17:10:01 -08:00
Benjamin Sergeant
78d88a8520
openssl cleanup
2019-01-05 11:42:25 -08:00