[
https://issues.apache.org/jira/browse/DISPATCH-960?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16432812#comment-16432812
]
ASF GitHub Bot commented on DISPATCH-960:
-----------------------------------------
GitHub user fgiorgetti opened a pull request:
https://github.com/apache/qpid-dispatch/pull/283
DISPATCH-960 - Resolving service port when using http listener
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/fgiorgetti/qpid-dispatch
fgiorgetti-DISPATCH-960
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/qpid-dispatch/pull/283.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 #283
----
commit e23eae438ecfa0e2845c47f87b6e671875cfd35d
Author: Fernando Giorgetti <fgiorget@...>
Date: 2018-04-10T19:26:26Z
DISPATCH-960 - Resolving service port when using http listener
----
> TCP port randomly assigned when using 'port: amqp' along with 'http: yes' on
> a listener
> ---------------------------------------------------------------------------------------
>
> Key: DISPATCH-960
> URL: https://issues.apache.org/jira/browse/DISPATCH-960
> Project: Qpid Dispatch
> Issue Type: Bug
> Affects Versions: 1.0.1
> Reporter: Fernando Giorgetti
> Priority: Major
> Attachments: dispatch-960-reproducer.tar.gz
>
>
> The default configuration for the dispatch router contains a default listener
> set up to use 'port: amqp'.
> If you change the default listener to use 'http: yes' and starts the router,
> it causes an issue as the service name (amqp) is not resolved, and so the
> router attempts to listen to port 0 (random), causing an unpredictable
> behavior.
>
> A reproducer is attached to this issue.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]