mirror of
https://github.com/zeromq/libzmq.git
synced 2025-01-01 10:50:28 +08: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:
parent
82c4792e21
commit
454d1eda65
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user