You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.
In my view, if there occurs a problem in the network or server, clear the timeout deadline may cause this goroutine stuck for a long time even forever, then others stuck too because of the channel.
I wonder why it was written like this, was there some reason I've missed it?
If necessary, I'd like to post an mr.
The text was updated successfully, but these errors were encountered:
opriz
changed the title
why clear timeout when read a response from server?
Why clear timeout when read a response from server?
Jan 19, 2021
I found this line in conn.go
In my view, if there occurs a problem in the network or server, clear the timeout deadline may cause this goroutine stuck for a long time even forever, then others stuck too because of the channel.
I wonder why it was written like this, was there some reason I've missed it?
If necessary, I'd like to post an mr.
The text was updated successfully, but these errors were encountered: