Skip to content

Add missing continue after stream failure#223

Merged
fuweid merged 1 commit intocontainerd:mainfrom
dmcgowan:fix-stream-failure
Mar 4, 2026
Merged

Add missing continue after stream failure#223
fuweid merged 1 commit intocontainerd:mainfrom
dmcgowan:fix-stream-failure

Conversation

@dmcgowan
Copy link
Member

@dmcgowan dmcgowan commented Mar 4, 2026

After the send status is called, a stream will be closed and cannot do more processing on the stream, including further send status.

This also fixes a panic when a streamid sent to the server is not found, the send status will return and then panic attempting to convert nil to a stream handler. This can happen when a server initiates a close when a client is still sending data.

After the send status is called, a stream will be closed and cannot do
more processing on the stream, including further send status.

This also fixes a panic when a streamid sent to the server is not found,
the send status will return and then panic attempting to convert nil to
a stream handler.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@fuweid fuweid merged commit 9db9fcc into containerd:main Mar 4, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants