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

Andrew Stitcher commented on PROTON-941:
----------------------------------------

Agreed.

Incidentally The python binding (and maybe the others too) can't ever encounter 
this issue because you create the Transport object as either client or server 
and don't switch them.

The intention was to do this in the proton-c API too except that it would have 
broken backward compatibility.

> pn_transport_set_server should fail if invoked after binding. 
> --------------------------------------------------------------
>
>                 Key: PROTON-941
>                 URL: https://issues.apache.org/jira/browse/PROTON-941
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-c
>    Affects Versions: 0.10
>            Reporter: Ken Giusti
>            Assignee: Andrew Stitcher
>             Fix For: 0.10
>
>
> Transport server configuration needs to be completed before the transport is 
> bound (and before either the transport's SSL or SASL components are created).
> pn_transport_set_server should fail if called too late in the configuration 
> process.



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

Reply via email to