[zeromq-dev] Error detect when gssapi-function fails

Соколов Максим Евгеньевич Sokolov-M at gaz-is.ru
Thu Oct 29 16:49:26 CET 2015


Hi everybody.

OS: Win7 x64
IDE: Visual Studio 2010
ZMQ: 4.1.3
CZMQ: 3.0.2

Trying to use ZMQ with my own gssapi implementation. The example had gotten from here: https://gist.github.com/cbusbey/11265987
Let's taking about client-side application for example.
I know (cause I attached to process) that gss-function gss_acquire_cred() is called when I'm trying to send a message using function zstr_send(server, "Hello"). And I know that gss_acquire_cred() fails and returns error code, cause there isn't appropriate certificate on my host (my gss-implementation uses certificates).
I know that it's impossible to establish a gss-security context in that case.
Function zstr_send(server, "Hello") returns 0, which means that everything is OK.
I know that ZMQ uses queues and that meassage actually will be send later.
But how can I detect that gss-fuctions, which are used internally by ZMQ, failed.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20151029/0f50cde6/attachment.htm>


More information about the zeromq-dev mailing list