Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding configuration option to suppress timeout exception. #288

Closed
wants to merge 14 commits into from
Closed

Adding configuration option to suppress timeout exception. #288

wants to merge 14 commits into from

Conversation

gsrunion
Copy link

@gsrunion gsrunion commented May 1, 2020

Exceptions are considered expensive. Adding a configuration option to suppress timeout exceptions when 0 bytes are read when working in InputStream mode.

@gsrunion
Copy link
Author

gsrunion commented May 1, 2020

Note the motivation here is that when used with Netty via https://github.com/Ziver/Netty-Transport-jSerialComm/blob/master/src/main/java/io/netty/channel/jsc/JSerialCommChannel.java SerialTimeoutConnections cause the connection to be taken down.

See Ziver/Netty-Transport-jSerialComm#2

@gsrunion gsrunion closed this Apr 14, 2021
@gsrunion
Copy link
Author

Alternate solution to the problem provided in recent commit. 53d3fae

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

Successfully merging this pull request may close these issues.

1 participant