usbip-rs/lib
Davíð Steinn Geirsson 9250c062aa fix: prevent idle disconnect by retrying interrupt IN and skipping
read timeout while URBs are in-flight

- Interrupt IN transfers now retry with 1s intervals (up to 5 min)
  instead of returning an error on timeout. Previously, nusb's 1s
  timeout caused a cancelled transfer error (-ENOENT) which told the
  kernel the endpoint was intentionally shut down, killing HID.
- Release the nusb Interface Mutex before blocking on interrupt and
  ISO transfers so other URBs on the same interface aren't starved.
- URB read timeout now skips when in-flight URBs exist (e.g. pending
  interrupt transfers), preventing false idle disconnects.
- Use appropriate timeouts per transfer type: interrupt=5min,
  isochronous=5s, control/bulk=1s.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-22 13:04:40 +00:00
..
examples fix: harden protocol handling against panics and malicious input 2026-03-22 10:41:54 +00:00
src fix: prevent idle disconnect by retrying interrupt IN and skipping 2026-03-22 13:04:40 +00:00
Cargo.toml feat: add isochronous transfer support and fix host passthrough 2026-03-22 10:42:08 +00:00