2014-06-10 02:46:52 |
Dmitry Kiselev |
description |
When I send 100 requests instead 10, Accelio hangs indefinitely while trying to accumulate all the pending messages.
But when I try to send 10 requests and to close a connection without processing all of them on the peer's side, the pattern seems to work fine.
When debugging, I observe a seemingly infinite loop in the "xio_connection_flush_msgs" function. A variable "in_flight_reqs_budget" gets higher and higher - more than a few billions.
best regards,
Dmitry |
When I send 100 requests from client to a server, without processing most of them, or even without spinning the event loop often enough, Accelio hangs indefinitely, while trying to accumulate all the pending messages.
But when I try to send 10 requests and to close a connection, again, without processing all of them on the peer's side, the pattern seems to work fine.
While debugging, I observed a seemingly infinite loop in the "xio_connection_flush_msgs" function. The variable "in_flight_reqs_budget" gets higher and higher - more than a few billions.
best regards,
Dmitry |
|