Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
proton-c-0.33.0
-
None
Description
In discussions with users of th raw connection API there is constant (if often brief) puzzlement over receiving read/written events after the connectino is closed but before the disconnect event.
These events are to tell the application to retrieve all the buffers that they have given the raw connection before the connection becomes completely inaccessible and hence the buffre would leak.
It would be clearer (and invite less confusion) to have a specific event to tell the application to drain all its buffers.
Attachments
Issue Links
- incorporates
-
PROTON-2700 Raw connection API: Remove ambiguous use of READ/WRITTEN events
- Closed