netty5/transport-native-epoll/src
Norman Maurer 88dae15bc2 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:58 +01:00
..
main Directly receive remote address when call accept(...) 2015-02-23 14:54:58 +01:00
test/java/io/netty/channel/epoll Directly receive remote address when call accept(...) 2015-02-23 14:54:58 +01:00