Files
dotnet-runtime/src/libraries/System.Net.Http.WinHttpHandler
Max Kerr afb835886e Check available credentials when choosing authentication scheme (dotnet/corefx#28105)
When choosing what authentication scheme to use, WinHttpHandler picks the most secure scheme supported by the server. When the client does not support this scheme it closes the connection. This fix updates the authentication logic to instead pick the most secure scheme offered by the server that is also supported by the client.

This change also adds a test of the relevant behavior.

Fixes: dotnet/corefx#27672

Commit migrated from https://github.com/dotnet/corefx/commit/6d031a04f3df8fadd5b82d9c23d904182eea94e4
2018-03-16 14:35:50 -07:00
..
2017-05-16 14:12:16 -07:00