-
Notifications
You must be signed in to change notification settings - Fork 611
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: don't check socket writing on header timeout #1515
Conversation
@@ -889,10 +889,8 @@ function onParserTimeout (parser) { | |||
|
|||
/* istanbul ignore else */ | |||
if (timeoutType === TIMEOUT_HEADERS) { | |||
if (!socket[kWriting]) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The server side does not consume and client socket is always writing state.
Codecov Report
@@ Coverage Diff @@
## main #1515 +/- ##
==========================================
+ Coverage 94.63% 94.66% +0.02%
==========================================
Files 50 50
Lines 4589 4589
==========================================
+ Hits 4343 4344 +1
+ Misses 246 245 -1
Continue to review full report at Codecov.
|
6c5abc1
to
76a2582
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
No description provided.