Skip to content

HTTP client body data sinks copy data #2783

Open
@xemul

Description

@xemul

Recently, the sink impls were fixed not to crash in case caller tries to use zero-copy writing (52eb058), but the chunked and content-length sinks both use fallback implementation of put(net::packet) methods. The fallback, in turn, calls the put(temporary_buffer<>) one which, in case of http body sinks, both call _out.write(buf.get(), buf.size()) and copy the buffer data into socket stream

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