From bf67165e77f1f4727f2847ab4999db3cd97721c3 Mon Sep 17 00:00:00 2001 From: Archie Date: Wed, 24 Jul 2024 11:52:31 +0100 Subject: [PATCH] refactor: changed DPP_BUFSIZE to be uint16_t instead of uint32_t --- src/dpp/sslclient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dpp/sslclient.cpp b/src/dpp/sslclient.cpp index 96091d0242..e66dd1204a 100644 --- a/src/dpp/sslclient.cpp +++ b/src/dpp/sslclient.cpp @@ -123,7 +123,7 @@ thread_local std::unordered_map keepalives; * SSL_read in non-blocking mode will only read 16k at a time. There's no point in a bigger buffer as * it'd go unused. */ -constexpr uint32_t DPP_BUFSIZE{16 * 1024}; +constexpr uint16_t DPP_BUFSIZE{16 * 1024}; /* Represents a failed socket system call, e.g. connect() failure */ constexpr int ERROR_STATUS{-1};