Henrik Rydgård
949f773220
WebServer: bail out of an upload whose peer disconnected
...
Same root cause as the websocket spin this branch fixes, different symptom, so it
belongs with the InputSink EOF change rather than apart from it.
ReadBinaryUntilTerminator() returns 0 both when nothing has arrived yet and when
the peer is gone, and the multipart loop only exits on finding its terminator - so
a cancelled browser upload left a handler thread spinning forever. That also hangs
web server shutdown, since it joins its handler threads.
Now that InputSink reports EOF, ask it.
(Moved here from misc-correctness-fixes, which will be rebased on top of this.)
2026-08-31 01:02:46 +02:00
..
2026-08-29 23:23:57 +02:00
2026-08-28 21:38:58 +09:00
2026-08-28 22:36:59 +02:00
2026-08-20 00:54:26 +02:00
2026-08-24 10:21:27 +02:00
2026-08-11 20:12:10 +02:00
2026-08-30 00:37:05 +02:00
2026-08-24 10:58:35 +02:00
2026-08-29 23:40:48 +02:00
2026-08-30 00:37:05 +02:00
2026-06-02 11:15:08 +02:00
2025-05-25 22:21:37 +02:00
2026-08-24 11:12:59 +02:00
2026-08-24 09:53:37 +02:00
2026-08-24 09:53:37 +02:00
2026-06-27 13:02:47 +02:00
2026-06-27 13:02:47 +02:00
2026-08-29 23:40:48 +02:00
2026-08-29 23:40:48 +02:00
2026-05-17 21:28:31 +03:00
2026-02-02 09:25:49 +01:00
2026-07-27 18:37:26 +02:00
2026-06-16 10:57:52 +02:00
2026-06-16 10:57:52 +02:00
2026-08-29 23:40:48 +02:00
2026-08-29 23:40:48 +02:00
2026-08-24 11:12:59 +02:00
2026-08-24 11:12:59 +02:00
2026-08-24 09:53:37 +02:00
2026-08-18 10:59:08 +02:00
2026-08-18 09:32:04 +02:00
2026-08-20 00:29:00 +02:00
2026-04-24 14:41:47 +02:00
2026-08-30 01:18:37 +02:00
2026-08-30 01:18:37 +02:00
2026-02-19 00:35:33 +01:00
2025-10-20 21:28:38 +02:00
2026-05-11 11:45:04 +02:00
2026-03-05 23:05:35 +01:00
2026-06-03 18:49:10 +02:00
2026-08-21 10:01:07 +02:00
2026-08-11 22:27:44 +02:00
2026-08-11 20:14:01 +02:00
2025-03-27 14:26:48 +01:00
2026-08-18 13:42:14 +02:00
2026-08-18 13:42:14 +02:00
2026-08-17 13:11:16 +02:00
2026-08-21 10:32:22 +02:00
2026-08-13 11:36:42 +02:00
2026-08-12 14:06:16 +02:00
2026-08-24 10:58:34 +02:00
2026-07-29 16:27:33 +02:00
2026-08-11 15:43:48 +02:00
2026-08-24 09:53:37 +02:00
2026-07-28 00:16:12 +02:00
2026-07-27 18:37:28 +02:00
2026-08-16 13:33:26 +02:00
2026-05-19 11:07:07 +02:00
2026-05-19 12:19:40 +02:00
2026-05-19 11:58:01 +02:00
2026-06-10 10:41:30 +02:00
2026-02-13 12:34:26 +01:00
2026-08-24 09:53:37 +02:00
2026-08-15 18:31:20 +02:00
2026-02-05 09:44:42 +01:00
2026-08-20 00:40:41 +02:00
2026-08-20 00:40:41 +02:00
2026-08-31 01:02:46 +02:00
2026-08-16 23:09:12 +02:00