diff options
author | Max Dymond <cmeister2@gmail.com> | 2017-10-11 13:18:46 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-10-25 18:50:02 +0200 |
commit | 3340b456a544519531f8d42ec77d33251b765efa (patch) | |
tree | 209164231c59e3419a1e822130fff801df8e6a82 | |
parent | 5d543fe90670c1924fd2c7d6be871b3ad90c438d (diff) |
multi: allow table handle sizes to be overridden
Allow users to specify their own hash define for
CURL_CONNECTION_HASH_SIZE so that both values can be overridden.
Closes #1982
-rw-r--r-- | lib/multi.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/multi.c b/lib/multi.c index d5c6a3e83..bf0e89ae6 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -59,7 +59,9 @@ #define CURL_SOCKET_HASH_TABLE_SIZE 911 #endif +#ifndef CURL_CONNECTION_HASH_SIZE #define CURL_CONNECTION_HASH_SIZE 97 +#endif #define CURL_MULTI_HANDLE 0x000bab1e |