Files
cpp-httplib/test
yhirose e1bc9c0140 Fix keep-alive parking with a zero timeout and a waiting backlog
- A keep-alive timeout of 0 closed every new connection before its first
  request. The wait now has the same 10 ms floor as keep_alive().
- An established connection in the backlog could wait for an unrelated
  event although the queue had room. A worker woke the loop when it
  finished a job, before ThreadPool made room by taking the next one, and
  the loop announced the backlog only after the failed try. A worker now
  wakes the loop when it starts a job, the loop announces the backlog
  before a second try, and retries it every 10 ms while it is not empty,
  for task queues that make room later.
- A new connection could take the room the backlog waited for. It is now
  turned away while the backlog is not empty.
- A failed arm() of the listening socket stopped accepting for good, and
  one of a connection left it unwatched. The first is retried after 10 ms,
  the second closes the connection.
2026-11-21 13:46:34 -05:00
..
2021-09-11 14:26:48 -04:00
2021-09-11 14:26:48 -04:00
2017-12-29 22:34:59 -05:00
2013-07-04 18:18:52 -04:00
2024-11-16 11:14:13 -05:00