-
Notifications
You must be signed in to change notification settings - Fork 546
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
feat: add support for Timeout and Trailers #3854
base: main
Are you sure you want to change the base?
Conversation
@@ -278,6 +283,7 @@ function shouldSendContentLength (method) { | |||
} | |||
|
|||
function writeH2 (client, request) { | |||
const requestTimeout = request.bodyTimeout ?? client[kBodyTimeout] |
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.
I was quite unsure if using the bodyTimeout
for this, and adding a new one. But given the nature of the timeout, using the body's one should be enough.
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 once windows passes
This relates to...
Rationale
Changes
Features
Bug Fixes
Breaking Changes and Deprecations
Status