Shivaram Lingamneni
bb5276553d
initial UBAN implementation
3 yıl önce
Shivaram Lingamneni
db81b15acb
initial work on #1483
Add the new utf8-only cap, disallow non-utf8 when websockets are enabled
3 yıl önce
Shivaram Lingamneni
c78253fd93
more memory-efficient implementation of line reading
3 yıl önce
Shivaram Lingamneni
aad39024b9
mitigate a potential DoS against websocket listeners
Websocket listeners would process an arbitrary number of invalid
(non-text or blank) messages without throttling. This imposes fakelag
on such messages by treating them as blank lines.
3 yıl önce
Shivaram Lingamneni
15c54e80de
clean up some error handling
3 yıl önce
Shivaram Lingamneni
6a2fba9812
make it easier to patch out the maximum line length
3 yıl önce
Shivaram Lingamneni
8cadc7340a
don't trim line endings in IRCStreamConn
Doesn't help if the line ends with regular \n only,
and the parser has to account for \r and \n anyway
4 yıl önce
Shivaram Lingamneni
a4f9e08a85
fix #1151
4 yıl önce
Shivaram Lingamneni
c92192ef48
review fixes; add submatch support to glob
4 yıl önce
Shivaram Lingamneni
3dc5c8de78
more work on websocket support
4 yıl önce