Commit 6c83ee3
authored
Handle request stream ending before receiving request end (#54)
Motivation:
In #44, we introduced a `fatalError` in
`HTTPRequestConcludingAsyncReader` when the request stream ends before
the request end part is received. This is incorrect behaviour, and the
server should not fatal error in this scenario.
Modifications:
Replaced the `fatalError` with a `throw`.
Result:
The server no longer fatal errors when the request stream ends before
the request end part is received.1 parent 88b16ef commit 6c83ee3
2 files changed
Lines changed: 25 additions & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
95 | 95 | | |
96 | 96 | | |
97 | 97 | | |
98 | | - | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
0 commit comments