Open hongjunan opened 2 years ago
Hi
Current release version has a bug. There are no Socket Timeout. Even, 0.9.0 SNAPSHOT has same bug. see this commit -> https://github.com/mirromutth/r2dbc-mysql/commit/dd8f553c91dbe6e48b34ce005004b480ce6ddad3 SO_TIMEOUT is OIO setting value. Unknown channel option 'SO_TIMEOUT' for channel it is NOT for reactor Netty!!
Unknown channel option 'SO_TIMEOUT' for channel
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)) }
tcpClient.doOnConnected { it.addHandler(ReadTimeoutHandler(connectTimeout.toMillis(), TimeUnit.MILLISECONDS)) }
please fix ASAP.
Thank you!
Hi
Current release version has a bug. There are no Socket Timeout. Even, 0.9.0 SNAPSHOT has same bug. see this commit -> https://github.com/mirromutth/r2dbc-mysql/commit/dd8f553c91dbe6e48b34ce005004b480ce6ddad3 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!