--- src/siproxd.h +++ src/siproxd.h @@ -279,7 +279,7 @@ #define TCP_IDLE_TO 300 /* TCP connection idle timeout in seconds */ #define TCP_CONNECT_TO 500 /* TCP connect() timeout in msec */ -#define URLMAP_SIZE 128 /* number of URL mapping table entries */ +#define URLMAP_SIZE 32 /* number of URL mapping table entries */ /* this limits the number of clients! */ #define SOURCECACHE_SIZE 256 /* number of return addresses */ @@ -295,7 +295,7 @@ #define PATH_STRING_SIZE 256 /* max size of an file path */ #define URL_STRING_SIZE 128 /* max size of an URL/URI string */ #define STATUSCODE_SIZE 5 /* size of string representation of status */ -#define DNS_CACHE_SIZE 256 /* number of entries in internal DNS cache */ +#define DNS_CACHE_SIZE 64 /* number of entries in internal DNS cache */ #define DNS_ATTEMPTS 3 /* number of attempts to resolve a name before it is marked as bad */ #define DNS_GOOD_AGE 60 /* maximum age of a good cache entry (sec) */