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
In server mode chumak_socket should not exit when a peer shutdown except pair mode.
I think this should be handled in implementation of each patterns, every implementation should decide exit or not.
So the implementations should add another argument in peer_disconected to handle the reason of exit.
But I found a lot of shutdown tuples in chumak_peer and the code of below in chumak_socket
In server mode
chumak_socket
should not exit when a peer shutdown except pair mode.I think this should be handled in implementation of each patterns, every implementation should decide exit or not.
So the implementations should add another argument in
peer_disconected
to handle the reason of exit.But I found a lot of
shutdown
tuples inchumak_peer
and the code of below inchumak_socket
My question is that there is any intended to use
shutdown
as a special operation to stopchumak_socket
?The text was updated successfully, but these errors were encountered: