Commit de639c34 authored by Pieter Hintjens's avatar Pieter Hintjens

Merge pull request #1042 from hurtonm/master

Fix bug in reporting protocol errors
parents 045dab91 ed076d46
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment