Chris Smith
2c12fac16c
Dependency updates
Switch Travis to JDK12
Switch to SecureRandom() instead of getStrongInstance() to avoid
blocking hideously.
5年前
Chris Smith
cd293318a5
Fix occasional buffer overflow on TLS connections
Closes #16
5年前
Chris Smith
28c9400250
Add some TLS tests, fix a leaky buffer
5年前
Chris Smith
622e2e2539
Tidy up and reduce copying of byte buffers
5年前
Chris Smith
9cd759d547
Fix various disconnection issues, 1.0.1.
5年前
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年前
Chris Smith
f1ecbf256f
Prefer IPv6, default to TLS
5年前
Chris Smith
96449f98a1
Replace ktor with plain socket code.
Closes #14
5年前
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年前
Chris Smith
070d502463
Initial work on exposing async methods
Move message processors into their own package
Update ktor
5年前
Chris Smith
b9a36acc64
Use processors as a map, don't iterate them every line.
5年前
Chris Smith
92c642e550
Add BATCH support
Closes #11
5年前
Chris Smith
0117d981a2
Event mutators
5年前
Chris Smith
5033040325
Add some topic events (no state yet)
Move handlers to their own packages
Update JUnit
5年前
Chris Smith
dd87752527
Handle server connection errors
Fix regression with capability negotiation
5年前
Chris Smith
e64b705412
Improve couroutines and channel use in the socket
5年前
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年前
Chris Smith
4d1b35fa8a
Fix concurrency issue writing lines, bump to 0.3.1
5年前
Chris Smith
1ee6e69673
Documentation
5年前
Chris Smith
ca4397505b
More debugging, add weird networking info to README
5年前
Chris Smith
812ec4990b
Better server state handling
Expose status (connecting, negotiating, ready)
Fire ServerReady and ServerConnected events
5年前
Chris Smith
c6b0471761
Raise ServerConnected event, track status nicely
5年前
Chris Smith
580a351dda
More documentation and tidying
5年前
Chris Smith
1eb9259e30
Document IrcClient, make lots of things internal.
5年前
Chris Smith
3686c5aa2d
Rework coroutines to make more sense.
5年前
Chris Smith
14a192379b
TLS support
5年前
Chris Smith
b0941e1047
Tag parsing support
5年前
Chris Smith
36c7acfe2a
Add rudimentary PRIVMSG handling
5年前
Chris Smith
f2e081e6c7
Introduce event handlers, refactor message processors.
5年前
Chris Smith
89ad92f562
Logging, ping handling
5年前
Chris Smith
c8eb193bde
Pass events back from processors
5年前
Chris Smith
2a707a728a
Add a message handler
5年前
Chris Smith
602c5e8b7a
Initial import, various supporting classes.
5年前