Skip to content

Problem: NetConn wrapper kept canceling context #112

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

Closed
wants to merge 1 commit into from

Conversation

Vaelatern
Copy link
Contributor

@Vaelatern Vaelatern commented Aug 6, 2019

Solution: Accept the zero time as a special case when setting
deadlines. Somehow, this function gets called without a time and thus
would previously Reset the timer to no time at all, thus expediting the
call to cancel the context.

Would close #111

Solution: Accept the zero time as a special case when setting
deadlines. Somehow, this function gets called without a time and thus
would previously Reset the timer to no time at all, thus expediting the
call to cancel the context.
@nhooyr
Copy link
Contributor

nhooyr commented Aug 7, 2019

Thank you so much @Vaelatern

I've merged this as fb30712 and will tag a new release.

@Vaelatern Vaelatern deleted the fix-netconn branch August 7, 2019 04:58
@nhooyr nhooyr mentioned this pull request Aug 29, 2019
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.

Weird behaviour when channelling go-capnproto2 over websocket
2 participants