Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tcp: fix assertion failure on connection reset
The connection reset code posted an exception on the _data_received promise to break a waiter (if any), but left the optional<promise<>> engaged. This caused the connection destructor to attempt to post a new exception on the same promise, which is not legal. Fix by disengaging the optional promise, and give the same treatment to _all_data_acked_promise.
- Loading branch information