-
Notifications
You must be signed in to change notification settings - Fork 10.4k
Closed
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-httpsysfeature-iisIncludes: IIS, ANCMIncludes: IIS, ANCMfeature-kestrelhelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue
Milestone
Description
We currently do not expose the SNI hostname via a feature interface
// Used for event source, not part of any of the feature interfaces. | |
public string? HostName { get; set; } |
namespace Microsoft.AspNetCore.Http.Features
{
public interface ITlsHandshakeFeature
{
+ string? HostName { get; }
}
}
Given that it's already a property on the TlsConnectionFeature
we can trivially expose it.
paleocomburoavparuch
Metadata
Metadata
Assignees
Labels
api-approvedAPI was approved in API review, it can be implementedAPI was approved in API review, it can be implementedarea-networkingIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsIncludes servers, yarp, json patch, bedrock, websockets, http client factory, and http abstractionsfeature-httpsysfeature-iisIncludes: IIS, ANCMIncludes: IIS, ANCMfeature-kestrelhelp wantedUp for grabs. We would accept a PR to help resolve this issueUp for grabs. We would accept a PR to help resolve this issue