[
https://issues.apache.org/jira/browse/PROTON-1463?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15983819#comment-15983819
]
ASF subversion and git services commented on PROTON-1463:
---------------------------------------------------------
Commit a61f50e94ceb74ed81665192e1d3051ec8be0208 in qpid-proton's branch
refs/heads/master from [~aconway]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=a61f50e ]
PROTON-1463: Golang AMQP URL incompatable with Qpid Cpp Broker.
According to https://tools.ietf.org/html/rfc3986 (and python urlparse) the Go
parser is correct to include the leading "/" in a URL path, the proton URL
parser in proton's other bindings is non-standard here.
We want to reduce confusion and move towards standard behavior so instead of
changing the URL class I updated the examples to remove the leading "/" like
this:
addr := strings.TrimPrefix("/", url.Path)
> Golang AMQP URL incompatable with Qpid Cpp Broker. Node not found: /address
> when using Qpid C++ Broker
> -------------------------------------------------------------------------------------------------------
>
> Key: PROTON-1463
> URL: https://issues.apache.org/jira/browse/PROTON-1463
> Project: Qpid Proton
> Issue Type: Bug
> Components: go-binding
> Affects Versions: 0.17.0
> Reporter: Brandon W Sheffield
> Assignee: Alan Conway
>
> Go examples not compatible with Qpid C++ broker version 1.36.
> With qpidd running as a daemon, running the go "receive" binary example with
> no address will work:
> ./receive localhost:5672
> Listening on 1 connections
> But if provided a address, will get error:
> ./receive localhost:5672/address
> Listening on 1 connections
> 2017/04/18 13:30:54 receive error %v: %vlocalhost:5672/addressamqp:not-found:
> Node not found: /address
> Qpid C++ Broker spits out error:
> [Protocol] error Error on attach: Node not found: /address
> Does not behave like this when using the provided Go example broker binary
> instead of Qpid C++ broker.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]