Stream: git-wasmtime

Topic: wasmtime / issue #15215 wasi: should max_io_size limit p2...


view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 13:51):

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?

view this post on Zulip Wasmtime GitHub notifications bot (Nov 10 2026 at 16:38):

alexcrichton commented on issue #15215:

Yes I think it would be fine to remove MAX_DATAGRAM_SIZE and plumb the -Smax-io-size parameter down further. Possibly still capping the allocation-per-datagram at MAX_DATAGRAM_SIZE should -Smax-io-size exceed that.

view this post on Zulip Wasmtime GitHub notifications bot (Nov 12 2026 at 10:53):

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