Skip to content

Conversation

@ahaeber
Copy link

@ahaeber ahaeber commented Jun 11, 2025

Use correct headers and values to request connection upgrade for hijacking streams, ref
https://docs.docker.com/reference/api/engine/version/v1.50/#tag/Container/operation/ContainerAttach.

Also modify the Connection header to not close unless specifically requested.

Use correct headers and values to request connection upgrade for
hijacking streams, ref
<https://docs.docker.com/reference/api/engine/version/v1.50/#tag/Container/operation/ContainerAttach>.

Also modify the `Connection` header to not close unless specifically
requested.

Signed-off-by: Andreas Häber <[email protected]>
@HofmeisterAn HofmeisterAn changed the title Set correct headers to request connection upgrade #25 fix: Don't set the Connection header to 'close' if it is already set Jun 11, 2025
@HofmeisterAn HofmeisterAn added the bug Something isn't working label Jun 11, 2025
Copy link
Collaborator

@HofmeisterAn HofmeisterAn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@HofmeisterAn HofmeisterAn merged commit ec08ba5 into testcontainers:main Jun 11, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants