From 3340b456a544519531f8d42ec77d33251b765efa Mon Sep 17 00:00:00 2001 From: Max Dymond Date: Wed, 11 Oct 2017 13:18:46 +0100 Subject: 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 --- lib/multi.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') 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 -- cgit v1.2.3