mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-24 00:49:48 +02:00
Stop ZMTP handshake when an unexpected message comes
This commit is contained in:
@@ -98,7 +98,7 @@ int zmq::curve_server_t::process_handshake_message (msg_t *msg_)
|
||||
}
|
||||
break;
|
||||
default:
|
||||
errno = EAGAIN;
|
||||
errno = EPROTO;
|
||||
rc = -1;
|
||||
break;
|
||||
}
|
||||
|
Reference in New Issue
Block a user