From 167a993c11b5584a3a97b83cfcd8284d690fb2ae Mon Sep 17 00:00:00 2001 From: James Thomas Date: Tue, 3 Sep 2024 15:10:58 -0400 Subject: [PATCH] fixes stats for bytes out --- src/udx.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/udx.c b/src/udx.c index 0a6c6f6..962144b 100644 --- a/src/udx.c +++ b/src/udx.c @@ -2107,6 +2107,7 @@ udx_socket_send_ttl (udx_socket_send_t *req, udx_socket_t *socket, const uv_buf_ pkt->retransmitted = false; pkt->transmits = 0; pkt->nbufs = 1; + pkt->size = bufs[0].len; uv_buf_t *buf = (uv_buf_t *) (pkt + 1);