Commit graph

24 commits

Author SHA1 Message Date
Ariadne Conill
3fc0499e77
Mailmap and copyright update for Ariadne 2021-06-01 12:40:02 -04:00
Ed Kellett
a6f63a829e
Innovation by sed 2020-10-15 15:52:41 +01:00
Simon Arlott
3ec3b44c7e
wsockd: avoid clang static analysis warning
Don't set `x = 0` twice.
2017-07-29 22:39:53 +01:00
Simon Arlott
23e722ea21
wsockd: Initialise ws_frame_hdr_t before using it
Outgoing messages have uninitialised data from the stack in the 3 reserved
bits of the opcode_rsv_fin value.
2017-07-29 22:20:03 +01:00
Aaron Jones
e4196b2feb
Fix regression introduced by commit 2f361bfc 2016-06-01 21:04:45 +00:00
Aaron Jones
2f361bfc49
wsockd: various fixes
* Use correct sign for comparing data lengths
* Don't return a void statement in a void function
* Remove unused functions and macros
2016-06-01 20:23:13 +00:00
staticfox
1729f46eab
authd: Avoid negative array indices 2016-04-22 23:06:42 -04:00
Elizabeth Myers
f956cb0f1f Use rb_* versions of nonportable string functions 2016-04-05 05:39:59 -05:00
William Pitcock
5902547a10 wsockd: use text frames 2016-04-03 15:15:12 -05:00
William Pitcock
dab623671c wsockd: set FIN attribute on all frames, we don't fragment 2016-04-03 01:40:52 -05:00
William Pitcock
c90e5c0884 wsockd: implement plain linebuf draining, finishing this off (closes #78) 2016-04-03 00:10:24 -05:00
William Pitcock
d3f01ce7bf wsockd: implement reading of small and large frames (but not huge frames) 2016-04-03 00:10:24 -05:00
William Pitcock
c3780ae27f wsockd: try to flush ircd-side recvq when we call close_conn()
this is so that a websocket client may receive it's ERROR message if available
2016-04-02 20:40:17 -05:00
William Pitcock
7428c4e07e wsockd: write short frames and long frames using their preferred wire formats 2016-04-02 20:32:32 -05:00
William Pitcock
e688bcbdaf wsockd: more progress on output 2016-04-02 19:59:16 -05:00
William Pitcock
839f2fa23e wsockd: provide websocket wire protocol structs 2016-04-02 18:56:37 -05:00
William Pitcock
2d89c9ffc1 wsockd: further win32 fixes 2016-04-02 18:28:53 -05:00
William Pitcock
370528047c wsockd: add win32 strcasestr() 2016-04-02 18:19:15 -05:00
William Pitcock
f297042b0c wsockd: more support infrastructure for websockets 2016-04-02 18:15:13 -05:00
William Pitcock
1160f6c9bf wsockd: implement websocket handshake part 2016-04-02 17:07:00 -05:00
William Pitcock
1c8c63cbe2 wsockd: various updates 2016-04-02 15:38:32 -05:00
William Pitcock
05e0aa9ac9 wsockd: add some stub i/o code 2016-03-26 05:30:52 -05:00
William Pitcock
1fcba37404 wsockd: conn_t.stream is not needed 2016-03-26 01:30:23 -05:00
William Pitcock
caebeeca95 wsockd: add skeleton for future websockets helper (ref #78) 2016-03-25 21:04:22 -05:00