[jira] [Commented] (PROTON-2479) Improve proactor read performance by actually resizing input buffer
[ https://issues.apache.org/jira/browse/PROTON-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17472846#comment-17472846 ] ASF subversion and git services commented on PROTON-2479: - Commit 98c0f661c270712d7059e70e5a4f0f53b3a9b1bc in qpid-proton's branch refs/heads/main from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=98c0f66 ] PROTON-2482: Fix PROTON-2479 to correctly handle EOF/EWOULDBLOCK The previous code didn't handle any exception cases in the additional potential second read. > Improve proactor read performance by actually resizing input buffer > --- > > Key: PROTON-2479 > URL: https://issues.apache.org/jira/browse/PROTON-2479 > Project: Qpid Proton > Issue Type: Improvement > Components: proton-c >Affects Versions: proton-c-0.36.0 >Reporter: Andrew Stitcher >Assignee: Andrew Stitcher >Priority: Major > Fix For: proton-c-0.37.0 > > > The logic for resizing the input buffer in proton-c is obscure and > semi-automatic in a low level part of the code. This has menat that the > existing proactor read code doesn't actually resize the input buffer because > of the specific call sequence it uses. > It is much better to make the resizing logic more explicit! -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org
[jira] [Commented] (PROTON-2479) Improve proactor read performance by actually resizing input buffer
[ https://issues.apache.org/jira/browse/PROTON-2479?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17463966#comment-17463966 ] ASF subversion and git services commented on PROTON-2479: - Commit c1b28618536c67fe9ba02b8b4b65e18608c3a08c in qpid-proton's branch refs/heads/main from Andrew Stitcher [ https://gitbox.apache.org/repos/asf?p=qpid-proton.git;h=c1b2861 ] PROTON-2479: Make reading more efficient by resizing input buffer This also introduces a connection driver API that allows the input buffer resizing to be done explicitly by the proactor code. > Improve proactor read performance by actually resizing input buffer > --- > > Key: PROTON-2479 > URL: https://issues.apache.org/jira/browse/PROTON-2479 > Project: Qpid Proton > Issue Type: Improvement > Components: proton-c >Affects Versions: proton-c-0.36.0 >Reporter: Andrew Stitcher >Assignee: Andrew Stitcher >Priority: Major > Fix For: proton-c-0.37.0 > > > The logic for resizing the input buffer in proton-c is obscure and > semi-automatic in a low level part of the code. This has menat that the > existing proactor read code doesn't actually resize the input buffer because > of the specific call sequence it uses. > It is much better to make the resizing logic more explicit! -- This message was sent by Atlassian Jira (v8.20.1#820001) - To unsubscribe, e-mail: dev-unsubscr...@qpid.apache.org For additional commands, e-mail: dev-h...@qpid.apache.org