[minor] style

This commit is contained in:
Jarrett Cruger 2014-05-11 01:02:35 -04:00
parent 896ee7c9c3
commit ccad177954

View File

@ -52,9 +52,9 @@ common.setupOutgoing = function(outgoing, options, req, forward) {
//
if (!outgoing.agent) {
outgoing.headers = outgoing.headers || {};
if(typeof outgoing.headers.connection !== 'string' || outgoing.headers.connection.toLowerCase() !== 'upgrade') {
outgoing.headers.connection = 'close';
}
if (typeof outgoing.headers.connection !== 'string'
|| outgoing.headers.connection.toLowerCase() !== 'upgrade'
) { outgoing.headers.connection = 'close'; }
}
//