Problem: log for bad ZAP status code is confusing

Solution: log that handler sent bad status code to clarify ZAP debugging
This commit is contained in:
Alain O'Dea
2017-08-10 10:42:29 -02:30
parent 82c4792e21
commit 454d1eda65

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);
}