Explorar o código

don't mess with http agents

Gil Pedersen %!s(int64=13) %!d(string=hai) anos
pai
achega
b8e460606f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/uristream.js

+ 1 - 1
lib/uristream.js

@@ -75,7 +75,7 @@ function setupHttp(uri, options, dst) {
       delete headers['range'];
 
     var accum = 0, size = -1;
-    var req = fetch({uri:uri, pool:false, headers:headers, timeout:timeout});
+    var req = fetch({uri:uri, headers:headers, timeout:timeout});
     req.on('error', onreqerror);
     req.on('response', onresponse);