Sfoglia il codice sorgente

don't mess with http agents

Gil Pedersen 13 anni fa
parent
commit
b8e460606f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);