[ https://issues.apache.org/jira/browse/PROTON-126?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495362#comment-13495362 ]
Hiram Chirino commented on PROTON-126: -------------------------------------- Opened up PROTON-128 for that. Perhaps send should return void if it's always supposed to fully consume the full it's given. > Sender.send should return 0 once it has exceeded the credit window > ------------------------------------------------------------------ > > Key: PROTON-126 > URL: https://issues.apache.org/jira/browse/PROTON-126 > Project: Qpid Proton > Issue Type: Bug > Components: proton-j > Reporter: Hiram Chirino > > No flow control is in place. You can easily OOM a JVM since Sender.send > continues to accept more bytes even if the peer is not accepting anymore data. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira