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
This commit is contained in:
Cory McWilliams 2023-07-23 01:23:44 +00:00
parent 1c52446331
commit b984811851

View File

@ -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);
});