[jboss-jira] [JBoss JIRA] (WFCORE-3286) It is possible to add multiple http-connectors to the same undertow listener

Jiri Ondrusek (JIRA) issues at jboss.org
Wed Sep 13 08:39:00 EDT 2017


     [ https://issues.jboss.org/browse/WFCORE-3286?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jiri Ondrusek moved JBEAP-13147 to WFCORE-3286:
-----------------------------------------------

              Project: WildFly Core  (was: JBoss Enterprise Application Platform)
                  Key: WFCORE-3286  (was: JBEAP-13147)
             Workflow: GIT Pull Request workflow   (was: CDW with loose statuses v1)
          Component/s: Remoting
                           (was: Remoting)
                           (was: Web (Undertow))
    Affects Version/s: 3.0.1.Final
                           (was: 7.1.0.DR16)


> It is possible to add multiple http-connectors to the same undertow listener
> ----------------------------------------------------------------------------
>
>                 Key: WFCORE-3286
>                 URL: https://issues.jboss.org/browse/WFCORE-3286
>             Project: WildFly Core
>          Issue Type: Bug
>          Components: Remoting
>    Affects Versions: 3.0.1.Final
>            Reporter: Jiri Ondrusek
>            Assignee: Jiri Ondrusek
>
> User can add multiple {{http-connector}} s with the same socket binding:
> {code}[standalone at localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector1:add(connector-ref=default, sasl-authentication-factory=application-sasl-authentication)
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/http-connector=http-remoting-connector2:add(connector-ref=default, sasl-authentication-factory=application-sasl-authentication)
> {"outcome" => "success"}{code}
> This is not possible with {{connector}}:
> {code}[standalone at localhost:9990 /] /subsystem=remoting/connector=dup1:add(sasl-authentication-factory=application-sasl-authentication, socket-binding=dup)
> {"outcome" => "success"}
> [standalone at localhost:9990 /] /subsystem=remoting/connector=dup2:add(sasl-authentication-factory=application-sasl-authentication, socket-binding=dup)
> {
>     "outcome" => "failed",
>     "failure-description" => \{"WFLYCTL0080: Failed services" => \{"jboss.remoting.server.dup2" => "WFLYRMT0004: Address already in use 127.0.0.1:12345
>     Caused by: java.net.BindException: Address already in use"}},
>     "rolled-back" => true
> }
> {code}
> The preferred behaviour should be consistent with {{connector}} - it makes no sense to have multiple connectors for single port as the client applications do not distinguish connectors by anything else than ports.



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list