8000 Nevermind, can't change handler properties after it's been used · wtf3505-git/libgit2sharp@9b6043f · GitHub
[go: up one dir, main page]

Skip to content

Commit 9b6043f

Browse files
committed
Nevermind, can't change handler properties after it's been used
1 parent 2c763f7 commit 9b6043f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

LibGit2Sharp/Core/ManagedHttpSmartSubtransport.cs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ public ManagedHttpSmartSubtransportStream(ManagedHttpSmartSubtransport parent, s
7575
EndpointUrl = new Uri(endpointUrl);
7676
IsPost = isPost;
7777
ContentType = contentType;
78-
79-
//If we have any concurrency, this is a bad thing to do...
80-
httpClientHandler.ServerCertificateCustomValidationCallback = CertificateValidationProxy;
8178
}
8279

8380
private HttpClient CreateHttpClient(HttpMessageHandler handler)

0 commit comments

Comments
 (0)
0