streaming responses can be sent out of order
Bug #1970469 reported by
Galen Charlton
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenSRF |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If a streaming method starts off sending a couple small responses followed by a large one, the responses can end up received out of order under this scenario:
- The initial small responses get stashed to be sent out as a bundle
- The large response, if big enough to require chunking, gets sent out as a set of partial responses. However, any messages queued up to go out as a bundle remain in the queue.
- When the method completes, or if further responses result in exceeding the maximum bundle size, the queued messages get sent, _after_ the chunked response.
OpenSRF 3.2
To post a comment you must log in.
This affects both C and Perl services.