tokio-rs / turmoil

Add hardship to your tests
MIT License
792 stars 50 forks source link

Fix ephemeral port leak upon tcp stream shutdown #145

Closed brightcoder closed 1 year ago

brightcoder commented 1 year ago

Do not send a Fin upon the write half drop if the stream is already shutdown but still perform the socket pair clean up.