netty5/transport
Norman Maurer 8ef5dbc24b
Only execute the close once the already added write operations completes (#10538)
Motivation:

We need to be careful that we only execute the close(...) once the write
operation completes as otherwise we may close the underlying socket too
fast and also the writes

Modifications:

Keep track of if we need to delay the close or not and if so execute it
once the write completes

Result:

No more test failures
2020-09-09 11:42:37 +02:00
..