92f11c15aaAdded "releases.txt" to the list of files which need to be included in the tarball. "releases.txt" is created by a script which searches through the ChangeLog for release information.
Robert James Kaes
2002-05-17 20:11:26 +0000
15ac6d24a1Added release information for version 1.3.1 and 1.3.0
Robert James Kaes
2002-05-17 20:07:49 +0000
44bd80e100Added more release information.
Robert James Kaes
2002-05-17 20:03:13 +0000
b3af1a8740Fixed on inaccurate entry (the variable was made _signed_ to preserve the negative value.) Also, added in "Released tinyproxy ..." information so that changes between versions can be better determined.
Robert James Kaes
2002-05-17 19:32:23 +0000
700f129750Set the pointer to NULL after it's been freed()
Robert James Kaes
2002-05-17 16:39:35 +0000
e4e78e0f1brequest->host might have been freed by the time we get to free_request_struct(), so make sure it's pointing to memory.
Robert James Kaes
2002-05-17 16:34:42 +0000
bb9f206529Moved the definition of the struct buffer_s into the buffer.c file and out of the buffer.h file. This also required the removal of the BUFFER_SIZE macro, and replace it with the buffer_size() function.
Robert James Kaes
2002-05-14 00:43:38 +0000
d46cba8a0bAdded a "tail" pointer to the vector to make insertions more efficient.
Robert James Kaes
2002-05-13 23:32:16 +0000
16e96c79e8Thanks to Justin Guyett for making the hashmap_insert() function use a constant time insert. Explanation: new enteries are added to the _front_ of the chain, rather than search to the end.
Robert James Kaes
2002-05-13 20:02:23 +0000
73e3b495e0Fixed up a potential SEGFAULT if memory for an entry could not be allocated. Also, thanks to Justin Guyett for finding a problem the hashmap_remove() function. There was a problem where an entry's "prev" pointer could be pointing to freed memory.
Robert James Kaes
2002-05-13 18:47:46 +0000
f0b0990612Fixed up the installation of the tinyproxy.conf file. The file is only installed if it doesn't already exist (rather than giving a make error.)
Robert James Kaes
2002-05-10 19:53:03 +0000
780032c884This commit was manufactured by cvs2svn to create tag 'rel_1_5_0'.
1.5.0
cvs2svn
2002-05-09 17:36:32 +0000
8e9fee2e10Changed the version number to 1.5.0
Robert James Kaes
2002-05-09 17:36:31 +0000
924b6192c1Blocking ports has been added as well as the selective binding.
Robert James Kaes
2002-05-09 16:25:32 +0000
6ceb6c7ebbThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc10'.
1.5.0rc10
cvs2svn
2002-05-08 19:57:03 +0000
a25e0a608ebumped up version number
Robert James Kaes
2002-05-08 19:57:02 +0000
f58a34ed34--with-config now supports absolute paths as per James Flemer's request.
Robert James Kaes
2002-05-08 18:42:44 +0000
3138b239f6Removed the NEWS file from the CVS since it's really a distribution file, not a source file.
Robert James Kaes
2002-05-08 15:55:46 +0000
cf2ecb83b8Removed the request logging in the tunnel because it breaks the tunnel concept since it blocks waiting for information from the client before any data from the remote is relayed.
Robert James Kaes
2002-05-08 03:29:23 +0000
80b58229ddThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc8'.
1.5.0rc8
cvs2svn
2002-05-02 18:22:16 +0000
14f83aec55Fixed up the usage of the CFLAGS
Robert James Kaes
2002-05-02 18:22:15 +0000
50058c1cabProper handling of the tinyproxy.conf location within the source tree (needed for make distcheck.)
Robert James Kaes
2002-05-02 18:12:32 +0000
42ef3b86b6Bumped up the version number.
Robert James Kaes
2002-05-02 17:36:46 +0000
6004eca8c6Improved the code to install all the files into their properly locations.
Robert James Kaes
2002-05-02 17:35:27 +0000
0a1f83bbe5tinyproxy should be installed into the /sbin directory rather than the /bin directory since it's a network daemon.
Robert James Kaes
2002-05-02 17:34:58 +0000
82f7a5cba6Added code to figure out and install the configuration file.
Robert James Kaes
2002-05-02 04:44:03 +0000
08774fcb3aThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc7'.
1.5.0rc7
cvs2svn
2002-04-29 16:32:21 +0000
c89813d5d7Bumped up the version number.
Robert James Kaes
2002-04-29 16:32:20 +0000
fefedea577Added the reason why servers_waiting needs to be a signed integer.
Robert James Kaes
2002-04-29 16:31:16 +0000
3284f365b2Check the return value of the write_message() function.
Robert James Kaes
2002-04-28 20:03:53 +0000
ed90a4676fAdded more error checking in process_client_headers() and process_server_headers() functions.
Robert James Kaes
2002-04-28 20:03:18 +0000
f79807ac11Added extra logging information, and made sure that locks were being released properly.
Robert James Kaes
2002-04-28 18:32:16 +0000
e4fe04cbafClear the total array of threads before any of the threads are created.
Robert James Kaes
2002-04-28 03:09:52 +0000
577f3cebbfFixed up the error detection code when relating the pthread functions. They return 0 if OK, and a positive error code.
Robert James Kaes
2002-04-28 02:37:01 +0000
1a8c914dd2Changed the len type to ssize_t because we need to detect errors in the recv() call. Thanks to Tom Cross for discovering this bug.
Robert James Kaes
2002-04-26 19:33:09 +0000
ed0473f070This commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc6'.
1.5.0rc6
cvs2svn
2002-04-26 16:59:45 +0000
9554989110Bumped up the version number.
Robert James Kaes
2002-04-26 16:59:44 +0000
1d78e63233Added an assert in hashmap_first()
Robert James Kaes
2002-04-26 16:51:29 +0000
e9f5b2e75fCheck the return value of hashmap_first()
Robert James Kaes
2002-04-26 16:50:55 +0000
0e7182533cNeed to check the return value of hashmap_first() since it could be negative.
Robert James Kaes
2002-04-26 16:43:20 +0000
144f91487fThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc5'.
1.5.0rc5
cvs2svn
2002-04-25 19:20:57 +0000
6992c74bbaCheck to see if request->path is actually allocated before trying to free it.
Robert James Kaes
2002-04-25 19:20:56 +0000
284def7321Fixed up the test for the c_r library. Also, added the -D_REENTRANT define _always_.
Robert James Kaes
2002-04-25 19:00:03 +0000
7fe567da94Changed to the hashmap module, and to the remove_connection_headers() function.
Robert James Kaes
2002-04-25 18:58:55 +0000
b4ef24844fFirst change all the hashmap related calls to use the new API. The remove_connection_headers() function now handles both the Connection header _and_ the Proxy-Connection header.
Robert James Kaes
2002-04-25 18:58:08 +0000
d1031e2c8fThe hashmap API changed, so this function needs to be changed as well.
Robert James Kaes
2002-04-25 18:56:43 +0000
ce51a74045Removed the hashmap_keys() function and added the "iterator" concept. This required a bunch of changes to the source (like the inclusion of the end_iterator member variable.) All this was required by sites like Yahoo which send out multiple "Set-Cookie" headers. tinyproxy needs to handle this situation correctly.
Robert James Kaes
2002-04-25 18:55:56 +0000
b5df4f1cf0hashmap_search() only takes two arguments, so removed the unneeded NULL.
Robert James Kaes
2002-04-25 18:52:09 +0000
d7c3f23610bind_address has been moved inside the config structure. Fixed up a problem where "data" was being freed even if it had not been allocated (because of an error condition.)
Robert James Kaes
2002-04-24 16:48:34 +0000
335d787018Fixed a couple of problems where tinyproxy was trying to free a memory block which had not been allocated.
Robert James Kaes
2002-04-24 16:47:19 +0000
89ada2df28Moved bind_address inside the config structure.
Robert James Kaes
2002-04-24 16:45:45 +0000
e7c7c91d71Added the "Bind" directive.
Robert James Kaes
2002-04-22 19:49:40 +0000
c5b9ec889eRenamed the LOCKing macros and added assert debugging code. Also, moved the mutex initialization into a function call so that I can use an error checking mutex once I figure out how to get it to work on my computer.
Robert James Kaes
2002-04-22 19:41:17 +0000
c648ed1bc5Added the "Bind" directive. Fixed up the log_message function to store messages until the log file has been created. "Proxy-Connection" is not sent along to the remote message.
Robert James Kaes
2002-04-22 19:37:15 +0000
08077cc9e1The "Bind" directive sets a binding address which the outgoing connections will use.
Robert James Kaes
2002-04-22 19:35:24 +0000
1953348c90Added the "Proxy-Connection" header to the list of client headers which are not passed along.
Robert James Kaes
2002-04-22 19:34:50 +0000
2ec7a4dd72The log_message() function now stores the messages if the configuration file has not been read yet. The reason for this is that we don't know where to log the messgaes until _after_ the config file has been processed.
Robert James Kaes
2002-04-22 19:34:20 +0000
60f61c8f0cAdded the "Bind" directive.
Robert James Kaes
2002-04-22 19:33:01 +0000
aa68eb8540Whoops. The previous include only had the code conditionally removed. Remove for real this time.
Robert James Kaes
2002-04-18 21:54:50 +0000
1db154464eRemoved the call to inet_aton() since the gethostbyname() function handles the dotted-decimal case itself.
Robert James Kaes
2002-04-18 21:53:33 +0000
60f0a86c75The stats now wait until after the client has finished sending all its headers before sending the HTTP response back. This should be more standards compliant.
Robert James Kaes
2002-04-18 21:43:53 +0000
32145fea2aThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc4'.
1.5.0rc4
cvs2svn
2002-04-18 18:48:58 +0000
1691feb9bbBumped the version number to 1.5.0rc4
Robert James Kaes
2002-04-18 18:48:57 +0000
73a53daf38Removed the call to hstrerror() in the getpeer_string() function. It's not available on all machines.
Robert James Kaes
2002-04-18 18:48:22 +0000
09c7acf9fcMemory leak in the hashmap_delete() function has been fixed.
Robert James Kaes
2002-04-18 18:41:27 +0000
d14b612e13Fixed a memory leak in the hashmap_delete function. The array of maps was not being deleted.
Robert James Kaes
2002-04-18 18:40:38 +0000
45a96fde12Changed to vector.c and hashmap.c Added the debugging_strdup() function. Fixed a memory leak in get_all_headers.
Robert James Kaes
2002-04-18 18:00:35 +0000
9a8d732a13Changed all calls to strdup to safestrdup. This should provide better memory usage tracking.
Robert James Kaes
2002-04-18 17:59:21 +0000
a66aae880cFixed a memory leak in reading in headers from the client or server.
Robert James Kaes
2002-04-18 17:58:52 +0000
3b5a4b7362Replaced the explicit header includes with one call to tinyproxy.h. Also, added the utils.h header and changed all the malloc, calloc, free, and strdup to the appropriate safe variety.
Robert James Kaes
2002-04-18 17:57:20 +0000
ce4687fbf9Added the debuggin_strdup() function and the associated safestrdup() macro. Also, added asserts to the other debugging_* functions.
Robert James Kaes
2002-04-18 17:49:14 +0000
4a7ef24bf7This commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc3'.
1.5.0rc3
cvs2svn
2002-04-18 17:04:39 +0000
dc18888c83Bumped up the version number to 1.5.0rc3
Robert James Kaes
2002-04-18 17:04:38 +0000
43860d2469Moved the filter_destroy() logic from inside the signal handler. It's now been moved to inside the main() function.
Robert James Kaes
2002-04-18 17:04:04 +0000
5822ec3d44Moved the log rotation code out of the signal handler and into it's own function. The signal handler now simply sets a flag which is monitored inside the thread_main_loop() function. The log rotation code has also been tightened to handle any error conditions better. Credit to Petr Lampa for suggesting that system functions inside of a signal handler is bad magic.
Robert James Kaes
2002-04-18 16:57:06 +0000
2aac6bc23fThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc2'.
1.5.0rc2
cvs2svn
2002-04-17 20:57:59 +0000
6a588826c1Changes to configure.ac, src/sock.c, src/reqs.c, src/acl.c, src/acl.h, and src/thread.c
Robert James Kaes
2002-04-17 20:57:58 +0000
9fd6a9eaa9Added a test for pthread_cancel() since it's not available on all platforms.
Robert James Kaes
2002-04-17 20:56:35 +0000
3e60a5b819Removed the LOOKUP_LOCK() and LOOKUP_UNLOCK() macros since I believe I need locking around both gethostbyname() and gethostbyaddr() at the same time.
Robert James Kaes
2002-04-17 20:56:13 +0000
1d85484c3aIf the initialize_conn() function fails, close the socket and return. Also, changed the call to check_acl() to include the peer's IP and string addresses.
Robert James Kaes
2002-04-17 20:55:21 +0000
42098699dbRemoved the close(connfd) call since the socket has already been closed from within the handle_connection() function.
Robert James Kaes
2002-04-17 20:54:26 +0000
44bbdb2623Changed the check_acl() function to require the peer IP address and string address from the calling function.
Robert James Kaes
2002-04-17 20:52:45 +0000
795f4f2fe7More spelling fixes.
Robert James Kaes
2002-04-16 04:58:51 +0000
8defcc6225Just general spell checking.
Robert James Kaes
2002-04-16 04:14:59 +0000
0fb2fa7393Various changes in the src/anonymous.c and src/reqs.c files.
Robert James Kaes
2002-04-16 03:22:44 +0000
04da777bedRemoved the duplicate calls to strlen().
Robert James Kaes
2002-04-16 03:22:16 +0000
0e4436a070Tightened the lookup_domain() function.
Robert James Kaes
2002-04-16 03:21:46 +0000
ca10b1353dVarious code clean up. There is nothing new here, just mechanical changes to the source to either remove code which is not needed, or consolidate common code into a common section.
Robert James Kaes
2002-04-16 03:20:43 +0000
c722851bceCleaned up the return values of the two anonymous functions to make the code cleaner and smaller.
Robert James Kaes
2002-04-16 03:19:19 +0000
bdfad7a2ddBumped up version number
Robert James Kaes
2002-04-16 00:23:23 +0000
cd66e52afaThis commit was manufactured by cvs2svn to create tag 'rel_1_5_0rc1'.
1.5.0rc1
cvs2svn
2002-04-15 04:17:18 +0000
17ea28ccc6Changes for chomp(), read_request_line(), and readline()
Robert James Kaes
2002-04-15 04:17:17 +0000
4b7de22999Added a test to make sure the "whole_buffer" could be allocated.
Robert James Kaes
2002-04-15 04:16:01 +0000
550145d49eChanged the variable type in read_request_line() to an unsigned variable in order to detect negative returns.
Robert James Kaes
2002-04-15 04:14:03 +0000
f0b6861998Added an assert() call to detect design errors.
Robert James Kaes
2002-04-15 04:13:14 +0000
a5d3212751Changed the error boolean flag into a pointer to an error string and an error code. We're storing this information because tinyproxy doesn't output the error information until _after_ the client has sent it's information.
Robert James Kaes
2002-04-15 02:07:27 +0000
c86d22226fAdded additional error handling for the bind() and listen() system calls when setting up the listening socket.
Robert James Kaes
2002-04-13 19:03:18 +0000
0b524d5437This commit was manufactured by cvs2svn to create tag 'rel_1_5_0pre6'.
1.5.0pre6
cvs2svn
2002-04-13 17:53:56 +0000
6c2d7ebaa4Bumped up version number.
Robert James Kaes
2002-04-13 17:53:55 +0000
be47c1791dModified the opensock() function to respect the Listen directive. If it's set, bind all outgoing addresses to this local address.
Robert James Kaes
2002-04-13 05:20:19 +0000