More socket leak debugging.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3901 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
Cory McWilliams 2022-06-17 19:58:50 +00:00
parent b5b6ed8ba5
commit 4e3bf99327

View File

@ -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