[zeromq-dev] strange behavior with pub/sub sockets (when pub connects)
Martin Sustrik
sustrik at 250bpm.com
Fri Apr 8 08:37:04 CEST 2011
On 04/07/2011 10:27 PM, Robert W wrote:
> The rebind thing is a bit bizarre. It actually blocks ad infinitum until
> I kill the publisher (which connects). After that, the socket goes into
> a TIME_WAIT state and then eventually clears up..
What about before that? It's in ESTABLISHED state?
> I can't make a completely reproducible case though. If I restart the
> subscribing server (which binds) soon after it had stopped, then it's
> usually able to reconnect without any issues. What do you think might be
> the problem? (These two things might be related?)
No idea. It looks like some kind of TCP detail that is not taken
properly into account.
Martin
More information about the zeromq-dev
mailing list