mirror of
https://github.com/socketio/socket.io.git
synced 2026-04-30 03:00:39 -04:00
Make sure to set drain to false upon htmlfile transport write.
This commit is contained in:
@@ -67,6 +67,7 @@ HTMLFile.prototype.handleRequest = function (req) {
|
||||
HTMLFile.prototype.write = function (data) {
|
||||
data = '<script>_(' + JSON.stringify(data) + ');</script>';
|
||||
|
||||
this.drain = false;
|
||||
this.response.write(data);
|
||||
this.log.debug('htmlfile writing', data);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user