From b9848118514e90a8b10cc7ed23188e28bf207019 Mon Sep 17 00:00:00 2001 From: Cory McWilliams Date: Sun, 23 Jul 2023 01:23:44 +0000 Subject: [PATCH] Don't shutdown the client side of an HTTP request after sending it. Some servers don't like that. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4363 ed5197a5-7fde-0310-b194-c3ffbd925b24 --- core/http.js | 1 - 1 file changed, 1 deletion(-) diff --git a/core/http.js b/core/http.js index 2758b81c..eb820977 100644 --- a/core/http.js +++ b/core/http.js @@ -79,7 +79,6 @@ export function fetch(url, options, allowed_hosts) { fullRequest.set(headers, 0); fullRequest.set(body, headers.length); socket.write(fullRequest); - socket.shutdown(); }).catch(function(error) { reject(error); });