mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-29 04:17:57 +01:00
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:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user