> From: Martin Sustrik <sust...@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
this....


Thijs
_______________________________________________
zeromq-dev mailing list
zeromq-dev@lists.zeromq.org
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to