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
For bidirectional streams, does both the server and the client need to call .Close() on the stream to shut everything down?
For some reason, I know for sure my server is calling stream.Close(), but my client never seems to receive a err.EoF, and thus it just hangs forever despite the server already having all the information it needs and even exiting out of the specific API call.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
So 2 questions:
For bidirectional streams, does both the server and the client need to call .Close() on the stream to shut everything down?
For some reason, I know for sure my server is calling stream.Close(), but my client never seems to receive a err.EoF, and thus it just hangs forever despite the server already having all the information it needs and even exiting out of the specific API call.
Beta Was this translation helpful? Give feedback.
All reactions