[jboss-jira] [JBoss JIRA] (WFCORE-96) OutboundSocketBinding always overrides source socket, unable to bind to wildcard address

Radoslav Husar (JIRA) issues at jboss.org
Thu Sep 11 08:34:20 EDT 2014


Radoslav Husar created WFCORE-96:
------------------------------------

             Summary: OutboundSocketBinding always overrides source socket, unable to bind to wildcard address
                 Key: WFCORE-96
                 URL: https://issues.jboss.org/browse/WFCORE-96
             Project: WildFly Core
          Issue Type: Feature Request
    Affects Versions: 1.0.0.Alpha5
            Reporter: Radoslav Husar
            Assignee: Radoslav Husar
             Fix For: 1.0.0.Alpha6


(17:58:26) rhusar: pferraro: OutboundSocketBinding  https://github.com/wildfly/wildfly-core/blob/master/network/src/main/java/org/jboss/as/network/OutboundSocketBinding.java#L264 checks if the binding is null but since https://github.com/wildfly/wildfly-core/blob/master/network/src/main/java/org/jboss/as/network/OutboundSocketBinding.java#L194 it will never be null...
(17:59:10) rhusar: pferraro: so we will be always binding connections to the proxy to the default interface -- i guess that's a correct behavior anyways...
(18:47:35) pferraro: hmm
(18:49:08) pferraro: rhusar: seems unintuitive though
(18:50:02) pferraro: rhusar: so you can never specific a wildcard address?
(18:59:53) rhusar: pferraro: right, as far as i understand it..
(19:01:06) rhusar: pferraro: maybe i could add method like getOptionalSourceAddress() that would return sourceNetworkInterface directly



--
This message was sent by Atlassian JIRA
(v6.3.1#6329)


More information about the jboss-jira mailing list