Skip to content

Fix/empty long running#646

Draft
maxammann wants to merge 2 commits into
containers:mainfrom
maxammann:fix/empty-long-running
Draft

Fix/empty long running#646
maxammann wants to merge 2 commits into
containers:mainfrom
maxammann:fix/empty-long-running

Conversation

@maxammann

Copy link
Copy Markdown

I noticed that any tasks taking longer than 5s were truncated.

I set this here now to 20 but this is not the proper fix.

Opening this so others know this bug exists. I'm considering trying to switch to docker-py

maxammann and others added 2 commits May 13, 2026 11:04
SSHSocket.send()/recv() were writing to subprocess pipes instead of the
real forwarded unix socket established by connect(). Additionally,
exec_run() now sends Connection: Upgrade headers so the server returns
a 101 response, allowing multiplexed output to be read directly from
the raw socket. Without the upgrade, http.client closes the connection
before the body can be read because no Content-Length or
Transfer-Encoding is set.

Fixes containers#506

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Max Ammann <max.ammann@zoo.dev>
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.

1 participant