Skip to content

Don't close a keep-alive connection on 204 (No Content) Response from server #1242

Closed
@lumasepa

Description

@lumasepa

Right now Hyper closes the connection when the server responds with status code 204 and the connection have the keep-alive header and the client have the keep-alive setting. This is a problem because even if the server says that there is no content the client may want to request more resources

Finagle had the same problem, for reference twitter/finagle#563.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-clientArea: client.C-bugCategory: bug. Something is wrong. This is bad!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions