Permalink
Browse files

Remove unnecessary call to reset() in bosh-request-parser's parse() m…

…ethod
  • Loading branch information...
1 parent 40e6b7c commit a50583dd37d888eb1472fb738551d67eab587ec7 @dhruvbird committed Aug 28, 2012
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/bosh-request-parser.js
View
2 src/bosh-request-parser.js
@@ -125,8 +125,6 @@ dutil.copy(BoshRequestParser.prototype, {
parse: function(data) {
this.parsedBody = null;
if (this._parser && !this._parser.parse(data)) {
- // this.end();
- this.reset();
return false;
}
else if (!this._parser) {

0 comments on commit a50583d

Please sign in to comment.