Skip to content

DATAGRAM frame too large error #38

@derrandz

Description

@derrandz

Hi,

In one my test cases where I am trying to send large TCP/UDP packets over the http3 raw quic connection to the other side, I get this when I try to write the packet to the connection

DATAGRAM frame too large

The actual packet size I was trying to send was 1440.

Also after reading through the code, the trigger case that is supposed to be executed in case of a large datagram is not being executed because of

if errors.Is(err, &quic.DatagramTooLargeError{}) {

because

  errors.Is(&quic.DatagramTooLargeError{MaxDatagramPayloadSize: 1280}, &quic.DatagramTooLargeError{})

is always false. So the icmp packet that's supposed to return on such case is not being returned. Is that the intended case or is there another case where MaxDatagramPayloadSize = 0 thus the if succeeds?

Waiting for the fix.

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