Skip to content

Zerocopy Data Receiving #165

@HMaker

Description

@HMaker

socket.recv_into() accepts a Python writable buffer to receive socket data without any copy. To take advantage of that asyncio have added a Protocol interface for buffered streaming protocols suitable for high performance network applications.

I think h11.Connection could expose its buffer like asyncio.BufferedProtocol does.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions