qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robbie Gemmell (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (PROTON-1646) Proactor API needs a way to use an existing socket.
Date Fri, 20 Oct 2017 14:29:00 GMT

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

Robbie Gemmell commented on PROTON-1646:

Another common approach for tests can be for a component to be told to bind a free port by
itself, with it then offering a way to find out what it was.

> Proactor API needs a way to use an existing socket.
> ---------------------------------------------------
>                 Key: PROTON-1646
>                 URL: https://issues.apache.org/jira/browse/PROTON-1646
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: cpp-binding, proton-c
>    Affects Versions: proton-c-0.18.0
>            Reporter: Andrew Stitcher
>            Assignee: Cliff Jansen
> There are various times when it is necessary to take an existing socket and use it to
> * The most obvious is when we are started by systemd or inetd and passed the listening
socket that they have accepted on our behalf.
> * Another case is in tests when we might want to open a port using a random port number
and then atomically hand that to test code. 

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org

View raw message