Cory Benfield
062989efd8
Correctly reset our state after .sendEnd ( #597 )
...
Motivation
In some cases, the last thing that happens in a request-response pair is
that we send our HTTP/1.1 .end. This can happen when the peer has sent
an early response, before we have finished uploading our body. When it
does, we need to be diligent about cleaning up our connection state.
Unfortunately, there was an edge in the HTTP1ConnectionStateMachine that
processed .succeedRequest but that did not transition the state into
either .idle or .closing. That was an error, and needed to be fixed.
Modifications
Transition to .idle when we're returning
.succeedRequest(.sendRequestEnd).
Result
Fewer crashes
2022-06-17 11:52:29 +01:00
..
2022-04-26 16:04:54 +02:00
2022-02-07 11:36:53 +01:00
2022-02-07 11:36:53 +01:00
2021-12-17 16:08:24 +01:00
2021-08-19 21:11:49 +02:00
2022-04-11 16:41:10 +02:00
2022-04-11 16:41:10 +02:00
2022-04-26 16:04:54 +02:00
2022-01-24 12:07:41 +00:00
2021-12-06 18:31:32 +01:00
2021-11-10 13:33:38 +01:00
2021-08-19 21:11:49 +02:00
2021-06-28 13:17:33 +02:00
2022-02-22 13:59:54 +01:00
2022-02-22 13:59:54 +01:00
2022-02-10 10:42:27 +01:00
2022-02-10 10:42:27 +01:00
2022-06-01 14:13:47 +01:00
2021-07-22 18:30:37 +02:00
2022-04-11 16:24:57 +02:00
2022-04-11 16:24:57 +02:00
2022-06-01 14:13:47 +01:00
2021-06-18 13:02:58 +01:00
2022-01-06 16:40:55 +00:00
2022-01-06 16:40:55 +00:00
2021-11-10 13:33:38 +01:00
2021-11-10 13:33:38 +01:00
2022-06-01 14:13:47 +01:00
2022-01-06 16:40:55 +00:00
2022-06-01 14:13:47 +01:00
2022-06-01 14:13:47 +01:00
2022-01-14 14:35:17 +01:00
2021-12-06 10:53:42 +01:00
2022-06-17 11:52:29 +01:00
2022-06-17 11:52:29 +01:00
2022-06-17 11:52:29 +01:00
2021-11-11 11:02:54 +01:00
2021-11-11 11:02:54 +01:00
2022-06-01 14:13:47 +01:00
2021-06-28 13:17:33 +02:00
2021-11-22 12:33:57 +01:00
2021-11-22 12:33:57 +01:00
2021-10-13 17:11:04 +02:00
2021-09-13 18:22:29 +02:00
2021-11-19 12:33:08 +01:00
2021-11-19 12:33:08 +01:00
2021-12-17 14:44:11 +01:00
2021-12-17 14:44:11 +01:00
2021-09-29 17:42:42 +02:00
2021-09-10 17:25:41 +02:00
2021-09-21 10:04:17 +02:00
2021-09-01 13:55:06 +02:00
2021-10-13 17:11:04 +02:00
2021-10-13 13:09:54 +01:00
2021-10-13 13:09:54 +01:00
2022-04-26 16:04:54 +02:00
2022-04-26 16:04:54 +02:00
2021-05-13 12:16:52 +01:00
2021-05-13 12:16:52 +01:00
2022-04-12 13:40:16 +02:00
2022-04-12 13:40:16 +02:00
2022-01-14 14:35:17 +01:00
2021-11-23 10:22:57 +01:00
2021-08-19 21:11:49 +02:00
2021-06-28 13:17:33 +02:00
2021-11-26 00:22:37 +01:00
2021-08-19 21:11:49 +02:00
2021-05-13 15:11:49 +01:00
2021-08-19 21:11:49 +02:00
2021-06-28 13:17:33 +02:00
2021-12-17 16:08:24 +01:00
2021-12-17 09:36:41 +01:00
2022-04-22 10:47:30 +02:00
2021-12-09 18:04:01 +01:00
2021-12-17 16:08:24 +01:00