Skip to content

Commit

Permalink
Remove unnecessary call to reset() in bosh-request-parser's parse() m…
Browse files Browse the repository at this point in the history
…ethod
  • Loading branch information
dhruvbird committed Aug 28, 2012
1 parent 40e6b7c commit a50583d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/bosh-request-parser.js
Expand Up @@ -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) {
Expand Down

0 comments on commit a50583d

Please sign in to comment.