}
req->stream_state = HTTP2_STREAM_STATE_CLOSED;
+ http_stats_stream_reset_by_peer_inc (hc->c_thread_index);
if (!(req->flags & HTTP2_REQ_F_APP_CLOSED))
session_transport_reset_notify (&req->base.connection);
req_index);
req = http2_req_get (req_index, thread_index);
req->flags |= HTTP2_REQ_F_APP_CLOSED;
+ http_stats_stream_reset_by_app_inc (thread_index);
http2_send_stream_error (hc, req->stream_id,
req->base.is_tunnel ? HTTP2_ERROR_CONNECT_ERROR :
HTTP2_ERROR_INTERNAL_ERROR,
_ (connections_reset_by_app, "connections reset by app") \
_ (app_streams_opened, "application streams opened") \
_ (app_streams_closed, "application streams closed") \
+ _ (stream_reset_by_peer, "streams reset by peer") \
+ _ (stream_reset_by_app, "streams reset by app") \
_ (requests_received, "requests received") \
_ (requests_sent, "requests sent") \
_ (responses_received, "responses received") \