fcff398f31
Cleaned up the locking code to make it more fine grained. Did this since dncache.c has locking itself now.
Robert James Kaes2001-08-29 04:00:22 +00:00
4c24890f17
Removed the new_dnscache() function and the ternary.h include.
Robert James Kaes2001-08-29 03:58:39 +00:00
c9a772e36b
Added a more fine grained locking system for multiple threads. Removed the new_dnscache() function and moved it into dnscache(). Fixed a memory leak in dns_insert().
Robert James Kaes2001-08-29 03:57:51 +00:00
2d1bbb13be
This commit was manufactured by cvs2svn to create tag 'rel_1-4-1-5'.
1.4.1.5
cvs2svn2001-08-28 15:54:53 +00:00
9a61faa716
The logging levels _now_ output the correct information depending on where the config file sets it.
Robert James Kaes2001-08-28 15:51:58 +00:00
23b44e67df
Bumped up the version number. Added a test for FreeBSD so that it can set GCC to compile with POSIX threading.
Robert James Kaes2001-08-27 17:47:25 +00:00
f7d0ea8784
Changed the MIME type to text/html rather than the incorrect text/mime.
Robert James Kaes2001-08-27 17:46:50 +00:00
be9ce3ad26
Moved some of the includes around so that FreeBSD can compile correctly.
Robert James Kaes2001-08-27 17:46:20 +00:00
e88c426966
Changed the default stack size since some OS's have a stack size which is too small.
Robert James Kaes2001-08-27 17:45:50 +00:00
bf7a671d87
Fixed a problem where the connect messages were not getting logged if the log level was set to INFO.
Robert James Kaes2001-08-27 17:44:55 +00:00
0c26769de3
This commit was manufactured by cvs2svn to create tag 'rel_1-4-1-3'.
1.4.1.3
cvs2svn2001-08-27 03:52:06 +00:00
3b5e17d579
Split the headers from the message body. Also now include proper headers like Date, Server, Content-Length, etc. Also, fixed the type for an error message to be const char*.
Robert James Kaes2001-08-27 03:45:34 +00:00
cebda5913d
Removed the config.anonymous entry since we've moved the information into anonymous.c file.
Robert James Kaes2001-08-26 21:18:04 +00:00
5530451545
Renamed versiondisp() to display_version() and added the PACKAGE, VERSION, and TARGET_SYSTEM into the version list. Also moved the license into a separate function. Renamed usagedisp() to display_usage(). Fixed a problem where the anonymous search tree was being created _after_ it was being accessed.
Robert James Kaes2001-08-26 21:17:30 +00:00
7fe7ee2828
Fixed a problem where child threads would not be closed if they had been created after the initial creation. Also fixed a problem where the status of the threads were not going back to T_WAITING if MaxRequestsPerChild was 0.
Robert James Kaes2001-08-26 21:14:30 +00:00
af10311eaf
Fixed a problem with the Anonymous filtering. Basically, anonymous filtering was not working in the previous version.
Robert James Kaes2001-08-26 21:11:55 +00:00
849345e88b
Removed the anon_new() function and moved it's functionality into anonymous_insert(). Also renamed all the anon_* functions to anonymous_* function.
Robert James Kaes2001-08-26 21:07:27 +00:00
91af06dd1a
Completely reorganized the file. I'm trying to follow the layout specified in the Autoconf manual.
Robert James Kaes2001-06-06 19:32:09 +00:00
c256744327
Removed the -with-{user,port,logfile} and added the -with-config for the default location of the configuation file.
Robert James Kaes2001-06-04 23:33:11 +00:00
135d4f5080
Remove the DEFAULT_LOG, DEFAULT_USER, and DEFAULT_PORT
Robert James Kaes2001-06-04 23:31:39 +00:00
f43404aeef
Removed the DEFAULT_LOG, DEFAULT_PORT, and DEFAULT_USER directives since these MUST be set in the configuration file.
Robert James Kaes2001-06-04 23:30:34 +00:00
cd217661f0
This commit was manufactured by cvs2svn to create tag 'rel_1-4-0_pre5'.
1.4.0pre5
cvs2svn2001-06-02 17:34:28 +00:00
93d352853b
Added the change for the LogLevel directive in doc/tinyproxy.conf
Robert James Kaes2001-06-02 17:34:27 +00:00
8f0258a635
Improved the clarity of the LogLevel directive (in the comments.)
Robert James Kaes2001-06-02 17:30:48 +00:00
f8932cf4ee
Looked at the file a bit more and cleaned up some of the style problems.
Robert James Kaes2001-06-02 17:26:19 +00:00
5afba764bb
Fixed the tests for libsocket, libnsl, and libresolv. Improved the tests for the yacc program since bison 1.25 was originally used to write the scanner. Updated the list of headers to look for when configuring. Bumped up the prerelease number.
Robert James Kaes2001-06-02 17:23:16 +00:00
1f2559cb1a
This commit was manufactured by cvs2svn to create tag 'rel_1-4-0_pre4'.
1.4.0pre4
cvs2svn2001-06-02 03:38:03 +00:00
3dfc5e84cc
Fixed a type problem with fprintf in log_message() when logging the PID.
Robert James Kaes2001-06-02 03:38:02 +00:00
118f4fd9dd
Fixed a problem with --with-port= configuration option.
Robert James Kaes2001-06-02 03:33:17 +00:00
164717b336
Include the LogLevel switch and comments to describe the settings.
Robert James Kaes2001-06-02 03:12:33 +00:00
65a41578ad
New version (reflects changes to add the LogLevel switch)
Robert James Kaes2001-06-02 03:11:14 +00:00
e45c95fa97
LOG_EMERG doesn't exist anymore, so replace it with LOG_CRIT.
Robert James Kaes2001-06-02 03:10:34 +00:00
a9720e85f6
Include LogLevel and it's settings into the grammar of the config file.
Robert James Kaes2001-06-02 03:10:09 +00:00
4d6e753caf
This file no longer needs to be part of the distrubution. I'm trying to not release buggy software. :)
Robert James Kaes2001-05-30 15:48:33 +00:00
5b11a1e2c9
Formating changes. Also, explictly close the client_fd when the connections are destroyed.
Robert James Kaes2001-05-30 15:45:14 +00:00
5c8490598d
This commit was manufactured by cvs2svn to create tag 'rel_1-4-0_pre3'.
1.4.0pre3
cvs2svn2001-05-27 02:40:44 +00:00
154a2e0880
Changed the references to log() to log_message(). Also changed some of the data types for the variables.
Robert James Kaes2001-05-27 02:37:18 +00:00
1cd4d6d440
Added code to stop the creation of core files. Changed all references to log() to log_message().
Robert James Kaes2001-05-27 02:36:22 +00:00
b242a2896e
Changed the thread_main() function to only deal with the connections per thread if the user has actually requested it. Also changed some of the data types for the variables.
Robert James Kaes2001-05-27 02:33:35 +00:00
42b09e5441
Removed the SA define. Made the sock_mutex static since it's not referenced outside the file. Changed the data types for some of the variables. Cleaned up the readline function (changed data types and removed variables.)
Robert James Kaes2001-05-27 02:31:20 +00:00