Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,11 @@ public HttpConnection(Socket sock, HttpEndPointListener epl, bool secure, X509Ce
else
{
#pragma warning disable CA5359
// This part is actually never called because LoadCertificateAndKey always returns null
// and for managed implementation we never negotiate TLS. If this ever changes we will need to re-think
// how we deal with client certs and probably also remove "disable CA5359".
// Doing full validation brings its own problems ... like AIA processing and possibly access to untrusted sites.
// so that should probably be driven by user configuration.
Comment thread
wfurt marked this conversation as resolved.
Comment thread
wfurt marked this conversation as resolved.
_sslStream = HttpListener.CreateSslStream(new NetworkStream(sock, false), false, (t, c, ch, e) =>
{
if (c == null)
Expand Down
Loading