Skip to content

Commit

Permalink
multi: allow table handle sizes to be overridden
Browse files Browse the repository at this point in the history
Allow users to specify their own hash define for
CURL_CONNECTION_HASH_SIZE so that both values can be overridden.

Closes #1982
  • Loading branch information
cmeister2 authored and bagder committed Oct 25, 2017
1 parent 5d543fe commit 3340b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/multi.c
Expand Up @@ -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


Expand Down

0 comments on commit 3340b45

Please sign in to comment.