Benjamin Sergeant
76e2f9f3ac
add ws_chat and ws_connect sub commands to ws
2019-02-22 20:49:26 -08:00
Benjamin Sergeant
41a40b8b9f
all CMakeLists are referenced by the top level one
2019-02-21 22:21:29 -08:00
Benjamin Sergeant
6b8694bfbf
add target for building with homebrew
2019-02-21 22:05:30 -08:00
Benjamin Sergeant
2d696b6806
Feature/ws cli ( #15 )
...
* New command line tool for transfering files / still very beta.
* add readme
* use cli11 for argument parsing
* json -> msgpack
* stop using base64 and use binary which can be stored in message pack
2019-02-21 21:24:53 -08:00
Benjamin Sergeant
709a5ec89a
Update README.md
...
Add note about message fragmentation.
2019-02-21 14:08:27 -08: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
dd4e29542c
document bug
2019-02-16 10:33:37 -08:00
Benjamin Sergeant
726e66ca66
unittest for sending large messages
2019-02-16 10:32:02 -08:00
Benjamin Sergeant
474fd70ec7
Update formatting in README.md
2019-02-05 23:04:45 -08:00
Benjamin Sergeant
5074dbc3c6
more conf in CI
2019-01-29 17:50:19 -08:00
Benjamin Sergeant
eb54e7f1ae
get free port that can be used by non root users (> 1024)
2019-01-28 15:24:19 -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
7eaea28970
Merge pull request #13 from machinezone/user/bsergeant/poll
...
User/bsergeant/poll
2019-01-27 10:47:38 -08:00
Benjamin Sergeant
907605c59c
windows build fix
2019-01-27 10:46:02 -08:00
Benjamin Sergeant
58921592c8
constexpr to declare number of fds
2019-01-26 21:01:36 -08:00
Benjamin Sergeant
b9c49c38ed
linux fix
2019-01-26 20:57:48 -08:00
Benjamin Sergeant
76c97027c8
remove shutdown call
2019-01-26 20:54:23 -08:00
Benjamin Sergeant
5db3620f49
rebase poll branch
2019-01-26 20:50:25 -08:00
Benjamin Sergeant
a2e6fa0b16
insensitive string compare when validating server connection header
2019-01-25 16:17:51 -08:00
Benjamin Sergeant
1d359f0fc4
Merge pull request #12 from machinezone/user/bsergeant/heart-beat
...
Add an optional heartbeat
2019-01-25 16:14:28 -08:00
Benjamin Sergeant
885d245afb
heartbeat correct
2019-01-25 16:11:39 -08:00
Benjamin Sergeant
75d01c0c11
close server socket on exit
2019-01-24 21:16:32 -08:00
Benjamin Sergeant
ea219e3ddd
unittest fix
2019-01-24 19:54:10 -08:00
Benjamin Sergeant
e9cd54b2f4
add an heartbeat test
2019-01-24 18:50:07 -08:00
Benjamin Sergeant
a8b6573f96
hearbeat
2019-01-24 12:42:49 -08:00
Benjamin Sergeant
4e158c8ba7
Update README.md
2019-01-15 09:36:43 -08:00
Benjamin Sergeant
121c84a2d1
check and validate the Connection: Upgrade header in client/server
2019-01-15 09:31:37 -08:00
Benjamin Sergeant
bfb76de9ab
Merge pull request #10 from tonylin0826/master
...
Fix missing "Upgrade" header error
2019-01-15 09:22:11 -08:00
Tony Lin
2434605c06
Fix missing upgrade header error
2019-01-15 15:35:37 +08:00
Benjamin Sergeant
a0f15bfb56
C++14 + use make_unique and make_shared to make shared pointers
2019-01-11 21:25:06 -08:00
Benjamin Sergeant
7fabd14a63
add travis badge
2019-01-08 10:13:23 -08:00
Benjamin Sergeant
6b4d2aeb07
travis -> osx
2019-01-08 10:04:47 -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
39c9691d70
travis-ci: try to use clang on Linux
2019-01-07 20:49:03 -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
7e1d21239f
build with osx on travis
2019-01-07 18:16:29 -08:00
Benjamin Sergeant
1a8b870a9e
fix simple compile error in test/IXTest.h
2019-01-07 18:08:11 -08:00
Benjamin Sergeant
3e150db493
add a travis file for real
2019-01-07 18:05:55 -08:00
Benjamin Sergeant
1cf8b7e952
add a travis file
2019-01-07 18:04:28 -08:00
Benjamin Sergeant
ea75432f12
update test remote ws url
2019-01-07 11:28:53 -08:00
Benjamin Sergeant
85370dfd21
remove cmake sanitizer submodule
2019-01-07 11:26:23 -08:00
Benjamin Sergeant
8a0afef825
check select errors better
2019-01-07 11:18:00 -08:00
Benjamin Sergeant
76f196206b
sanitizer cmake stuff
2019-01-06 18:54:16 -08:00
Benjamin Sergeant
bf3e8195f7
DNSLookup _id member does not need to be an atomic
2019-01-06 18:32:19 -08:00
Benjamin Sergeant
bce3071a12
DNSLookup: fix #8
2019-01-06 18:27:26 -08:00
Benjamin Sergeant
911f684e4d
DNSLookup: copy hostname and port instead of accessing member
2019-01-06 18:17:12 -08:00
Benjamin Sergeant
49bc156a56
return false -> return -1
2019-01-06 18:10:39 -08:00
Benjamin Sergeant
791c3701d7
add new unittest
2019-01-06 15:14:13 -08:00
Benjamin Sergeant
372af54e46
remove dead file
2019-01-06 14:26:11 -08:00