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
1 changed files with 2 additions and 0 deletions

View File

@ -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