Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-06-23 | Outstanding requests dropped when requester dies (issue 190) | Martin Sustrik | |
So far the requests in req/rep pattern were delivered to and processed by worker even though the original requester was dead. Thus, the worker processing replies with noone to deliver results to. This optimisation drops requests in two situations: 1. Queued inbound requests in XREP socket when peer disconnects. 2. Queued outbound requests in XREQ when socket is closed. Signed-off-by: Martin Sustrik <sustrik@250bpm.com> |