Skip to content

Support HTTP/1.1 Upgrade to raw TCP stream #353

Open
@krzyzanowskim

Description

@krzyzanowskim

I notice that my code fails after (fail if user tries writing bytes after request is sent #270) change.

Background:
I use this API https://docs.docker.com/engine/api/v1.41/#operation/ContainerAttach that hijack the connection and allow to send back body after the request is sent. The connection stays active and the server expects and accepts more data.

Problem:
After the change, HTTPHandler rejects further writes to body, thas is undesired in this scenario.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions