Volodymyr Lashko
721206201a
gracefully handle socket closure ( #9 )
2019-11-25 18:20:39 +02:00
Volodymyr Lashko
c5e7527601
Fix assorted bugs and return packet kind ( #8 )
...
* add connection state
* improve error handling
* fix segmentation fault while attempting to close closed socket
* implement auto-close
* remove gcsafe requirement from onAutoClose callback
* remove auto-close
* return packet kind
* remove auto-close unit test
* make interface more consistent
* omit double copy
0.3
2019-11-18 14:32:12 +02:00
Yuriy Glukhov
8ea2ee2602
Chronos SSL support ( #6 )
0.2
2019-10-18 10:58:54 +03:00
Volodymyr Lashko
0c44ff9cd3
make default ssl context initialization easier to understand ( #5 )
2019-07-18 17:32:10 +03:00
Volodymyr Lashko
8dd9553bd1
Add SSL/TLS support ( #4 )
...
* add ssl/tls support
* improve ssl-related code
* fix issue with extra newline at the end of hello packet
* allow user to specify own ssl context (or use default)
* fix readme
* cleanup code
* simplify generation of headers
2019-07-18 13:12:43 +03:00
Yuriy Glukhov
6a7d8f0151
Client maskFrames by default, allow custom headers ( #3 )
2019-07-01 17:08:14 +03:00
Volodymyr Melnychuk
ca34a89433
gen oid instead of hardcoded Sec-WebSocket-Key ( #2 )
...
* gen oid instead of hardcoded Sec-WebSocket-Key
* encode key, make proper lenght
2019-06-13 22:20:20 +03:00
Volodymyr Melnychuk
45d1ddff1e
fix news
2019-06-12 14:50:53 +03:00
Volodymyr Melnychuk
d5fca4e063
fix readme
2019-06-12 14:10:36 +03:00
Volodymyr Melnychuk
d55596b696
add gitignore, tests, readme:
2019-06-12 13:36:35 +03:00
Yuriy Glukhov
35d14b09a4
Chronos support ( #1 )
2019-06-11 17:09:54 +03:00
Volodymyr Melnychuk
1693b5c022
initial commit
2019-05-08 16:10:48 +03:00
Volodymyr Melnychuk
a8f34be09e
Initial commit
2019-05-08 16:06:46 +03:00