qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-814) proton-c: pn_selector_select caches its return code from a previous error
Date Wed, 04 Feb 2015 10:11:35 GMT

    [ https://issues.apache.org/jira/browse/PROTON-814?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14304880#comment-14304880
] 

ASF subversion and git services commented on PROTON-814:
--------------------------------------------------------

Commit a85caef8883be36d89093cbd0a0030eba2d57be1 in qpid-proton's branch refs/heads/master
from [~dnwe]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=a85caef ]

PROTON-814: only return error rc on a failed poll

In posix pn_selector_select, if a poll() call returns result == -1 and
sets selector->error from the errno, any subsequent pn_selector_select
calls on the same selector will return have a return code of the
previously cached errno even if they succeed. Closes #6


> proton-c: pn_selector_select caches its return code from a previous error
> -------------------------------------------------------------------------
>
>                 Key: PROTON-814
>                 URL: https://issues.apache.org/jira/browse/PROTON-814
>             Project: Qpid Proton
>          Issue Type: Bug
>          Components: proton-c
>    Affects Versions: 0.8
>            Reporter: Dominic Evans
>            Assignee: Dominic Evans
>
> In posix pn_selector_select, if a poll() call returns result == -1 and
> sets selector->error from the errno, any subsequent pn_selector_select
> calls on the same selector will return have a return code of the
> previously cached errno even if they succeed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message