When one side is disconnected, the other receives on_msg_error callback with an empty message(xio_msg).

Bug #1328764 reported by Dmitry Kiselev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Accelio
In Progress
High
Eyal Salomon

Bug Description

A negative test case:
One side is sending 1 request over and over, while the other just keeps getting that request and doesn't ever respond.
Then the requestor side disconnects.
The server/responder side receives an on_msg_error event with error code equal to: XIO_E_MSG_FLUSHED and an empty message.
Also, note that the type of that message is: XIO_MSG_TYPE_RSP, even though no response has been ever sent from either side.

(Pease, let me know if the message is supposed to be empty in this case.)

Eyal Salomon (esalomon)
Changed in accelio:
assignee: nobody → Eyal Salomon (esalomon)
importance: Undecided → High
description: updated
description: updated
description: updated
Eyal Salomon (esalomon)
Changed in accelio:
status: New → In Progress
Revision history for this message
Eyal Salomon (esalomon) wrote :

Are you using messages with "delivery receipt"?
I could not reproduce it without this flag.
if so the following commits in the "for_next" branch aimed to fix this:

commit a1a71a7105b808bbbf1552a05dae59a3733aea66
commit 3b397595a9153a82a51b30a2bd6501522b206611

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.