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

Problem: log for bad ZAP status code is confusing
This commit is contained in:
Luca Boccassi 2017-08-10 15:01:31 +01:00 committed by GitHub
commit 889a6bff05

View File

@ -335,7 +335,7 @@ int zmq::null_mechanism_t::receive_and_process_zap_reply ()
// Status code frame
if (msg [3].size () != 3) {
// Temporary support for security debugging
puts ("NULL I: ZAP handler rejected client authentication");
puts ("NULL I: ZAP handler sent bad status code");
errno = EPROTO;
return close_and_return (msg, -1);
}