Make sure to set drain to false upon htmlfile transport write.

This commit is contained in:
Guillermo Rauch
2011-05-22 20:18:03 -07:00
parent 334c00f2c0
commit 7b486e2b37

View File

@@ -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);
};