Skip to content

Consider enabling BlockBuffering or exposing buffering option #149

@dylex

Description

@dylex

Currently http connections are opened as unbuffered, so each individual call to connectionWrite results in a packet on the wire (as I noticed looking at tcpdumps). Especially for RequestBodyStreamChunked this results in a lot of overhead per chunk. It seems like it would be safe and result in much better performance to simply switch the connection to block buffered and do an explicit flush after the entire request is sent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions