We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e6634f7 commit 43f15f9Copy full SHA for 43f15f9
1 file changed
proxy/http/Http1ClientSession.cc
@@ -261,8 +261,8 @@ Http1ClientSession::do_io_close(int alerrno)
261
} else {
262
HttpSsnDebug("[%" PRId64 "] session closed", con_id);
263
HTTP_SUM_DYN_STAT(http_transactions_per_client_con, transact_count);
264
- if (read_state != HCS_ACTIVE_READER) {
265
- // donot double decrement
+ if (conn_decrease) {
+ // do not double decrement
266
HTTP_DECREMENT_DYN_STAT(http_current_client_connections_stat);
267
}
268
read_state = HCS_CLOSED;
0 commit comments