summary refs log tree commit diff
path: root/dispatch.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-11-13 19:57:51 -0500
committerJune McEnroe <june@causal.agency>2020-11-13 21:56:46 -0500
commitbba1229c863469f7b3541d525af1f0e07e1ccdd1 (patch)
tree3877813ed2622b92b549fc27434a95aee650047d /dispatch.c
parentUse a fixed size pollfd array in calico (diff)
downloadpounce-bba1229c863469f7b3541d525af1f0e07e1ccdd1.tar.gz
pounce-bba1229c863469f7b3541d525af1f0e07e1ccdd1.zip
Wait for POLLIN to do client tls_handshake
Otherwise a client could cause pounce to hang (since the sockets are
left blocking) by opening a connection without handshaking! Oops,
that's pretty bad. Since the sockets are still blocking, a hang can
still be caused by a client sending a partial handshake then waiting.
More fixes to follow.

pounce is slightly protected from this when used with calico, as it
applies a timeout to waiting for the ClientHello.
Diffstat (limited to 'dispatch.c')
0 files changed, 0 insertions, 0 deletions
18 23:17:45 -0500'>2019-12-18Customize cgit CSSJune McEnroe 2019-12-18Use :target rather than :focus pseudo-classJune McEnroe 2019-12-18Copy cgit auxiliary binaries properlyJune McEnroe 2019-12-18Add git.causal.agency cgit configJune McEnroe 2019-12-18Bail from hi if input is binaryJune McEnroe 2019-12-16Post "cgit setup"June McEnroe