summaryrefslogtreecommitdiff
path: root/tests/test_hwm.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-23 07:57:47 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-23 07:57:47 +0200
commitd1373792f7888f312cd7286fdf524a0bfe124846 (patch)
tree046c7a5473b43b50be02ef34705e2a45e753c51c /tests/test_hwm.cpp
parent12532c7940f23fcb3cd46208c141d47647e76231 (diff)
Outstanding requests dropped when requester dies (issue 190)
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>
Diffstat (limited to 'tests/test_hwm.cpp')
0 files changed, 0 insertions, 0 deletions