Skip to content

When ClientHello is split into multiple datagrams and arrives at once, don't send a full-sized ACK-only packet in response to the first one #639

@kazuho

Description

@kazuho

Recently, clients have started supporting PQ key exchange. ClientHello no longer fits in a single datagram, and the clients are sending two Initial packets at once.

At the moment, quicly sends an immediate ACK while processing the first datagram that creates a connection, even when it has received two datagrams at once (see quicly_accept). This behavior is sub-optimal, as it leads to wasting a full-sized datagram due to it carrying only an ACK.

When accepting a new connection, quicly should process all datagrams available before generating a response. In addition, it might wait for a very small amount of time (e.g., 1ms) to see if more packets are coming.

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