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

Martin Sustrik sustrik at 250bpm.com
Thu Jan 20 07:55:37 CET 2011


On 01/20/2011 06:52 AM, Thijs Terlouw wrote:

> 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!

Great! Applied to master.

> 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
> this....

That definitely looks like a bug.

Martin



More information about the zeromq-dev mailing list