felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carsten Ziegeler (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-4981) [Jetty] Change default behaviour of sendServerHeader from true to false
Date Thu, 30 Jul 2015 15:40:04 GMT

     [ https://issues.apache.org/jira/browse/FELIX-4981?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Carsten Ziegeler resolved FELIX-4981.
-------------------------------------
    Resolution: Fixed

Changed the default behaviour in rev 1693444

> [Jetty] Change default behaviour of sendServerHeader from true to false
> -----------------------------------------------------------------------
>
>                 Key: FELIX-4981
>                 URL: https://issues.apache.org/jira/browse/FELIX-4981
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-3.0.2
>            Reporter: Adrien PAILHES
>            Assignee: Carsten Ziegeler
>             Fix For: http.jetty-3.1.0
>
>
> According to http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html#configuration-properties,
org.apache.felix.http.jetty.sendServerHeader default value is "false".
> In fact, if you look the code, it's "true".
> See org.apache.felix.http.jetty.internal.JettyConfig#isSendServerHeader on the trunk:
> {code}
>     public boolean isSendServerHeader()
>     {
>         return getBooleanProperty(FELIX_JETTY_SEND_SERVER_HEADER, true);
>     }
> {code}
> Can we just set "false" as documented?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message