http2: make maximum invalid frames and maximum rejected streams configurable#30534
Closed
lundibundi wants to merge 6 commits intonodejs:masterfrom
Closed
http2: make maximum invalid frames and maximum rejected streams configurable#30534lundibundi wants to merge 6 commits intonodejs:masterfrom
lundibundi wants to merge 6 commits intonodejs:masterfrom
Conversation
Collaborator
ZYSzys
reviewed
Nov 19, 2019
Member
Seem like we actually don't have a dedicated test for argument validation of Maybe add a new test and name it as |
addaleax
approved these changes
Nov 19, 2019
devnexen
approved these changes
Nov 19, 2019
53d5a16 to
f132068
Compare
Member
Author
|
Added dedicated test for |
Collaborator
* use new maxSessionInvalidFrames to lower the needed frames * slow down requests to generate less redundant after-session-close requests
f132068 to
b9c679c
Compare
Collaborator
Member
Author
|
(nothing changed, force pushed to resolve conflicts) |
Member
Author
|
@vsemozhetbyt done, thanks. |
Collaborator
Collaborator
Collaborator
3 tasks
Merged
BridgeAR
added a commit
that referenced
this pull request
Dec 3, 2019
Notable changes:
* http:
* Make maximum header size configurable per-stream or per-server
(Anna Henningsen) #30570
* http2:
* Make maximum tolerated rejected streams configurable (Denys
Otrishko) #30534
* Allow to configure maximum tolerated invalid frames (Denys
Otrishko) #30534
* wasi:
* Introduce initial WASI support (cjihrig)
#30258
PR-URL: #30774
BridgeAR
added a commit
that referenced
this pull request
Dec 3, 2019
Notable changes:
* fs:
* Reworked experimental recursive `rmdir()` (cjihrig)
#30644
* The `maxBusyTries` option is renamed to `maxRetries`, and its
default is set to 0. The `emfileWait` option has been removed,
and `EMFILE` errors use the same retry logic as other errors.
The `retryDelay` option is now supported. `ENFILE` errors are
now retried.
* http:
* Make maximum header size configurable per-stream or per-server
(Anna Henningsen) #30570
* http2:
* Make maximum tolerated rejected streams configurable (Denys
Otrishko) #30534
* Allow to configure maximum tolerated invalid frames (Denys
Otrishko) #30534
* wasi:
* Introduce initial WASI support (cjihrig)
#30258
PR-URL: #30774
BridgeAR
added a commit
that referenced
this pull request
Dec 3, 2019
Notable changes:
* fs:
* Reworked experimental recursive `rmdir()` (cjihrig)
#30644
* The `maxBusyTries` option is renamed to `maxRetries`, and its
default is set to 0. The `emfileWait` option has been removed,
and `EMFILE` errors use the same retry logic as other errors.
The `retryDelay` option is now supported. `ENFILE` errors are
now retried.
* http:
* Make maximum header size configurable per-stream or per-server
(Anna Henningsen) #30570
* http2:
* Make maximum tolerated rejected streams configurable (Denys
Otrishko) #30534
* Allow to configure maximum tolerated invalid frames (Denys
Otrishko) #30534
* wasi:
* Introduce initial WASI support (cjihrig)
#30258
PR-URL: #30774
targos
pushed a commit
that referenced
this pull request
Jan 13, 2020
* use new maxSessionInvalidFrames to lower the needed frames * slow down requests to generate less redundant after-session-close requests PR-URL: #30534 Fixes: #30505 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
2 tasks
BethGriggs
pushed a commit
that referenced
this pull request
Feb 6, 2020
* use new maxSessionInvalidFrames to lower the needed frames * slow down requests to generate less redundant after-session-close requests PR-URL: #30534 Fixes: #30505 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: David Carlier <devnexen@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Merged
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
http2: replace direct array usage with struct for js_fields_
http2: allow to configure maximum tolerated invalid frames
test: update and harden http2-reset-flood
requests
http2: make maximum tolerated rejected streams configurable
Closes: #30505
This should also decrease the flakiness of
test-http2-reset-flood.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAlso, do we have a dedicated test for argument validation of
createServer? I'm not sure where to put them./cc @nodejs/http2