You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
http: fix crash for sync write errors during header parsing
Fix a crash that occurs when `parser.finish()` is called during
`parser.execute()`. In this particular case, this happened because
a 100 continue response is a place in which `.end()` can be called
which can in turn lead to a write error, which is emitted
synchronously, thus inside the outer `parser.execute()` call.
Resolve that by delaying the `parser.finish()` call until after
the `parser.execute()` call is done.
This only affects v12.x, because on later versions, errors are not
emitted synchronously.
PR-URL: #34251Fixes: #15102Fixes: #34016
Reviewed-By: Fedor Indutny <[email protected]>
Reviewed-By: Gerhard Stöbich <[email protected]>
0 commit comments