[
https://issues.apache.org/jira/browse/DISPATCH-797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ted Ross updated DISPATCH-797:
------------------------------
Summary: End-to-end flow control for large streamed messages (was: When
receiving and sending messages, Dispatch calls pn_link_recv() pn_link_send()
indiscriminately )
> End-to-end flow control for large streamed messages
> ---------------------------------------------------
>
> Key: DISPATCH-797
> URL: https://issues.apache.org/jira/browse/DISPATCH-797
> Project: Qpid Dispatch
> Issue Type: Bug
> Components: Container
> Affects Versions: 0.8.0
> Reporter: Ganesh Murthy
> Assignee: Ganesh Murthy
> Fix For: 1.0.0
>
>
> On the receiving side, Dispatch must receive into fixed size buffers and once
> these buffers are full, stop receiving and start receiving only when the
> buffers are half drained
> On the sending side, pn_link_send() must only be called after checking
> pn_session_outgoing_bytes (number of bytes currently buffered and ready to go
> out)
> An example of a sender and receiver can be seen here -
> https://github.com/alanconway/qpid-proton/blob/link-stream/examples/c/proactor/streamer.c
> More details will be added to this JIRA once I gather some more information.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]