From 4e3bf99327c29fa37995d702ebf2950d460bfcc6 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Fri, 17 Jun 2022 19:58:50 +0000 Subject: [PATCH] More socket leak debugging. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3901 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/httpd.js | 1 + 1 file changed, 1 insertion(+) diff --git a/core/httpd.js b/core/httpd.js index 93ce0a66..cbdbfb72 100644 --- a/core/httpd.js +++ b/core/httpd.js @@ -494,6 +494,7 @@ function handleConnection(client) { } body = new Uint8Array(bodyToRead); client.info = 'waiting for body'; + resetTimeout(requestCount); return true; } else if (headers["connection"] && headers["connection"].toLowerCase().split(",").map(x => x.trim()).indexOf("upgrade") != -1