Chris Smith
28c9400250
Add some TLS tests, fix a leaky buffer
5 vuotta sitten
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
5 vuotta sitten
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
5 vuotta sitten
Chris Smith
eacdf03763
Fix handling of long lines.
If we multiple long lines in succession the start index got
miscalculated and part of the latter lines discarded.
5 vuotta sitten
Chris Smith
e64b705412
Improve couroutines and channel use in the socket
5 vuotta sitten
Chris Smith
74dd02ca3a
Rework how writing lines works, again.
To preserve the order of lines we offer them into a channel
without suspending. If we launch a new coroutine there's no
guarantee they'll execute in order, even if the method they
call is fair.
5 vuotta sitten
Chris Smith
b0d3c17663
Fix bad import in tests
5 vuotta sitten
Chris Smith
14a192379b
TLS support
5 vuotta sitten
Chris Smith
89ad92f562
Logging, ping handling
5 vuotta sitten
Chris Smith
602c5e8b7a
Initial import, various supporting classes.
5 vuotta sitten