netty5/transport/src/main/java/io/netty
Norman Maurer 076d4ed514 [#4205] Correctly set EPOLLOUT flag whe writeBytes(...) was not able to write everything
Motivation:

writeBytes(...) missed to set EPOLLOUT flag when not all bytes were written. This could lead to have the EpollEventLoop not try to flush the remaining bytes once the socket becomes writable again.

Modifications:

- Move setting EPOLLOUT flag logic to one point so we are sure we always do it.
- Move OP_WRITE flag logic to one point as well.

Result:

Correctly try to write pending data if socket becomes writable again.
2015-09-16 07:30:17 +02:00
..
bootstrap ServerBootstrap.handler(...) will add handler before Channel is registered. 2015-07-07 08:44:13 +02:00
channel [#4205] Correctly set EPOLLOUT flag whe writeBytes(...) was not able to write everything 2015-09-16 07:30:17 +02:00