From 5e9e635fd9f0cf618236a7b125a6d827b3a0adf4 Mon Sep 17 00:00:00 2001 From: George MacRorie Date: Tue, 14 May 2024 17:35:36 +0100 Subject: [PATCH] fix(http3): handle streamStateSendAndReceiveClosed in onStreamStateChange Signed-off-by: George MacRorie (cherry picked from commit 7fcca6aafd2790cc236e19e09e460ec2767c414f) --- http3/conn.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/http3/conn.go b/http3/conn.go index 5f7d9f33e8b..401517d1b81 100644 --- a/http3/conn.go +++ b/http3/conn.go @@ -86,6 +86,8 @@ func (c *connection) onStreamStateChange(id quic.StreamID, state streamState, e isDone = d.SetReceiveError(e) case streamStateSendClosed: isDone = d.SetSendError(e) + case streamStateSendAndReceiveClosed: + isDone = true default: return }