Commit 20b1bd7
committed
fix(mmserver): handle EAGAIN during sendmmsg
This is not actually sufficient for error handling in sendmmsg. The
following cases are unconsidered:
- Only some of the buffer are sent
- Only some of one of the iovecs is sent
We'll handle this when we migrate to rustix's sendmmsg, which is waiting
on the following PRs:
- bytecodealliance/rustix#1171
- bytecodealliance/rustix#1409
Note that those cases should be gracefully-ish handled by FEC and the
protocol (they're equivalent to dropped or biffed packets).1 parent bc36986 commit 20b1bd7
1 file changed
Lines changed: 14 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
53 | 59 | | |
54 | 60 | | |
55 | 61 | | |
| |||
0 commit comments