Files
Cory Benfield 10e0e17dd4 Resolve exclusivity violation on connection teardown. (#217)
Motivation:

When we're failing promises on channelInactive, we do so while holding
the write buffer mutably. This means that if anyone calls write() on us,
we'll explode, as we enqueue the write into the buffer.

Modifications:

- Rewrote the close loop to not hold the write buffer mutably.
- Added a regression test.

Result:

No crashes in production.
2020-05-14 18:13:27 +01:00
..
2019-03-01 17:25:33 +00:00