hermit-os / hermit-rs

Hermit for Rust.
Apache License 2.0
1.69k stars 86 forks source link

UDP capped at 1472 Bytes #606

Closed CarlWachter closed 4 months ago

CarlWachter commented 4 months ago

Description

Using the netbench benchmark I noticed that UDP packets above 1472 Bytes cannot be received. (I made a udp version of netbench)

This behaviour does not occur when running both the server and client as linux applications. This rules out an issue with the netbench code, in my opinion, since the Linux and Hermit versions run on the same code.

Furthermore this can also be seen in the testudp example code.

How to reproduce issue

  1. Add an output for the number of received bytes to testudp
  2. Connect with socat
  3. Send 1472 Bytes
  4. Send 1473 Bytes
CarlWachter commented 4 months ago

@jounathaen