0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-28 16:15:23 +08:00

Problem: GSSAPI server doesn't parse ZAP user id

Solution: add this to ZAP reply processing.
This commit is contained in:
Pieter Hintjens 2014-05-02 11:23:06 +02:00
parent 0d13971c05
commit bd4a76cc2a

View File

@ -266,6 +266,9 @@ int zmq::gssapi_server_t::receive_and_process_zap_reply ()
goto error;
}
// Save user id
set_user_id (msg [5].data (), msg [5].size ());
// Process metadata frame
rc = parse_metadata (static_cast <const unsigned char*> (msg [6].data ()),
msg [6].size (), true);