mirror of
https://github.com/transmission/transmission.git
synced 2025-12-24 12:28:52 +00:00
* fix: ESPIPE "illegal seek" error while seeding
The root cause is createSocket returning `{}` instead of `TR_BAD_SOCKET`
when we have too many peers in use. This defaulted to fd 0, which wound
up closing stdin.
Commit also includes some const-correctness changes made while tracking
the problem down.
1.2 KiB
1.2 KiB