Commit Graph

82 Commits

Author SHA1 Message Date
Robert James Kaes
6edba0dfa6 Updated the changelog information. 2002-04-07 21:30:30 +00:00
Robert James Kaes
daf90db115 Update to reflect changes to configure.ac 2002-04-02 17:00:29 +00:00
Robert James Kaes
1819c0f818 Added code to check for "errors" from the accept call in thread_main() and
also a new thread_kill_threads() function which should cancel all threads
when the main thread is being closed.
2002-01-25 00:01:45 +00:00
Robert James Kaes
388920bc53 Added code which checks to see if the user has signalled that tinyproxy
should be closed.
2002-01-08 02:02:25 +00:00
Robert James Kaes
a0dee6c57f Check for errors returned by the accept() function. 2001-12-28 22:29:11 +00:00
Robert James Kaes
8cfe33fc4a more changes to utils.c, reqs.c, and sock.c 2001-12-24 00:03:00 +00:00
Robert James Kaes
831b00dc7a Made the error message regarding the Idle timeout more verbose, and
changed the level to WARNING.
2001-12-23 22:00:36 +00:00
Robert James Kaes
c3124815a1 Cleaned up the code which sends the "Via" header. It now uses
write_message().
2001-12-23 21:55:08 +00:00
Robert James Kaes
4ed73b6f07 Fixed up the order of some of the includes to cope with OpenBSD. Also,
test for the MSG_NOSIGNAL define.
2001-12-23 03:28:03 +00:00
Robert James Kaes
63a1fa96cc Removed duplicate code from process_server_headers() and removed the calls
to strlen(); readline() already returns the length of the string, so use
that instead.
2001-12-19 20:40:23 +00:00
Robert James Kaes
4a257edd0a Update the reqs.c file. 2001-12-19 05:10:46 +00:00
Robert James Kaes
a62834808a Added the code the log the request when in tunnelling mode. 2001-12-17 19:10:37 +00:00
Robert James Kaes
15a7581e30 Updated the changelog. 2001-12-17 00:12:15 +00:00
Robert James Kaes
70970e832a Updates for safe_write() and anonymous section. 2001-12-15 20:01:42 +00:00
Robert James Kaes
e10d005f81 Added the lookup_domain() function which replaces the DNS caching system. 2001-12-15 06:00:03 +00:00
Robert James Kaes
7c4569624d Updates relating to the fixes to buffering code in read_buffer(). 2001-11-26 01:31:26 +00:00
Robert James Kaes
b0748328d7 More changes. 2001-11-25 22:03:52 +00:00
Robert James Kaes
c8b2c614f9 More updates. 2001-11-25 02:20:00 +00:00
Robert James Kaes
bcb54a8a67 Changes relating to chomp() 2001-11-23 01:11:58 +00:00
Robert James Kaes
bcb7c68911 Updated readline() function. 2001-11-22 00:20:53 +00:00
Robert James Kaes
270af08171 Removed the buffer_size() function and turned it into BUFFER_SIZE() macro.
Moved the struct buffer_s into the header file. Added more assert() calls
to better document the assumptions the functions make. Removed incorrect
code in remove_from_buffer() which was never actually called anyway.
2001-11-05 15:23:05 +00:00
Robert James Kaes
3d9a64d54e ACL fixes. Use a better differentiation between string and numeric
addresses.
2001-11-03 06:10:08 +00:00
Robert James Kaes
4ecb6d1a3d Changes reflecting the new conns.* files and the organization of the
header files.
2001-10-25 17:39:52 +00:00
Robert James Kaes
2da1378f53 Changes to reflect the various fixes to have CONNECT upstream proxying
work.
2001-10-25 05:13:18 +00:00
Robert James Kaes
3e91392c8a More changes to reqs.c and buffer.c 2001-10-25 04:42:32 +00:00
Robert James Kaes
d090c02476 New changes to getpeer_string(). 2001-10-23 03:58:40 +00:00
Robert James Kaes
358b2781af Cleaned up the code in handle_connection() and added a NULL pointer test
in the free request function.
2001-10-22 16:08:29 +00:00
Robert James Kaes
ad743c1e41 Fixed a problem where a user's variable would be uninitialized if a DNS
lookup failed.
2001-10-22 15:56:11 +00:00
Robert James Kaes
b40e382e5a More moving around of the source code. Still can't get CONNECT to work
with an upstream proxy.
2001-10-19 18:03:49 +00:00
Robert James Kaes
26587ef1e7 Fixed a problem where a full buffer on the read side would cause the
connection to be closed.
2001-10-18 21:45:54 +00:00
Robert James Kaes
af1246c78b Added the ability to compile tinyproxy with static linking. 2001-10-01 04:01:10 +00:00
Robert James Kaes
f869dfabdf More changes, mostly related to the support for an upstream proxy. 2001-09-16 20:15:06 +00:00
Robert James Kaes
8df2fba997 More changes. 2001-09-15 21:32:24 +00:00
Robert James Kaes
13c1e97beb The biggest change is the added support for SSL. 2001-09-14 23:45:15 +00:00
Robert James Kaes
6f6730c28d Fixed a memory leak in process_method(). 2001-09-12 03:33:43 +00:00
Robert James Kaes
cbe19e29c7 More changes. These all relate to the switch from stack memory to heap
memory.
2001-09-11 19:28:00 +00:00
Robert James Kaes
1bc68cc41d Fixed a memory leak. 2001-09-11 04:14:43 +00:00
Robert James Kaes
07bcd97961 More changes. 2001-09-08 18:59:13 +00:00
Robert James Kaes
b8a694e7a3 Fixed a memory leak in thread_main(). 2001-09-08 06:29:04 +00:00
Robert James Kaes
28d955a3c8 Explictly added the DETACHED creation method on threads. 2001-09-07 18:19:39 +00:00
Robert James Kaes
2b781f537c Updates. 2001-09-07 04:21:53 +00:00
Robert James Kaes
4dd64f873e Updates 2001-09-07 00:45:32 +00:00
Robert James Kaes
11cbe6cb5b More updates. 2001-09-04 18:22:12 +00:00
Robert James Kaes
b095c7a84d Updates. 2001-09-04 16:50:45 +00:00
Robert James Kaes
2857b4be36 Spelling and grammar fixes. 2001-08-30 22:00:36 +00:00
Robert James Kaes
c825db8d56 More fixes. 2001-08-30 16:53:36 +00:00
Robert James Kaes
5584d30eed More change logs. 2001-08-29 04:06:00 +00:00
Robert James Kaes
42849c7d66 Fixed a problem in log.c 2001-08-28 15:52:40 +00:00
Robert James Kaes
4dbc4a637b More changes. 2001-08-28 04:35:03 +00:00
Robert James Kaes
f61c275395 More changes as per usual. :) 2001-08-27 17:47:40 +00:00