You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Stefan Egli (JIRA)" <ji...@apache.org> on 2018/12/03 08:40:00 UTC

[jira] [Created] (FELIX-5994) endpoint property for host 0.0.0.0 not resolved

Stefan Egli created FELIX-5994:
----------------------------------

             Summary: endpoint property for host 0.0.0.0 not resolved
                 Key: FELIX-5994
                 URL: https://issues.apache.org/jira/browse/FELIX-5994
             Project: Felix
          Issue Type: Bug
          Components: HTTP Service
            Reporter: Stefan Egli


The JettyService allows configuring the host to {{null}} or {{0.0.0.0}} which both result binding to all interfaces. While this works fine, the endpoint property is only correctly set when the host is {{null}}, but not when it is set to {{0.0.0.0}}. In the latter case it remains {{0.0.0.0}} (which potentially confuses down stream application depending on this endpoint property).

The problematic line of code seems to be in addEndpointProperties [here|https://github.com/apache/felix/blob/trunk/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L794]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)