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 Sep 9, 2023. It is now read-only.
I originally implemented net.JSONStream.aclose by just closing the underlying stream because I had forgotten about send_eof, but now I'm not sure what are the benefits of it.
What do I gain by being polite? Less angry error messages? Letting the other one know that we're willingly closing, and not crashing? Could that result in a different behavior from the server? Should net.JSONStream raise a different error?
The text was updated successfully, but these errors were encountered:
I originally implemented
net.JSONStream.aclose
by just closing the underlying stream because I had forgotten aboutsend_eof
, but now I'm not sure what are the benefits of it.What do I gain by being polite? Less angry error messages? Letting the other one know that we're willingly closing, and not crashing? Could that result in a different behavior from the server? Should
net.JSONStream
raise a different error?The text was updated successfully, but these errors were encountered: