Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-96

OutboundSocketBinding always overrides source socket, unable to bind to wildcard address

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 1.0.0.Alpha6
    • 1.0.0.Alpha5
    • None
    • None

    Description

      (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

      Attachments

        Issue Links

          Activity

            People

              rhn-engineering-rhusar Radoslav Husar
              rhn-engineering-rhusar Radoslav Husar
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: