GitHub user dnwe opened a pull request:

    https://github.com/apache/qpid-proton/pull/8

    PROTON-811: safely handle TransportException

    Previously TransportException could be thrown in the TransportImpl
    beforePosition initializer that was using tail() directly without a
    separate catch to ignore it. It seems cleaner to add a position()
    accessor to the TransportInput interface that handles closed streams
    in the same way as capacity(), without throwing the RuntimeException

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/dnwe/qpid-proton fix-proton-811

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/qpid-proton/pull/8.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 #8
    
----
commit b39e7cc4963309c1567054dbea4b13f8f644872a
Author: Dominic Evans <[email protected]>
Date:   2015-02-16T16:45:30Z

    PROTON-811: safely handle TransportException
    
    Previously TransportException could be thrown in the TransportImpl
    beforePosition initializer that was using tail() directly without a
    separate catch to ignore it. It seems cleaner to add a position()
    accessor to the TransportInput interface that handles closed streams
    in the same way as capacity(), without throwing the RuntimeException

----


---
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]

Reply via email to