Commit Graph

  • 65115c75c8 # Updated change log Robert James Kaes 2003-04-16 18:14:16 +0000
  • 4a66257e65 # Updated version number Robert James Kaes 2003-04-16 18:12:45 +0000
  • c94bfa8223 (build_url): Rebuild the URL from the component pieces. This function is used by the transparent proxy code. [Anatole Shaw] (process_request): Fixed up the transparent proxy code so that filtering can be done on the whole URL. [Anatole Shaw] Robert James Kaes 2003-04-16 18:11:58 +0000
  • 648e8f1438 # Changed it again to this time use the TINYPROXY_DEBUG environment variable to determine whether to wait for a connection from GDB. Robert James Kaes 2003-04-16 18:04:58 +0000
  • 4a942bc59a # The programmer is now made to _explicitly_ enable the GDB support in the child handling function. Robert James Kaes 2003-04-16 16:39:23 +0000
  • 6ff4192069 Removed the remote_content_length field in the "conn" structure and replaced it with a smaller structure containing both the remote/server and the local/client content-length fields if they're present in the HTTP response headers. Robert James Kaes 2003-04-16 16:37:59 +0000
  • acece1ee67 # Updated change log (should have done this _before_ the tagging of course.) Robert James Kaes 2003-04-01 16:56:41 +0000
  • b3af1f2abc This commit was manufactured by cvs2svn to create tag 'release_1_6_0pre1'. 1.6.0pre1 cvs2svn 2003-04-01 16:50:42 +0000
  • 82ce7176f7 Removed duplicate header tests. Robert James Kaes 2003-04-01 16:50:41 +0000
  • 5f8a497f0c Reorganized some of the code, and remove some function tests for which results were never used. Robert James Kaes 2003-04-01 16:46:45 +0000
  • bcf25dc67e (add_error_variable): Test whether connptr->error_variable is NULL, and if so call safemalloc(). This is needed since saferealloc() will assert() if the first argument is a NULL pointer. Robert James Kaes 2003-04-01 16:41:33 +0000
  • 7cd19206cc (establish_http_connection): Always include the port number for the requested server. This fixes a problem when the server is not listening on the default port, 80. [Fix suggested by duncan@sapio.co.uk] Robert James Kaes 2003-03-26 16:47:30 +0000
  • 63a7914830 # Moved the location of the "initializing" log message to below the processing of the command line options. Robert James Kaes 2003-03-17 04:24:19 +0000
  • 89ede8cd28 Create the doc/report.sh script from the new template file. Robert James Kaes 2003-03-17 04:21:11 +0000
  • 232aea721c Moved the doc/report.sh script to doc/report.sh.tmpl file. The script is then updated by the make procedure to reflect the correct location of the tinyproxy executable. Robert James Kaes 2003-03-17 04:20:19 +0000
  • d2c9ffac23 Made get_html_file() and lookup_variable() static functions since they are only used with this file. Robert James Kaes 2003-03-14 22:49:03 +0000
  • 5faa0879ec # Added copyright notices for Steve. Reformatted the source code to better match the existing tinyproxy practise. Included a few bug fixes from Steve. Robert James Kaes 2003-03-14 22:45:59 +0000
  • cc90414b29 (send_http_message): Changed the function to use the new http_message API. Robert James Kaes 2003-03-14 06:15:27 +0000
  • c76183a3f0 # Updated all the calls to indicate_http_error() to include a terminating NULL. The va_arg() function requires it to work properly. Robert James Kaes 2003-03-14 06:13:04 +0000
  • aff52c552e # Include the HTML variable substitution documentation files with the tarball. Robert James Kaes 2003-03-13 22:38:09 +0000
  • 1763373f29 # Updated ChangeLog with Steven Young's log of changes to include the variable substitution code. Robert James Kaes 2003-03-13 22:03:24 +0000
  • 75dd0b22c4 Allow the URL for the statistic page to be controlled from the configuration file, rather than being hard-coded in the program. [John M Wright] Robert James Kaes 2003-03-13 21:42:46 +0000
  • fa1480a3e1 Include example information for the new "file" directives (ErrorFile, DefaultErrorFile, StatFile.) [Steven Young] Robert James Kaes 2003-03-13 21:38:00 +0000
  • 78c1ed384a # Added default HTML files for HTTP error messages and the stats page. [Steven Young] Robert James Kaes 2003-03-13 21:35:58 +0000
  • a46bfdc2e0 Moved the send_http_error_message() and indicate_http_error() functions into the htmlerror.c file, and recoded them to use the new variable substitution system. [Steven Young] Robert James Kaes 2003-03-13 21:34:38 +0000
  • badd237fe6 # Added variables to config structure to keep track of the files to be displayed for various HTTP errors and the stats page. [Steven Young] Robert James Kaes 2003-03-13 21:32:33 +0000
  • b06f26cba1 # Changed showstats() to use the HTML variable functions when possible. It still retains the hard-coded page for when an HTML file is not available. [Steven Young] Robert James Kaes 2003-03-13 21:31:03 +0000
  • cb8aaf521e # Changed calls to indicate_http_error() to use the new HTML variable substitution mechanism. [Steven Young] Robert James Kaes 2003-03-13 21:29:45 +0000
  • 7995027c8c # Added parser support for the error file configuration keywords (ErrorFile, DefaultErrorFile, StatFile) [Steven Young] Robert James Kaes 2003-03-13 21:28:37 +0000
  • 056bbf84bd # Added variables to keep track of the variables to be substituted in .html files displayed to the client [Steven Young] Robert James Kaes 2003-03-13 21:27:29 +0000
  • a830af5097 # Steve Young's code to implement file based HTML error messages, rather than the hard coded string. Robert James Kaes 2003-03-13 21:25:06 +0000
  • d28d9fb195 # Added htmlerror.c and htmlerror.h Robert James Kaes 2003-03-13 21:23:01 +0000
  • 2057ffdb50 # Changed the wording of the header comment to remove the reference to "dnsserver" Robert James Kaes 2003-03-13 19:31:09 +0000
  • 99ec965544 # (child_main): If this is a debugging build output the child process ID and wait for 10 seconds so we have time to connect gdb to the child. This is needed if we want to use gdb against the child process. Robert James Kaes 2003-03-13 19:30:19 +0000
  • 0a3a1d7c71 Fixed up the include order for the <sys/time.h> and <time.h> headers. Robert James Kaes 2003-03-13 16:56:28 +0000
  • e04ff12768 # Include the http_message.[ch] into the compiled tinyproxy object. Robert James Kaes 2003-03-13 05:28:46 +0000
  • 686826c3b0 An API to handle HTTP messages as concrete entities. Robert James Kaes 2003-03-13 05:25:30 +0000
  • 2f9370afe7 (chomp): Fixed up the code to prevent negative array access. Added code to make sure the supplied arguments are valid. Robert James Kaes 2003-03-13 05:20:06 +0000
  • b77a579552 This commit was manufactured by cvs2svn to create tag 'release_1_5_3'. 1.5.3 cvs2svn 2003-03-10 20:15:44 +0000
  • d98e5352c2 # Updated ChangeLog Robert James Kaes 2003-03-10 20:15:43 +0000
  • 146998ee2b # Bumped up the version number and added AC_PROG_LIBTOOL to the list of programs searched for by configure. This is needed since libtool is now a separate program from automake. Robert James Kaes 2003-03-10 20:07:55 +0000
  • 069700db50 # Added support for including source packaging files Robert James Kaes 2003-03-10 20:04:52 +0000
  • dbe4a508c8 Added the files required for creating tinyproxy RPMs for Redhat based systems. Robert James Kaes 2003-03-08 20:03:37 +0000
  • 20d3008c38 (main): Removed duplicate code calling the filter_destroy() function. Once is enough. [Detected by John M Wright] Robert James Kaes 2003-02-26 22:37:38 +0000
  • 1155be1c15 # Fixed up some formatting to make sure the line is less than 80 characters long Robert James Kaes 2003-02-21 17:09:24 +0000
  • 40c4d3c57a # (connect_to_upstream): Improved the preprocessor directives to make sure the function would compile cleanly regardless of how the directive was set. Robert James Kaes 2003-01-28 21:21:55 +0000
  • a135dadbc7 This commit was manufactured by cvs2svn to create tag 'release_1_5_3rc1'. 1.5.3rc1 cvs2svn 2003-01-27 18:52:25 +0000
  • 8f43cd72ad # Updated changelog Robert James Kaes 2003-01-27 18:52:24 +0000
  • 2f98fec1aa # Style clean up. Robert James Kaes 2003-01-27 18:45:25 +0000
  • abbf826445 (display_usage): Removed the output line mentioning that regular expression support was included. It will be there always. Robert James Kaes 2003-01-27 18:44:43 +0000
  • 2fc9c76969 (connect_to_upstream): Reorganized the preprocessor directives to make sure the function's symbol name is stored, even if upstream was not compiled it. This should keep some compilers from reporting errors. Robert James Kaes 2003-01-27 18:42:18 +0000
  • cb7e3eef04 Added support for conditionally using case sensitive filtering files. Code changes from James E. Flemer. Robert James Kaes 2003-01-27 17:57:45 +0000
  • 1624979f13 Moved the AH_TEMPLATE() macro for the GNU regex library to out from inside an if...fi test. Thanks to James E. Flemer for supplying a patch. Robert James Kaes 2003-01-27 17:48:26 +0000
  • ba02bd7567 # Grammar fix up. Thanks to James E. Flemer for pointing it out. Robert James Kaes 2003-01-27 17:42:50 +0000
  • c33d934a59 Changed the default manual section to section 8 (administrator commands). Robert James Kaes 2003-01-27 17:41:52 +0000
  • 212abd64d7 (process_client_headers): Fixed inverted anonymous header logic. Fix comes from the FreeBSD port through James E. Flemer. Robert James Kaes 2003-01-27 17:39:02 +0000
  • 038b495b3f This commit was manufactured by cvs2svn to create tag 'release_1_5_2'. 1.5.2 cvs2svn 2003-01-22 19:48:05 +0000
  • 90ca9c36ff # Added the 1.5.2 release change log Robert James Kaes 2003-01-22 19:48:04 +0000
  • fbcff969d1 # Bumped up version number to 1.5.2 Robert James Kaes 2003-01-22 19:46:06 +0000
  • a9e2f7ee89 This commit was manufactured by cvs2svn to create tag 'release_1_5_2rc2'. 1.5.2rc2 cvs2svn 2002-12-04 17:42:42 +0000
  • ce71e18f4d # Updated the change log Robert James Kaes 2002-12-04 17:42:41 +0000
  • 59ec5dc69f (strip_username_password): New function to remove any username/password part from the host URI. Robert James Kaes 2002-12-04 17:36:48 +0000
  • 0a20bdd5b4 Removed the "bool_t" type since it conflicts with the newer C standards. The type was just replaced by "unsigned int" types. Robert James Kaes 2002-12-04 17:06:14 +0000
  • 02d7474a09 # Updated change log with the latest changes Robert James Kaes 2002-11-29 20:42:24 +0000
  • d069b4fce9 (extract_http_url): Removed the leading "http://" from all the tests, since it's skipped by the caller before the URL is passed to this function. Robert James Kaes 2002-11-29 19:25:59 +0000
  • 05b16a78db # Bumped up the version number Robert James Kaes 2002-11-26 21:45:28 +0000
  • e58343012f Included code to disable the sending of the Via header. This is now controlled by the ViaHeader configure directive. Robert James Kaes 2002-11-26 21:44:43 +0000
  • c826b18437 (child_main): Cleaned up the notice string to be more clear why a child is being closed. Robert James Kaes 2002-11-21 21:54:09 +0000
  • 22df8c29e4 (main): Check to see if the PID file was created successfully, and if not report this to the user and close the program. Robert James Kaes 2002-11-21 21:52:59 +0000
  • 48df7d401c # Changed the return type for pidfile_create() to int from void. Robert James Kaes 2002-11-21 21:52:03 +0000
  • 820832a647 (create_file_safely): Rather than exiting the program if there is an error, a negative "error code" is returned to the program. The various callers then need to decide what to do. Robert James Kaes 2002-11-21 21:51:34 +0000
  • 6610ad0a1b Removed the documentation for the tunnel option since it's no longer part of the code. Robert James Kaes 2002-11-13 17:52:18 +0000
  • a6705159a5 # Updated the changelog file to include all the changes since 1.5.1 Robert James Kaes 2002-11-13 17:51:19 +0000
  • 3492993f73 This commit was manufactured by cvs2svn to create tag 'release_1_5_2rc1'. 1.5.2rc1 cvs2svn 2002-11-13 17:48:49 +0000
  • d40a4e8af7 (relay_connection): Shutdown the client socket for writing once all the data has been sent. Robert James Kaes 2002-11-13 17:48:48 +0000
  • a1e24ac839 (destroy_conn): Added code to log any error messages when the sockets are closed. Robert James Kaes 2002-11-13 17:47:40 +0000
  • cf138d7479 # Updated the version number to 1.5.2rc1 Robert James Kaes 2002-11-13 17:23:46 +0000
  • c1fbee04ce Removed the example for the Tunnel directive since it's been removed. Robert James Kaes 2002-11-05 05:31:05 +0000
  • 3b2be8ae88 Removed all the code supporting the TCP tunnelling feature of tinyproxy. There is really no need for this code, since there are perfectly good programs out there (like rinetd) which are designed for TCP tunnelling. tinyproxy should be a good HTTP proxy, nothing more, and nothing less; therefore, the tunnelling code is gone. Robert James Kaes 2002-11-03 17:10:33 +0000
  • 69be2b84d7 (relay_connection): Ivan pointed out a bug with the code to send any remaining data to the server when the connections are being closed. It was a one line fix. Robert James Kaes 2002-10-17 19:27:08 +0000
  • 1d39f204ca Fixed up the storing and sending of the internal tinyproxy logs prior to when the log file is created. Also, the log file is created with the proper owner permissions. Robert James Kaes 2002-10-03 20:53:11 +0000
  • 745c40650b #Style formatting change. Robert James Kaes 2002-10-03 20:50:59 +0000
  • 942f22989a The internal log structure now uses a vector rather than a hash. This change was required to actually display all the logs in the correct order. Also, all log lines are stored internally while tinyproxy is starting. At the appropriate point all the logs are written to the log file. Robert James Kaes 2002-10-03 20:49:57 +0000
  • 7fd291f407 Filtering is now case insensitive. Robert James Kaes 2002-10-03 20:40:39 +0000
  • 2b44dbd7e4 #(makedaemon): Commented out the closing of the standard file descriptors since we need them to display error messages. Robert James Kaes 2002-10-03 20:38:06 +0000
  • ac881909bf (child_main): Check to make sure memory could be allocated to handle the child request. (child_main_loop): Added a call to truncate_log_file() when the log file is to be rotated. Robert James Kaes 2002-10-03 20:33:09 +0000
  • 825fdffc47 This commit was manufactured by cvs2svn to create tag 'release_1_5_1'. 1.5.1 cvs2svn 2002-08-09 20:30:17 +0000
  • ef0656db3e # Added the release not to the changelog Robert James Kaes 2002-08-09 20:30:16 +0000
  • e30971a76c # Updated the version number to be 1.5.1 Robert James Kaes 2002-08-09 20:28:16 +0000
  • f8b5fe53e7 (main): Fixed up a bug reported by Oswald Buddenha where the log file was being initially created with the initial user's permissions, which is obviously a problem if tinyproxy is not running as the initial user. This is now fixed by delaying the creation of the log file until _after_ tinyproxy has been switched to the user it will run as. Confused yet? Robert James Kaes 2002-07-12 17:02:02 +0000
  • 3775924ded This commit was manufactured by cvs2svn to create tag 'release_1_5_1rc4'. 1.5.1rc4 cvs2svn 2002-07-11 18:47:01 +0000
  • 632f689209 # Bumped up the version number (rc4) Robert James Kaes 2002-07-11 18:47:00 +0000
  • 8a95d10be2 # Updated the ChangeLog Robert James Kaes 2002-07-11 18:46:34 +0000
  • ab574cbec0 (create_file_safely): (pidfile_create): Changed all the error logging to write to standard error and then exit the program. This will prevent segmentation fault problems from occurring because the log file could not be created properly. Robert James Kaes 2002-07-09 19:02:57 +0000
  • 4932b87fc9 (malloc_shared_memory): Changed the static character array to include the ".XXXXXX" string already. This saves one system call when creating a temporary file name. Robert James Kaes 2002-07-09 18:52:32 +0000
  • 01d2966cb8 Updated the "Support" section to include a link to the tinyproxy Bug Tracker system hosted by SourceForge. Robert James Kaes 2002-07-08 20:10:42 +0000
  • bf0709cd98 Removed the -D_REENTRANT C flag since tinyproxy is no longer a multi-threaded program. Robert James Kaes 2002-07-05 03:55:27 +0000
  • d8b36d2191 This commit was manufactured by cvs2svn to create tag 'release-1_5_1rc3'. 1.5.1rc3 cvs2svn 2002-06-27 16:30:54 +0000
  • 96c5ee9065 Updated the ChangeLog. Robert James Kaes 2002-06-27 16:30:53 +0000
  • dad3bb043a Updated the version number. Robert James Kaes 2002-06-27 16:30:38 +0000