From 3e91392c8a75d1dd81db1c87775d9fe53be374ec Mon Sep 17 00:00:00 2001 From: Robert James Kaes Date: Thu, 25 Oct 2001 04:42:32 +0000 Subject: More changes to reqs.c and buffer.c --- ChangeLog | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'ChangeLog') diff --git a/ChangeLog b/ChangeLog index 4f2372d..b7567c5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,17 @@ +2001-10-25 Robert James Kaes + + * src/reqs.c (relay_connection): Empty the contents of both + buffers when either socket is closed. This is more in line with + what a tunnel should do. Since either end could close with + information still in the buffers. + (connect_to_upstream): Cleaned up the code to re-use the + establish_http_connection() function. + + * src/buffer.c (readbuff): Changed the memory allocation to 2K + from 48K since an Ethernet connection is usually around 1400 + bytes. There's little point in allocating a huge amount of memory, + only to shrink the memory map in the next breath. + 2001-10-22 Robert James Kaes * src/sock.c (getpeer_string): Added logging in case the -- cgit v1.2.3