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
{{ message }}
Repository navigation
onCodecLowLevelReset will be called multiple time for same stream #42264
If you are reporting any crash or any potential security issue, do not
open an issue in this repo. Please report the issue via emailing [email protected] where the issue will be triaged appropriately.
Title: One line description
Description:
What issue is being seen? Describe what should be happening instead of
the bug, for example: Envoy should not crash, the expected value isn't
returned, etc.
After the #37784, the onCodecLowLevelReset will be called multiple for non-zero code.
First, it will be called at:
void ConnectionImpl::StreamImpl::resetStreamWorker(StreamResetReason reason) {
if (stream_id_ == -1) {
// Handle the case where client streams are reset before headers are created.
// For example, if we send local reply after the stream is created but before
// headers are sent, we will end up here.
ENVOY_CONN_LOG(trace, "Stream {} reset before headers sent.", parent_.connection_, stream_id_);
Status status = parent_.onStreamClose(this, 0);
ASSERT(status.ok());
return;
}
if (codec_callbacks_) {
codec_callbacks_->onCodecLowLevelReset();
}
parent_.adapter_->SubmitRst(stream_id_,
static_cast<http2::adapter::Http2ErrorCode>(reasonToReset(reason)));
}
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
Activity
wbpcode commentedon Nov 26, 2025
cc @RyanTheOptimist cc @yanavlasov
wbpcode commentedon Nov 26, 2025
Here is an unit have showed the weird behavior:
envoy/test/common/http/http2/codec_impl_test.cc
Line 990 in a0f2cfb
github-actions commentedon Dec 26, 2025
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
github-actions commentedon Jan 2, 2026
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.