mode set tcp no delay inside try catch

This commit is contained in:
UbitUmarov
2026-01-06 20:13:13 +00:00
parent 0fbf5a44b3
commit afd5b34b8a

View File

@@ -170,9 +170,10 @@ namespace OSHttpServer
if(socket == null)
continue;
socket.NoDelay = true;
try
{
socket.NoDelay = true;
if (!OnAcceptingSocket(socket))
{
socket.Disconnect(true);