Node updated. Some todos.

This commit is contained in:
Norm Rasmussen
2024-09-23 20:52:09 -04:00
parent 8bfaca8375
commit f25622067f
2041 changed files with 124145 additions and 110445 deletions

View File

@ -64,6 +64,9 @@ function httpRequest(url, method, response, keepAlive = true) {
res.statusCode < 400 &&
res.headers.location) {
httpRequest(new url_1.URL(res.headers.location), method, response);
// consume response data to free up memory
// And prevents the connection from being kept alive
res.resume();
}
else {
response(res);