diff options
author | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 04:42:32 +0000 |
---|---|---|
committer | Robert James Kaes <rjkaes@users.sourceforge.net> | 2001-10-25 04:42:32 +0000 |
commit | 3e91392c8a75d1dd81db1c87775d9fe53be374ec (patch) | |
tree | 865361ccdf921ee3064968b78ef539fd39db9c03 | |
parent | 6afa56ba09bec716362ff8ffeb95fdb71598830d (diff) | |
download | tinyproxy-3e91392c8a75d1dd81db1c87775d9fe53be374ec.tar.gz tinyproxy-3e91392c8a75d1dd81db1c87775d9fe53be374ec.zip |
More changes to reqs.c and buffer.c
Diffstat (limited to '')
-rw-r--r-- | ChangeLog | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 |