]> git.sesse.net Git - cubemap/commit
Fix timeout behavior with persistent connections.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 22 Apr 2018 14:34:00 +0000 (16:34 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sun, 22 Apr 2018 14:34:00 +0000 (16:34 +0200)
commitf2e7dbf218365e3f47b942ea999796b2724ccc24
tree0bdda9bf0b2e29a56ddb51dda9a2cd90a12460e3
parent8fac32c4f3fde7bd2e0305dabe665187a14c1a1b
Fix timeout behavior with persistent connections.

We'd either never time out clients (if the expiry check happened
while they were receiving a request) or time them out too soon
(based on the connection time instead of the time of last request end).
client.cpp
client.h
server.cpp
server.h