mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-29 08:39:42 +08:00
Problem: GSSAPI server doesn't parse ZAP user id
Solution: add this to ZAP reply processing.
This commit is contained in:
parent
0d13971c05
commit
bd4a76cc2a
@ -266,6 +266,9 @@ int zmq::gssapi_server_t::receive_and_process_zap_reply ()
|
|||||||
goto error;
|
goto error;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Save user id
|
||||||
|
set_user_id (msg [5].data (), msg [5].size ());
|
||||||
|
|
||||||
// Process metadata frame
|
// Process metadata frame
|
||||||
rc = parse_metadata (static_cast <const unsigned char*> (msg [6].data ()),
|
rc = parse_metadata (static_cast <const unsigned char*> (msg [6].data ()),
|
||||||
msg [6].size (), true);
|
msg [6].size (), true);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user