Chris Smith
2c12fac16c
Dependency updates
Switch Travis to JDK12
Switch to SecureRandom() instead of getStrongInstance() to avoid
blocking hideously.
5 years ago
Chris Smith
622e2e2539
Tidy up and reduce copying of byte buffers
5 years ago
Chris Smith
9cd759d547
Fix various disconnection issues, 1.0.1.
5 years ago
Chris Smith
51b19e41b5
Rework TLS buffers to avoid overflowing.
If we're keeping some bytes in the line buffer waiting for a
CR/LF, the SSLEngine may not have enough room to put a packet's
worth of data in.
Instead of managing a single buffer, keep a channel of them
and emit a complete buffer each read call.
5 years ago
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
5 years ago
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
5 years ago
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 years ago
Chris Smith
dd87752527
Handle server connection errors
Fix regression with capability negotiation
5 years ago
Chris Smith
e64b705412
Improve couroutines and channel use in the socket
5 years ago
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 years ago
Chris Smith
4d1b35fa8a
Fix concurrency issue writing lines, bump to 0.3.1
5 years ago
Chris Smith
580a351dda
More documentation and tidying
5 years ago
Chris Smith
1eb9259e30
Document IrcClient, make lots of things internal.
5 years ago
Chris Smith
3686c5aa2d
Rework coroutines to make more sense.
5 years ago
Chris Smith
14a192379b
TLS support
5 years ago
Chris Smith
b0941e1047
Tag parsing support
5 years ago
Chris Smith
89ad92f562
Logging, ping handling
5 years ago
Chris Smith
602c5e8b7a
Initial import, various supporting classes.
5 years ago