-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Open
Labels
area-System.Net.HttpenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions
Milestone
Description
A related issue: #30195
I have a simple poc which connects to Elasticsearch authenticated by Kerberos. Elasticsearch only supports request based authentication, so each time I need to ship a log, it requires 2 round trips as the first request always returns a 401 unauthorised.
It would be useful to use preauthentication to remove that 401 round trip and immediately send the header for applications that don't support session based authentication.
This was the behaviour before SocketHttpHandler (via AppContext.SetSwitch("System.Net.Http.UseSocketsHttpHandler", false);) as WinHttpHandler was able to preauth a Kerberos connection however when running on Linux we've discovered that the libcurl based handler does not behave the same way.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area-System.Net.HttpenhancementProduct code improvement that does NOT require public API changes/additionsProduct code improvement that does NOT require public API changes/additions