line-at-a-time processing fixes. Bugs caused by ftp://ftp.proftpd.org/
ftpParseListing() didn't properly retain ->data.offset between
calls.
proftpd was sending two control replies together, e.g.
150 opening connection
226 transfer done
ftpParseControlReply() was returning '226' only. Now the control stream
is "buffered" and ftpParseControlReply() has been split into a reading
part and a processing part.
wessels [Tue, 30 Jun 1998 05:29:16 +0000 (05:29 +0000)]
lock store entry during peer selection phase, esp important for ICP
because of delays.
check the cbdata status of the peer select callback in peerSelectTimeout()
wessels [Tue, 30 Jun 1998 03:03:01 +0000 (03:03 +0000)]
a little rearrangement. For CACHEOBJ and INTERNAL requests we don't
need (want) to create fwdState because it won't be attached to
a server-side FD and won't be deallocated.
wessels [Mon, 29 Jun 1998 21:22:50 +0000 (21:22 +0000)]
Move pumpRestart check from http.c to forward.c
Removed unused httpRestart() and httpTryRestart()
removed storeUnregister/storeClientListAdd calls for pump requests because
we need the pump code to stay attached to the client in case we need to
re-forward the request.
wessels [Fri, 26 Jun 1998 10:23:33 +0000 (10:23 +0000)]
adjust sensitivity of peer RTT calculations. Changed the average factor
from 1000 to 50. Added a call to gettimeofday() in comm_incoming().
Surely someone will protest that.
wessels [Wed, 10 Jun 1998 11:48:48 +0000 (11:48 +0000)]
Fixed handing pipelined POSTs. We were copying data past the first
request body to the request->body buffer and losing the second request.
Now check content lengths, etc.
wessels [Wed, 10 Jun 1998 11:47:09 +0000 (11:47 +0000)]
change comm_add_close_handler assertion. It must be allowed to have
the same close handler on the same FD. Now abort if both the handler
and the callback data are the same.
wessels [Mon, 8 Jun 1998 23:29:14 +0000 (23:29 +0000)]
- Copied more robust TCP UP/DOWN patch from 1.1 code
- added 'unique_hostname' configuration option when people want to use
the same visible hostname for multiple caches.
wessels [Fri, 5 Jun 1998 00:57:06 +0000 (00:57 +0000)]
- Renamed proto.c to forward.c
- Connection establishment now done in forward.c; this is the first step
to more significant changes in being more persistent in forwarding
requests.
- Removed most *ConnectDone() functions
- split whois code out of asn.c and into whois.c
rousskov [Wed, 3 Jun 1998 05:29:03 +0000 (05:29 +0000)]
- often entry->timestamp is greater than squid_curtime; perhaps due to clock
de-synchronization with origin server. Set age to 0 in such cases because
"timestamp > squid_curtime" probably means that we just got or revalidated
the object anyway.
rousskov [Wed, 3 Jun 1998 03:50:21 +0000 (03:50 +0000)]
- replaced "<none>" with "nothing" for FTP history escapes. "<none>" is
treated as an unknown HTML tag by a browser and the user gets an empty line
instead of a message that no communication has been recorded.
rousskov [Wed, 3 Jun 1998 03:17:56 +0000 (03:17 +0000)]
- Allow "seen" offset to be greater than "inmem_hi" for pending store entries.
This change allows store clients to "skip" incoming data regardless of
current inmem_hi value. Used in range request processing.