mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-07-29 08:09:59 +00:00
TUN-5593: Read full packet from UDP connection, even if it exceeds MTU of the transport. When packet length is greater than the MTU of the transport, we will silently drop packets (for now).
This commit is contained in:
@@ -9,5 +9,5 @@ type transport interface {
|
||||
// ReceiveFrom reads the next datagram from the transport
|
||||
ReceiveFrom() (uuid.UUID, []byte, error)
|
||||
// Max transmission unit to receive from the transport
|
||||
ReceiveMTU() uint
|
||||
MTU() uint
|
||||
}
|
||||
|
Reference in New Issue
Block a user