Skip to content

Commit

Permalink
removed keep-alive header for node xhr bridge
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcher committed Mar 2, 2011
1 parent 357ba40 commit f2dcd09
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion envjs/platform/node.js
Expand Up @@ -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'
})
);
Expand Down
2 changes: 1 addition & 1 deletion src/platform/node-v8/xhr.js
Expand Up @@ -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'
})
);
Expand Down

0 comments on commit f2dcd09

Please sign in to comment.