79628811

Date: 2025-05-19 13:10:40
Score: 1.5
Natty:
Report link

Only option is [ConnectCallback](https://learn.microsoft.com/en-us/dotnet/api/system.net.http.socketshttphandler.connectcallback?view=net-9.0).

You can create SslStream, save certificates to HttpRequestMessage, and return that stream. When you return SslStream from ConnectCallback, SocketHttpHandler will skip it's own ssl connection establishment.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (0.5):
Posted by: Pavel Mayorov