netty5/transport-native-kqueue/src/main/c
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
..
netty_kqueue_bsdsocket.c Make Native loading work better with Java 8 2017-06-23 19:42:13 +02:00
netty_kqueue_bsdsocket.h New native transport for kqueue 2017-05-03 09:53:22 -07:00
netty_kqueue_eventarray.c Fix ClassCastException and native crash when using kqueue transport. (#8665) 2018-12-19 12:14:11 +01:00
netty_kqueue_eventarray.h New native transport for kqueue 2017-05-03 09:53:22 -07:00
netty_kqueue_native.c Correctly handle overflow in Native.kevent(...) when EINTR is detected (#9024) 2019-04-10 11:32:26 +02:00