-
Notifications
You must be signed in to change notification settings - Fork 10.5k
Add support for setting security attributes on Http.Sys RequestQueue #61325
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ea3e527
0c2197c
0037152
cabcc2f
e38f7d5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,6 +42,7 @@ HTTPAPI_VERSION | |
HttpCancelHttpRequest | ||
HttpCloseServerSession | ||
HttpCloseUrlGroup | ||
HttpCloseRequestQueue | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What's this file for? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's how the cswin32 source generator decides what methods to create PInvokes for |
||
HttpCreateRequestQueue | ||
HttpCreateServerSession | ||
HttpCreateUrlGroup | ||
|
@@ -59,3 +60,6 @@ HttpSetUrlGroupProperty | |
SetFileCompletionNotificationModes | ||
SOCKADDR_IN | ||
SOCKADDR_IN6 | ||
GetSecurityInfo | ||
GetSecurityDescriptorLength | ||
LocalFree |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
#nullable enable | ||
Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.TlsClientHelloBytesCallback.get -> System.Action<Microsoft.AspNetCore.Http.Features.IFeatureCollection!, System.ReadOnlySpan<byte>>? | ||
Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.TlsClientHelloBytesCallback.set -> void | ||
Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.RequestQueueSecurityDescriptor.get -> System.Security.AccessControl.GenericSecurityDescriptor? | ||
Microsoft.AspNetCore.Server.HttpSys.HttpSysOptions.RequestQueueSecurityDescriptor.set -> void |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like a reasonable change but unrelated to this PR. Drive-by bug fix or is it related somehow?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Drive-by, was just reading the docs for HttpCreateRequestQueue to make sure I was doing the correct thing with the security attribute and noticed it said you should close the queue handle with HttpCloseRequestQueue.