v0.1.0-alpha.8
Pre-release
Pre-release
What's Changed
In this situation, utp-rs was continuing to retry after a peer had hung up and was sending RESETs in response:
- the peer ends a connection early (without acknowledging our FIN)
- the peer forgets about our connection
- utp-rs retries a FIN
- the peer doesn't recognize the connection, choosing the connection ID as if utp-rs were starting a connection (even though the peer had started it originally)
- the peer would send a RESET to a calculated connection ID that utp-rs is not expecting
- utp-rs drops the RESET packet, rather than routing it to the connection that sent the FIN
- utp-rs resends FIN until the connection times out
After this fix, utp-rs receives the RESET and ends the connection (with a failure).
Full Changelog: v0.1.0-alpha.7...v0.1.0-alpha.8