@@ -34,7 +34,7 @@ public KestrelServer(IOptions<KestrelServerOptions> options, IConnectionListener
34
34
options ,
35
35
new [ ] { transportFactory ?? throw new ArgumentNullException ( nameof ( transportFactory ) ) } ,
36
36
Array . Empty < IMultiplexedConnectionListenerFactory > ( ) ,
37
- new SimpleHttpsConfigurationService ( loggerFactory ) ,
37
+ new SimpleHttpsConfigurationService ( ) ,
38
38
loggerFactory ,
39
39
new KestrelMetrics ( new DummyMeterFactory ( ) ) ) ;
40
40
}
@@ -77,13 +77,6 @@ public void Dispose() { }
77
77
78
78
private sealed class SimpleHttpsConfigurationService : IHttpsConfigurationService
79
79
{
80
- private readonly ILogger < HttpsConnectionMiddleware > _httpsLogger ;
81
-
82
- public SimpleHttpsConfigurationService ( ILoggerFactory loggerFactory )
83
- {
84
- _httpsLogger = loggerFactory . CreateLogger < HttpsConnectionMiddleware > ( ) ;
85
- }
86
-
87
80
public bool IsInitialized => true ;
88
81
89
82
public void Initialize ( IHostEnvironment hostEnvironment , ILogger < KestrelServer > serverLogger , ILogger < HttpsConnectionMiddleware > httpsLogger )
@@ -93,7 +86,7 @@ public void Initialize(IHostEnvironment hostEnvironment, ILogger<KestrelServer>
93
86
94
87
public void PopulateMultiplexedTransportFeatures ( FeatureCollection features , ListenOptions listenOptions )
95
88
{
96
- HttpsConfigurationService . PopulateMultiplexedTransportFeaturesWorker ( features , listenOptions , _httpsLogger ) ;
89
+ throw new NotImplementedException ( ) ; // Not actually required by this impl, which never provides an IMultiplexedConnectionListenerFactory
97
90
}
98
91
99
92
public ListenOptions UseHttpsWithDefaults ( ListenOptions listenOptions )
0 commit comments