Problem:
Currently, after dropping the Endpoint the following is observed:
- tx operations succeed
- rx operations never return from an .await
This is concerning because Endpoint drop can happen particularly
due to IO implementation returning an error, which makes the current
behaviour unexpected and hard to handle.
The expected behaviour is:
- tx operations return an error
- rx operations return an error
Solution:
Close all streams on Endpoint drop
- Does this change what s2n-quic sends over the wire? --> No
- Does this change any public APIs? --> No
Problem:
Currently, after dropping the Endpoint the following is observed:
This is concerning because Endpoint drop can happen particularly
due to IO implementation returning an error, which makes the current
behaviour unexpected and hard to handle.
The expected behaviour is:
Solution:
Close all streams on Endpoint drop