summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 04:42:32 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-10-25 04:42:32 +0000
commit3e91392c8a75d1dd81db1c87775d9fe53be374ec (patch)
tree865361ccdf921ee3064968b78ef539fd39db9c03
parent6afa56ba09bec716362ff8ffeb95fdb71598830d (diff)
downloadtinyproxy-3e91392c8a75d1dd81db1c87775d9fe53be374ec.tar.gz
tinyproxy-3e91392c8a75d1dd81db1c87775d9fe53be374ec.zip
More changes to reqs.c and buffer.c
Diffstat (limited to '')
-rw-r--r--ChangeLog14
1 files changed, 14 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 4f2372d..b7567c5 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+2001-10-25 Robert James Kaes <rjkaes@flarenet.com>
+
+ * 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 <rjkaes@flarenet.com>
* src/sock.c (getpeer_string): Added logging in case the