xia-chao edited issue #15215:
right now, with
-Smax-io-size=1024, a 4096-byte UDP datagram received on the p2 path returns all 4096 bytes.should max_io_size cap the receive, reject the datagram, or is it only for stream IO?
alexcrichton commented on issue #15215:
Yes I think it would be fine to remove
MAX_DATAGRAM_SIZEand plumb the-Smax-io-sizeparameter down further. Possibly still capping the allocation-per-datagram atMAX_DATAGRAM_SIZEshould-Smax-io-sizeexceed that.
xia-chao closed issue #15215:
right now, with
-Smax-io-size=1024, a 4096-byte UDP datagram received on the p2 path returns all 4096 bytes.should max_io_size cap the receive, reject the datagram, or is it only for stream IO?
Last updated: Nov 19 2026 at 20:05 UTC