GitHub user dnwe opened a pull request:
https://github.com/apache/qpid-proton/pull/6
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dnwe/qpid-proton fix-proton-814
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-proton/pull/6.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #6
----
commit d3cef91426bbcfc4809f38dbbc87ddd2b3cbdd1e
Author: Dominic Evans <[email protected]>
Date: 2015-02-03T21:56:33Z
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.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]