Skip to content

Commit

Permalink
refactor: changed DPP_BUFSIZE to be uint16_t instead of uint32_t
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaskowicz1 committed Jul 24, 2024
1 parent ddd4ead commit bf67165
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dpp/sslclient.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ thread_local std::unordered_map<std::string, keepalive_cache_t> 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};
Expand Down

0 comments on commit bf67165

Please sign in to comment.