Skip to content

Commit

Permalink
fix (#315): correctly increment this.cer
Browse files Browse the repository at this point in the history
  • Loading branch information
salmanm committed Dec 15, 2020
1 parent 5f285d4 commit 42d155d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/httpClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ function Client (opts) {

resp.body = ''
resp.bytes = 0
this.cer = this.cer === pipelining - 1 ? 0 : this.cer++
this.cer = (this.cer + 1) % pipelining
this._doRequest(this.cer)
}

Expand Down

0 comments on commit 42d155d

Please sign in to comment.