Skip to content

Connection: close header truncates simple GET request #926

@jpap

Description

@jpap

Steps to reproduce the problem

The following truncates the server response,

curl -v -H "Connection: close" http://www.websocket.org/css/bootstrap.css

whereas the following does not:

curl -v http://www.websocket.org/css/bootstrap.css

Expected behavior

The server should only close the connection once the full content-length is sent.

Actual behavior

The server truncates the content-length. ;-)

Logs/Wiresharks

See the above cURL commands.

Specifications

Unknown; whatever www.websocket.org is using.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugtriageNeeds to be triaged

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions