[zeromq-dev] [PATCH] Fix handle connection reset during session init

Thijs Terlouw thijsterlouw at gmail.com
Thu Jan 20 06:52:11 CET 2011

> From: Martin Sustrik <sustrik at 250bpm.com>
> Date: Thu, 20 Jan 2011 00:18:15 +0100
> Subject: Re: [zeromq-dev] [PATCH] Fix handle connection reset during session init
> Thijs, does this patch solve your problem?
> Martin

The patch from Dhammika solved the problem. I tested it this morning
and I don't see any problems with nmap portscan anymore. Very nice
little patch!

I've also tried your suggestion with ZMQ_LINGER and set ZMQ_LINGER on
all sockets I have. Unfortunately I still have problems. It seems that
after rebuild the zmq_socket, sometimes the zmq_poll function will not
notify me of ZMQ_POLLIN events. The same code worked correctly with
2.0.10. I used tcpdump to check if the data is sent on the network to
the 'server' and it appears to be ok. The server application code just
doesn't receive the event from ZMQ.... so now continue debugging


More information about the zeromq-dev mailing list