Skip to content

Commit

Permalink
Bug fix: async HTTP/1.1 server protocol handler incorrectly increment…
Browse files Browse the repository at this point in the history
…s request count upon receipt of a response message head.
  • Loading branch information
ok2c committed Nov 2, 2022
1 parent 8fabd3d commit d04dcb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ void updateInputMetrics(final HttpRequest request, final BasicHttpConnectionMetr
@Override
void updateOutputMetrics(final HttpResponse response, final BasicHttpConnectionMetrics connMetrics) {
if (response.getCode() >= HttpStatus.SC_OK) {
connMetrics.incrementRequestCount();
connMetrics.incrementResponseCount();
}
}

Expand Down

0 comments on commit d04dcb0

Please sign in to comment.