From b49683ed523a6a2f7a6a98c4facd755fd410472a Mon Sep 17 00:00:00 2001 From: ganeshmurthy Date: Mon, 18 Nov 2024 14:03:18 -0500 Subject: [PATCH] Fixes #1664: Additional fix. Added VFLOW_ATTRIBUTE_OCTET_RATE_REVERSE to stream_info->vflow --- src/observers/http2/http2_observer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/observers/http2/http2_observer.c b/src/observers/http2/http2_observer.c index 4058b13c2..46b356e3c 100644 --- a/src/observers/http2/http2_observer.c +++ b/src/observers/http2/http2_observer.c @@ -133,6 +133,7 @@ int on_begin_header_callback(qd_http2_decoder_connection_t *conn_state, vflow_set_string(stream_info->vflow, VFLOW_ATTRIBUTE_PROTOCOL, "HTTP/2"); vflow_set_uint64(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, 0); vflow_add_rate(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, VFLOW_ATTRIBUTE_OCTET_RATE); + vflow_add_rate(stream_info->vflow, VFLOW_ATTRIBUTE_OCTETS, VFLOW_ATTRIBUTE_OCTET_RATE_REVERSE); stream_info->stream_id = stream_id; vflow_set_uint64(stream_info->vflow, VFLOW_ATTRIBUTE_STREAM_ID, stream_info->stream_id); vflow_latency_start(stream_info->vflow);