Files
RedBear-OS/netstack
Red Bear OS b869651768 review: fix TcpScheme missing from initial event array
CRITICAL: main.rs all[] initial event array was missing TcpScheme.
This meant TCP scheme events that arrived before the event loop
started processing would be delayed until the event queue fired.
In practice, TCP connections could stall at startup.

Note: main.rs also already subscribed TcpScheme - only the initial
 array was incomplete, not the event queue subscription.

ALSO FIXED:
- scheme/socket.rs handle_block: read/write timeout was swapped.
  Op::Read was using write_timeout and Op::Write was using
  read_timeout (SO_RCVTIMEO/SO_SNDTIMEO semantics).

- netcfg/mod.rs route/rm: now accepts 'default' keyword same as
  route/add does. Writing 'default' to route/rm deletes the
  0.0.0.0/0 default route, consistent with parse_route behavior.

All 29 existing tests still pass.
2026-07-09 00:55:24 +03:00
..