[zeromq-dev] [PATCH] Improved response to socket violations

Pieter Hintjens ph at imatix.com
Fri May 20 17:39:26 CEST 2011

Hi Martin,

Attached is a patch I'd like to apply to 2.x to deal with socket
violations in a more useful fashion.

It replaces the "Assertion failed: nbytes == sizeof (command_t)
(mailbox.cpp:245)" message with an explicit message about not sharing
sockets between threads.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Modified-mailbox-245-to-deal-better-with-socket-corr.patch
Type: application/octet-stream
Size: 1358 bytes
Desc: not available
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110520/97a6aa26/attachment.obj>

More information about the zeromq-dev mailing list