[
https://issues.apache.org/jira/browse/PROTON-2482?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17472845#comment-17472845
]
ASF subversion and git services commented on PROTON-2482:
---------------------------------------------------------
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.
> Proactor can seem to read nonsense
> ----------------------------------
>
> Key: PROTON-2482
> URL: https://issues.apache.org/jira/browse/PROTON-2482
> Project: Qpid Proton
> Issue Type: Bug
> Components: proton-c
> Reporter: Andrew Stitcher
> Priority: Major
> Fix For: proton-c-0.37.0
>
>
> Missing handling of read exception cases (EOF and EWOULDBLOCK) mean that the
> new code can try and process a buffer that has no actual read bytes if it is
> the second read.
> So we have to fix the handling of these cases for the second read.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]