Skip to content

fix(tcp): keep reply path open after client half-close - #95

Open
Shr3yash wants to merge 1 commit into
ai-openshell:mainfrom
Shr3yash:fix/tcp-half-close
Open

Shr3yash wants to merge 1 commit into
ai-openshell:mainfrom
Shr3yash:fix/tcp-half-close

Conversation

@Shr3yash

Copy link
Copy Markdown

Fixes ai-openshell/openshell#4511

TCP().Listen now half-closes the forward stream when the local client shuts down its write side, so the sandbox response still comes back. A copy error or a hard close still cancels the stream.

Signed-off-by: Shreyash Bhatkar <60093808+Shr3yash@users.noreply.github.com>

This branch has not been deployed

No deployments
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.

bug(sdk): TCP forward drops the response after the local client half-closes (Go Listen and TS forward)

1 participant