Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Socket Read timeout Error #230

Open
hongjunan opened this issue Mar 10, 2022 · 0 comments
Open

Socket Read timeout Error #230

hongjunan opened this issue Mar 10, 2022 · 0 comments

Comments

@hongjunan
Copy link

hongjunan commented Mar 10, 2022

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!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant