Skip to content

Commit bf67165

Browse files
committed
refactor: changed DPP_BUFSIZE to be uint16_t instead of uint32_t
1 parent ddd4ead commit bf67165

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dpp/sslclient.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ thread_local std::unordered_map<std::string, keepalive_cache_t> keepalives;
123123
* SSL_read in non-blocking mode will only read 16k at a time. There's no point in a bigger buffer as
124124
* it'd go unused.
125125
*/
126-
constexpr uint32_t DPP_BUFSIZE{16 * 1024};
126+
constexpr uint16_t DPP_BUFSIZE{16 * 1024};
127127

128128
/* Represents a failed socket system call, e.g. connect() failure */
129129
constexpr int ERROR_STATUS{-1};

0 commit comments

Comments
 (0)