Repository navigation
Conversation
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
|
CC @envoyproxy/runtime-guard-changes: FYI only for changes made to |
Signed-off-by: Boteng Yao <[email protected]>
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
|
/assign @wbpcode |
|
There are more test failures related to how RST is handled. /wait |
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
Signed-off-by: Boteng Yao <[email protected]>
mattklein123
left a comment
There was a problem hiding this comment.
This is a very large behavior change and it's not really clear to me that it's the right one. Can you provide more information on the rationale?
/wait
|
This pull request has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in 7 days if no further activity occurs. Please feel free to give a status update now, ping for review, or re-open when it's ready. Thank you for your contributions! |
Signed-off-by: Boteng Yao <[email protected]>
| response_encoder_->encodeData(body, true); | ||
| EXPECT_CALL(server_stream_callbacks_, onResetStream(StreamResetReason::LocalReset, _)); | ||
| EXPECT_CALL(server_codec_event_callbacks_, onCodecLowLevelReset()); | ||
| EXPECT_CALL(server_codec_event_callbacks_, onCodecLowLevelReset()).Times(2); |
There was a problem hiding this comment.
I didn't get this when I am trying to understand the whole change. The onCodecLowLevelReset() obviously should be called once. If the test is correct and match our actual behaivor, then that means our code has bug. if the test doesn't match the actual behavior, then that means there is a test bug. Orz
There was a problem hiding this comment.
This was introduced from #37784 I believe, and in general it makes sense to have a callback when getting the RST_STREAM from codec, not only the active reset, then I am not sure if this is a bug or to fix some bug if the onCodecLowLevelReset is called and can be called multiple times.
There was a problem hiding this comment.
Yeah. I just figured out it and have created an issue. I think it's a bug and have made a workaround within my PR.
|
There are some issues that needs to sort out that I didn't put enough time on it, working with @wbpcode for this change. Converting to draft now. |
…42269) Commit Message: HTTP2: change the default reset code from no error to internal error Additional Description: This PR makes Envoy generate less NO_ERROR from the codec when there is a stream reset to close #36200. https://httpwg.org/specs/rfc9113.html#RST_STREAM https://httpwg.org/specs/rfc9113.html#ErrorCodes Thanks so much for the great work from @botengyao in the #40729 Risk Level: mid. Testing: unit + integration Docs Changes: Release Notes: Platform Specific Features: [Optional Runtime guard:] [Optional Fixes #Issue] [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] --------- Signed-off-by: wbpcode <[email protected]> Signed-off-by: code <[email protected]>
…nvoyproxy#42269) Commit Message: HTTP2: change the default reset code from no error to internal error Additional Description: This PR makes Envoy generate less NO_ERROR from the codec when there is a stream reset to close envoyproxy#36200. https://httpwg.org/specs/rfc9113.html#RST_STREAM https://httpwg.org/specs/rfc9113.html#ErrorCodes Thanks so much for the great work from @botengyao in the envoyproxy#40729 Risk Level: mid. Testing: unit + integration Docs Changes: Release Notes: Platform Specific Features: [Optional Runtime guard:] [Optional Fixes #Issue] [Optional Fixes commit #PR or SHA] [Optional Deprecated:] [Optional [API Considerations](https://github.com/envoyproxy/envoy/blob/main/api/review_checklist.md):] --------- Signed-off-by: wbpcode <[email protected]> Signed-off-by: code <[email protected]> Signed-off-by: Gustavo <[email protected]>
NO_ERRORfrom the codec when there is a remote resetINTERNAL_ERRORgenerationhttps://httpwg.org/specs/rfc9113.html#RST_STREAM
https://httpwg.org/specs/rfc9113.html#ErrorCodes
Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
Fixes: #36200
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]