Skip to content
Browse files

removed keep-alive header for node xhr bridge

  • Loading branch information...
1 parent 357ba40 commit f2dcd092d7f6ae8f54b24ed205d5a0a0177f173b thatcher committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 envjs/platform/node.js
  2. +1 −1 src/platform/node-v8/xhr.js
View
2 envjs/platform/node.js
@@ -254,7 +254,7 @@ Envjs.connection = function(xhr, responseHandler, data){
urlparts.path+(urlparts.query?"?"+urlparts.query:''),
__extend__(xhr.headers,{
"Host": urlparts.hostname,
- "Connection":"Keep-Alive"
+ //"Connection":"Keep-Alive"
//"Accept-Encoding", 'gzip'
})
);
View
2 src/platform/node-v8/xhr.js
@@ -82,7 +82,7 @@ Envjs.connection = function(xhr, responseHandler, data){
urlparts.path+(urlparts.query?"?"+urlparts.query:''),
__extend__(xhr.headers,{
"Host": urlparts.hostname,
- "Connection":"Keep-Alive"
+ //"Connection":"Keep-Alive"
//"Accept-Encoding", 'gzip'
})
);

0 comments on commit f2dcd09

Please sign in to comment.
Something went wrong with that request. Please try again.