Socket Read timeout Error
hongjunan opened this issue · 0 comments
hongjunan commented
Hi
Current release version has a bug. There are no Socket Timeout.
Even, 0.9.0 SNAPSHOT has same bug.
see this commit -> dd8f553
SO_TIMEOUT is OIO setting value.
Unknown channel option 'SO_TIMEOUT' for channel
it is NOT for reactor Netty!!
please read below document
https://projectreactor.io/docs/netty/release/reference/index.html#_lifecycle_callbacks_2
here is sample code
tcpClient.doOnConnected { it.addHandler(ReadTimeoutHandler(connectTimeout.toMillis(), TimeUnit.MILLISECONDS)) }
please fix ASAP.
Thank you!