netty5/transport-native-epoll/src/test/java/io
Norman Maurer c21067aab6 Directly receive remote address when call accept(...)
Motivation:

There is a small race in the native transport where an accept(...) may success but a later try to obtain the remote address from the fd may fail is the fd is already closed.

Modifications:

Let accept(...) directly set the remote address.

Result:

No more race possible.
2015-02-23 14:54:27 +01:00
..
netty/channel/epoll Directly receive remote address when call accept(...) 2015-02-23 14:54:27 +01:00