tinyproxy/src
Michael Adam 87e8da90b0 BB#110 Increase number of hash buckets from 32 to 256.
This should make hash processing generally faster.

There is a treadeoff between memory footprint and
speed of processing. 10 KB instead of 1.2 KB of
hash table per process should not be a huge problem
even on very limited current systems.

Who really needs to stick to 32 buckets could
recompile. We could also think about making
this configurable at some point.

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 800c3a250c)
2014-12-13 01:49:01 +01:00
..
.gitignore Removed obsolete ignore rules 2008-06-19 21:33:20 +05:30
acl.c [BB#90]: Fix bug in ACL netmask generation 2011-03-04 14:47:54 +05:30
acl.h Move definition of "struct config_s" from main.h to conf.h 2009-12-07 22:33:27 +01:00
anonymous.c Move definition of "struct config_s" from main.h to conf.h 2009-12-07 22:33:27 +01:00
anonymous.h add const to the key argument of anonymous_insert(). 2009-08-05 00:15:04 +02:00
buffer.c buffer: fix log message in read_buffer(). 2014-07-21 13:26:57 +02:00
buffer.h Convert tabs to spaces 2008-12-08 13:39:44 +00:00
child.c BB#110 secure the hashmaps by adding a seed 2014-12-13 01:48:41 +01:00
child.h [BB#63] conf: Allow multiple Listen statements in the config. 2013-11-16 11:35:58 +01:00
common.h Remove unnecessary vfork.h include 2009-09-20 14:08:14 +05:30
conf.c conf: Fix CID 1130973 - resource leak. 2014-07-21 13:26:56 +02:00
conf.h [BB#63] conf: Allow multiple Listen statements in the config. 2013-11-16 11:35:58 +01:00
connect-ports.c Fix bug #68: Allow all ports for CONNECT at absence of ConnectPort in config. 2010-01-17 13:41:02 +01:00
connect-ports.h Add free_connect_ports_list(). 2009-12-07 00:22:52 +01:00
conns.c Use NULL for pointers 2009-11-17 02:40:03 +05:30
conns.h Indent code to Tinyproxy coding style 2009-09-15 01:11:25 +05:30
daemon.c daemon.c: fix #if NDEBUG --> #ifdef NDEBUG 2009-11-10 17:59:40 +01:00
daemon.h Reformat code to GNU coding style 2008-12-01 15:01:11 +00:00
filter.c Move definition of "struct config_s" from main.h to conf.h 2009-12-07 22:33:27 +01:00
filter.h filter: add function filter_reload() 2009-10-25 23:33:37 +01:00
hashmap.c BB#110 secure the hashmaps by adding a seed 2014-12-13 01:48:41 +01:00
hashmap.h Move definition of "struct config_s" from main.h to conf.h 2009-12-07 22:33:27 +01:00
heap.c Fix format string warnings 2009-11-16 21:50:40 +05:30
heap.h [BB#18] Fix pointer aliasing issues 2009-09-21 09:16:58 +05:30
html-error.c Update URLs of Tinyproxy 2011-02-28 12:46:46 +05:30
html-error.h make message argument of indicate_http_error() const. 2009-08-07 08:48:51 +02:00
http-message.c Indent code to Tinyproxy coding style 2009-09-15 01:11:25 +05:30
http-message.h http_message_add_headers: make argument num_headers unsigned 2009-08-07 09:24:32 +02:00
log.c [BB#109] Fix crash (infinite loop) when writing to log file fails. 2013-11-09 13:47:18 +01:00
log.h log: confess - add my (C) after substantial changes. 2009-12-23 00:33:31 +01:00
main.c [BB#63] conf: Allow multiple Listen statements in the config. 2013-11-16 11:35:58 +01:00
main.h main: remove global bool processed_config_file. 2009-12-23 00:27:32 +01:00
Makefile.am Export configure variable localstatedir to C as define LOCALSTATEDIR. 2010-01-13 00:16:02 +01:00
network.c network: Fix CID 113095 - unchecked return value from library 2014-07-21 13:26:57 +02:00
network.h Reformat code to GNU coding style 2008-12-01 15:01:11 +00:00
reqs.c BB#110 Increase number of hash buckets from 32 to 256. 2014-12-13 01:49:01 +01:00
reqs.h Move handling of connect_ports list to its own source module. 2009-12-07 00:22:52 +01:00
reverse-proxy.c fix build with "--enable-reverse" after conf changes 2009-12-07 23:40:24 +01:00
reverse-proxy.h Add free_reversepath_list(). 2009-12-07 00:22:46 +01:00
sock.c [BB#81] allow listening on multiple families when no Listen is provided in config 2013-11-16 11:35:58 +01:00
sock.h child: use a list of listen_fds instead of one single listenfd. 2013-11-16 11:35:58 +01:00
stats.c Move definition of "struct config_s" from main.h to conf.h 2009-12-07 22:33:27 +01:00
stats.h Indent code to Tinyproxy coding style 2009-09-15 01:11:25 +05:30
text.c Indent code to Tinyproxy coding style 2009-09-15 01:11:25 +05:30
text.h Reformat code to GNU coding style 2008-12-01 15:01:11 +00:00
transparent-proxy.c transparent: make transparent support compile after introduction of multi Listen 2014-07-21 13:26:57 +02:00
transparent-proxy.h [BB#95] Fix FilterURLs with transparent proxy support. 2010-12-01 22:18:08 +01:00
upstream.c upstream: clarify debug messages 2010-08-24 22:50:48 +02:00
upstream.h upstream: add free_upstream_list () 2009-12-07 00:22:36 +01:00
utils.c Use correct format string for POSIX pid_t in pidfile_create() 2009-09-27 08:09:24 +05:30
utils.h Convert tabs to spaces 2008-12-08 13:39:44 +00:00
vector.c Make position into an enum 2009-11-17 01:52:23 +05:30
vector.h Indent code to Tinyproxy coding style 2009-09-15 01:11:25 +05:30