diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-06-23 07:57:47 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-06-23 07:57:47 +0200 |
commit | d1373792f7888f312cd7286fdf524a0bfe124846 (patch) | |
tree | 046c7a5473b43b50be02ef34705e2a45e753c51c /tests/test_reqrep_device.cpp | |
parent | 12532c7940f23fcb3cd46208c141d47647e76231 (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_reqrep_device.cpp')
0 files changed, 0 insertions, 0 deletions