Skip to content

Commit

Permalink
Potential fix for socketio#372
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed Jul 18, 2011
1 parent c826fad commit f784c47
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/transports/jsonp-polling.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ JSONPPolling.prototype.doWrite = function (data) {
'Content-Type': 'text/javascript; charset=UTF-8'
, 'Content-Length': Buffer.byteLength(data)
, 'Connection': 'Keep-Alive'
, 'X-XSS-Protection': '0'
});

this.response.write(data);
Expand Down

0 comments on commit f784c47

Please sign in to comment.