netty5/transport-native-unix-common/src
Scott Mitchell 135c33b478 Correctly handle overflow in Native.kevent(...) when EINTR is detected (#9024)
Motivation:
When kevent(...) returns with EINTR we do not correctly decrement the timespec
structure contents to account for the time duration. This may lead to negative
values for tv_nsec which will result in an EINVAL and raise an IOException to
the event loop selection loop.

Modifications:
Correctly calculate new timeoutTs when EINTR is detected

Result:
Fixes #9013.
2019-04-10 11:32:26 +02:00
..
main Correctly handle overflow in Native.kevent(...) when EINTR is detected (#9024) 2019-04-10 11:32:26 +02:00
test/java/io/netty/channel/unix Java 8 migration: Use diamond operator (#8749) 2019-01-22 16:07:26 +01:00