send 100 continue code the way ms seems to want

This commit is contained in:
UbitUmarov
2020-04-16 02:13:03 +01:00
parent 4ab8da01bc
commit e2f84f0c1f
3 changed files with 15 additions and 8 deletions

View File

@@ -103,7 +103,6 @@ namespace OSHttpServer
public IHttpClientContext CreateSecureContext(Socket socket, X509Certificate certificate,
SslProtocols protocol, RemoteCertificateValidationCallback _clientCallback = null)
{
socket.NoDelay = true;
var networkStream = new NetworkStream(socket, true);
var remoteEndPoint = (IPEndPoint)socket.RemoteEndPoint;