1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

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
This commit is contained in:
Max Dymond 2017-10-11 13:18:46 +01:00 committed by Daniel Stenberg
parent 5d543fe906
commit 3340b456a5

View File

@ -59,7 +59,9 @@
#define CURL_SOCKET_HASH_TABLE_SIZE 911 #define CURL_SOCKET_HASH_TABLE_SIZE 911
#endif #endif
#ifndef CURL_CONNECTION_HASH_SIZE
#define CURL_CONNECTION_HASH_SIZE 97 #define CURL_CONNECTION_HASH_SIZE 97
#endif
#define CURL_MULTI_HANDLE 0x000bab1e #define CURL_MULTI_HANDLE 0x000bab1e