Commit 889a6bff authored by Luca Boccassi's avatar Luca Boccassi Committed by GitHub

Merge pull request #2671 from AlainODea/ao-clarify-null-ZAP-status-code

Problem: log for bad ZAP status code is confusing
parents 82c4792e 454d1eda
...@@ -335,7 +335,7 @@ int zmq::null_mechanism_t::receive_and_process_zap_reply () ...@@ -335,7 +335,7 @@ int zmq::null_mechanism_t::receive_and_process_zap_reply ()
// Status code frame // Status code frame
if (msg [3].size () != 3) { if (msg [3].size () != 3) {
// Temporary support for security debugging // Temporary support for security debugging
puts ("NULL I: ZAP handler rejected client authentication"); puts ("NULL I: ZAP handler sent bad status code");
errno = EPROTO; errno = EPROTO;
return close_and_return (msg, -1); return close_and_return (msg, -1);
} }
......
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