Commit Graph

5 Commits

Author SHA1 Message Date
tormund 2de5efc0cf bump version, fix #15 2020-06-23 00:53:26 +03: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
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
Volodymyr Melnychuk 1693b5c022 initial commit 2019-05-08 16:10:48 +03:00