Commit Graph

20 Commits

Author SHA1 Message Date
tormund 2de5efc0cf bump version, fix #15 2020-06-23 00:53:26 +03:00
tormund d64a7691ae fix #16 2020-06-19 16:58:24 +03:00
tormund 55d3214c57 fix empty path 2020-06-16 21:47:07 +03:00
tormund 914f997a98 fix echo server url 2020-06-16 13:05:31 +03:00
Viktor Kirilov 1caa232d63
inheriting from CatchableError for the news exceptions because Exception shouldn't be directly inherited from (#12)
thanks!
2020-05-08 09:40:10 +03:00
Volodymyr Melnychuk 09af7f0d97
fix connection and validation of server responce (#11)
* fix connection and validation of server responce

* fix typo, cleanup

* fix typo, better validation

* more valid validation ;)
2019-12-18 12:17:44 +02:00
Volodymyr Lashko c178f8c628 raise error when writing to closed socket (#10) 2019-11-27 16:36:57 +02:00
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
2019-11-18 14:32:12 +02:00
Yuriy Glukhov 8ea2ee2602 Chronos SSL support (#6) 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