-
Notifications
You must be signed in to change notification settings - Fork 593
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
Exception when disabling heartbeat with v7 #1756
Comments
Thanks for taking the time to report the incorrect XML docs. I'll update the XML docs, but this is pretty clear:
Also, disabling the heartbeat is a bad practice. |
Well, the exception message is not very clear, since we don't know what timeout is wrong, would be nice to get a message saying this is related to the heartbeat. It was old test for a library, I know this is bad practice, I just spent 30 minutes trying to understand what was causing this issue. |
Ah, yes, I agree. Thanks for pointing that out. |
Fixes #1756 * Add test that demonstrates the issue.
Describe the bug
Looks like
ConnectionFactory.RequestedHeartbeat
no longer accept Timespan.Zero as documentedCrash in
ConfigureFrameHandler
this lineReproduction steps
Expected behavior
Should not crash, or crash with a clear error message if this is not valid anymore.
Additional context
No response
The text was updated successfully, but these errors were encountered: