You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Carsten Ziegeler (Jira)" <ji...@apache.org> on 2020/11/17 05:40:00 UTC

[jira] [Commented] (FELIX-6360) Context gets removed when setting up SSL

    [ https://issues.apache.org/jira/browse/FELIX-6360?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17233268#comment-17233268 ] 

Carsten Ziegeler commented on FELIX-6360:
-----------------------------------------

I think the current implementation is correct - the OSGi configuration always contains the full set of properties - if the incoming (new) configuration does not contain all properties or the default values for some properties, then this is a problem with that configuration but not how it is handled.
If you restart the application, there is no old configuration and the new configuration will be applied as is

> Context gets removed when setting up SSL
> ----------------------------------------
>
>                 Key: FELIX-6360
>                 URL: https://issues.apache.org/jira/browse/FELIX-6360
>             Project: Felix
>          Issue Type: Bug
>          Components: HTTP Service
>    Affects Versions: http.jetty-4.1.2
>            Reporter: Abhishek Garg
>            Priority: Major
>
> when someone switches from http to https all the configurations related to jetty gets overridden with default values.should we first apply already existing configuration and then new configuration at [0].
> [0]: [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyConfig.java#L778]
> [1] : [https://github.com/apache/felix-dev/blob/master/http/jetty/src/main/java/org/apache/felix/http/jetty/internal/JettyService.java#L180]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)