about summary refs log tree commit diff
path: root/url.c
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-15 16:59:24 -0400
committerJune McEnroe <june@causal.agency>2021-06-15 16:59:24 -0400
commitd2bec49931decfd893c03c28382816cac28ed59e (patch)
tree40c51628950735269b81bb3181284cce0ea57414 /url.c
parentOpenBSD: Simplify promise creation after seprintf() introduction (diff)
downloadcatgirl-d2bec49931decfd893c03c28382816cac28ed59e.tar.gz
catgirl-d2bec49931decfd893c03c28382816cac28ed59e.zip
Send PINGs when server is quiet and die if no response
Every time we receive from the server, reset a timer. The first
time the timer triggers, send a PING. The second time the timer
triggers, die from ping timeout.

I'm not sure about these two intervals: 2 minutes of idle before a
PING, 30s for the server to respond to the PING.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions
a>June McEnroe 2019-02-17Add hi -f html -o anchor for line number linksJune McEnroe 2019-02-17Simplify temp trap in upJune McEnroe 2019-02-17Add line numbers to hiJune McEnroe 2019-02-17Always split spans after newlinesJune McEnroe 2019-02-15Color format specifiers light cyan in vimJune McEnroe 2019-02-15Highlight Interp as yellowJune McEnroe 2019-02-15Highlight strings in sh command substitutionsJune McEnroe 2019-02-15Add nmap gpJune McEnroe 2019-02-14Avoid newline when copying URL to pasteboardJune McEnroe 2019-02-13Add forgotten "sixth" book of H2G2June McEnroe