mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-31 14:39:55 +01:00
Fix bug in reporting protocol errors
This commit is contained in:
parent
bac001cc85
commit
ed076d4620
@ -306,7 +306,7 @@ void zmq::stream_engine_t::in_event ()
|
||||
// or the session has rejected the message.
|
||||
if (rc == -1) {
|
||||
if (errno != EAGAIN) {
|
||||
error (connection_error);
|
||||
error (protocol_error);
|
||||
return;
|
||||
}
|
||||
input_stopped = true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user