]> git.ipfire.org Git - thirdparty/squid.git/blame - ChangeLog
in comm_poll(), the code was #ifdef'd out which closed the sever
[thirdparty/squid.git] / ChangeLog
CommitLineData
68e3a9df 1 - Fixed up poll() #defines in squid.h (Stewart Forster).
2 - Changed poll() timeout from 1000 msec to 50 msec for
3 better performance under low load (Stewart Forster).
e7a1fde6 4 - Changed storeWriteCleanLogs() to write objects in the LRU
5 list order instead of the random hash table order.
109ff6af 6 - Fixed FTP bug when data socket connections fail or timeout.
7 - Reuse FTP data connection when possible (Henrik Nordstrom).
8 - Added configure options (Henrik Nordstrom)
9 --enable-store-key=sha|md5
10 --enable-xmalloc-statistics
11 --enable-xmalloc-debug
78743365 12 --enable-xmalloc-debug-count
13 --async-io
e7a1fde6 14
affe7929 15Changes to squid-1.2.beta10 (Dec 30, 1997):
16
07a27790 17 - Fixed content-length bugs for 204 replies, 304 replies,
18 and HEAD requests (Henrik Nordstrom).
19 - Fixed errorAppendEntry() bug in gopherReadReply().
20 - Basic support for FTP URL typecodes (;type=X).
8aaa4c20 21 - Support for access controls based on ehternet MAC addresses
22 (Dale).
23 - Initial URN support; see
24 http://squid.nlanr.net/Squid/urn-support.html
25 - Fixed client-side persistent connections for objects with
26 bad content lengths (Henrik Nordstrom).
b17727e3 27 - Fixed bad call to storeDirUpdateSwapSize() for objects which
28 never reach SWAPOUT_DONE state.
07a27790 29
b90a0f8d 30Changes to squid-1.2.beta8 (Dec 2, 1997):
31
eae03fc8 32 - Fixed accessLogLog() to log ident from Proxy-Authorization
33 request header (BoB Miorelli).
226f9ba2 34 - Fixed #includes, prototypes, etc. in SNMP source files.
35 - Moved 'POLLRDNORM' and 'POLLWRNORM' macro checks from
36 include/config.h.in to src/squid.h
37 - Moved 'num32' typedefs from src/typedefs.h to
38 include/config.h.in.
39 - Moved snmplib/md5.c to lib/md5.c.
40 - Added MD5 cache key support.
41 - Removed xmalloc() return check in uudeocde.c
42 - Added 'ifdef' support to cf_gen.c for optional code (e.g. SNMP)
43 - Changed 'client' program to provide easier cache manager access,
44 e.g.: 'client mgr:info'
45 - Fixed 'client' to send 'Connection' instead of 'Proxy-Connection'
46 for simulated keep-alive requests.
47 - Removed 'fd' arg from clientProcess* functions.
9e3468d5 48 - Fixed bugs from using errorSend() on persistent/pipelined
226f9ba2 49 client connections. A latter request should not be allowed to
50 write to the client fd until the current request completes.
51 Now use errorAppendEntry() for such situations.
52 - Fixed content-length bugs. We were using content-length == 0
53 to also indicate a lack of content-length reply header. But
54 'content-length: 0' might appear in a reply, so now use -1 to
55 indicate that no content length given.
56 - Split up clientProcessRequest() into smaller chunks so it
57 might be easier to follow.
58 - renamed various client_side.c functions to start with 'client'
59 instead of 'icp'.
60 - Fixed a 'cbdata leak' from the comm.c close handlers.
61 - Fixed a 'cbdata leak' from the comm.c connect routines.
62 - Fixed comm_select() and comm_poll() to stop looping on the
63 incoming HTTP/ICP sockets. If there are fewer than 7 FD's
64 ready for I/O, the incoming sockets might not get service, so
65 comm_select() would be called for up to 7 times until the
66 'incoming_counter' was incremented enough to trigger a call
67 to comm_select_incoming(). Now we make sure
68 comm_select_incoming() gets called if select returns less
69 than 7 ready FD's.
9e3468d5 70 - Added errorpage '%B' token to generate FTP URLs with a '%2f'
71 inserted at the start of the url-path. calls ftpUrlWith2f().
72 (Henrik Nordstrom).
226f9ba2 73 - Changed fqdncache.c to use LRU double-linked list instead of qsort()
74 for replacement and cachemgr output.
75 - Changed ipcache.c to use LRU double-linked list instead of qsort()
76 - Changed hash_insert() and hash_join() to return void.
77 for replacement and cachemgr output.
78 - Moved StoreEntry->method member to MemObject->method.
79 - Made StoreEntry->flags 16 bits.
80 - Made StoreEntry->refcount 16 bits.
81 - Changed URL-based public cache key to always include the request
82 method.
eae03fc8 83
95bc9f0b 84Changes to squid-1.2.beta7 (Nov 24, 1997):
85
6a11653c 86 - Fixed poll() for Linux (David Luyer).
87 - SHA optimizations (David Luyer).
88 - Fixed errno clashes with macro on Linux (David Luyer).
89 - Fixed storeDirCloseSwapLogs(); logs might not be open.
90 - Fixed storeClientCopy2() bug. Detect when there is
91 no more data to send for objects in STORE_OK state.
19ee64b1 92 - Fixed FTP truncation bug when ftpState->size == 0, e.g.
93 especially directory listings.
95bc9f0b 94 - Mega FTP fix from Henrik Nordstrom. A better job of
95 implementing the '%2f' hack.
96 - Fixed some pipelined request bugs. storeClientCopy() was
97 being given the wrong StoreEntry, and we had a race condition
98 which is now handled by storeClientCopyPending().
99077fe6 99 - Added initial SNMP support.
6a11653c 100
2c9b45c9 101Changes to squid-1.2.beta6 (Nov 13, 1997):
102
1b5516d3 103 - Fixed Authorized responses getting swapped out when they
104 don't have Proxy-Revalidate reply header.
105 - Fixed Proxy Authentication support. We never sent back
106 a 407 reply, and were incorrectly incrementing the passwd
107 before comparing it.
108 - Fixed stat()ing pathnames for default values before parsing
109 config file (Ron Gomes).
110 - Fixed logging request and response headers on separate lines
111 (Ron Gomes).
112 - Fixed FTP Authentication message (Henrik Nordstrom).
113 - Changed Proxy Authentication to trigger a reread of the passwd
114 file if a password check fails (Henrik Nordstrom).
115 - Changed FTP to retry the first CWD with a leading slash if it
116 fails without one.
117
8c17a569 118Changes to squid-1.2.beta5 (Nov 6, 1997):
119
90045285 120 - Track the 'keep-alive ratio' for a peer as the ratio of
121 the number of replies including 'Proxy-Connection: Keep-Alive'
122 compared to the number of requests sent. If the peer does
123 not support Persistent connections then this ratio will tend
124 toward zero. If the ratio is less than 50% after 10 requests
125 then we'll stop sending Keep-Alive.
8c3994aa 126 - Proper support for %nn escapes in FTP, and numerous
127 other fixes (Henrik Nordstrom).
128 - Support for Secure Hash Algorithm and framework for other
129 hash functions as cache keys.
130 - Fixed SSL snprintf() bug which broke SSL proxying.
131 - Fixed store_dir swap log bug from reconfigure (SIGHUP).
8c17a569 132 - Fixed LRU Reference Age bug. The arg to pow() must be
8031bd43 133 minutes, not seconds.
90045285 134
9ddfb255 135Changes to squid-1.2.beta4 (Oct 30, 1997):
136
a493f974 137 - Fixed DST bug in rfc1123.c
138 - Changed default http_accel_port to 80.
139 - added errorCon() as a ErrorState constructor function
140 (Max Okumoto).
141 - Added ERR_FTP_FAILURE message for ftpFail().
142 - For FTP, the timeout callback must be moved to the 'data'
143 descriptor when data transfer begins. Otherwise we are
144 likely to get a timeout on the control descriptor.
145 - Fixed double-free bug in httpRequestFree().
146 - Fixed store_swap_size counting bug in storeSwapOutHandle().
147
409a6aad 148Changes to squid-1.2.beta3 (Oct 29, 1997):
149
150 - Initialize _res.options to RES_DEFAULT in dnsserver.c.
151 - Fix assertions which assumed 4-byte pointers.
152 - Fix missing % in fqdncache.c snprintf().
153
5a2d610b 154Changes to squid-1.2.beta2 (Oct 28, 1997):
155
8c3994aa 156 - Fixed aiops.c and async_io.c so that they actually compile
f5b8bbc4 157 with USE_ASYNC_IO (Arjan de Vet).
158 - Fixed errState->errno causing problems with some macros
159 (Michael O'Reilly).
d287f51e 160 - Fixed memory leaks in pconn.c (Max Okumoto).
0866009b 161 - Enhanced 'client' program with 'ping' behaviour (Ron Gomes).
272547b5 162 - Fixed InvokeHandlers() from calling memCopy() for ALL
163 store_client's with callbacks. A store_client might be reading
164 from disk.
5a2d610b 165 - Rewrote storeMaintainSwapSpace(). No longer will we scan one
272547b5 166 bucket at a time. Instead we'll maintain a single LRU
167 list. When an object is 'touched' we move it to the
168 top of this list. When we need disk space, we delete
169 from the bottom.
5a2d610b 170 - Removed storeGetSwapSpace().
f5b8bbc4 171
871f0b8a 172Changes to squid-1.2.beta1 ():
173
174 - Reworked storage manager to not keep objects in memory during
175 transit. In other words, no separate NOVM distribution.
176 - Lots of cleanup and debugging for beta release.
177 - Use snprintf() everywhere instead of sprintf().
178 - The 'in_memory' hash table has been replaced with a
179 doubly-linked list. New objects are added to the head of
180 the list. When memory space is needed, old objects are
181 purged from the tail of the list.
182
0edfe7a2 183Changes to squid-1.2.alpha7 ():
184
c4958532 185 - fixes fixes fixes.
186 - Made Arjan's PROXY_AUTH ACL patch standard.
0edfe7a2 187
8905b90c 188Changes to squid-1.2.alpha6 ():
189
6684fec0 190 - Simpler cacheobj implementation.
6605655c 191 - persistent connection histogram
8872e1f8 192 - SERVER-SIDE PERSISTENT CONNECTIONS:
193 - Added pconn.c
194 - Addec Cofig.Timeout.pconn; default 120 seconds
195 - Added httpState->flags
196 - Added flags arg to httpBuildRequestHeader()
197 - Added HTTP_PROXYING and HTTP_KEEPALIVE flags
198 - Added 'Connection' to allowed HTTP headers (http-anon.c)
199 - Added 'Proxy-Connection' to allowed HTTP headers
200 (http-anon.c)
a7736231 201 - Merged proxyhttpStart() with httpStart() and created
8872e1f8 202 new httpBuildState().
203 - New httpPconnTransferDone() detects end-of-data on
204 persistent connections.
6684fec0 205
88738790 206Changes to squid-1.2.alpha5 ():
207
208 - New configuration system. Everything is generated from
209 'cf.data.pre', including the main parser, setting defaults,
210 outputting current values, and freeing memory.
211 This also involved moving some of the local data structures
212 (e.g. struct _acl *AclList in acl.c) to the Config
213 structure. (Max Okumoto)
214 - No more '/i' for regular expressions. Now insert a '-i'
215 to switch to case-insensitive. Use '+i' for case-sensitive.
216 - When you have a variable named the same as its type, sizeof()
217 gets the wrong one (fde).
218 - Need to flush unbuffered logs before fork().
219 - Added two fields swap log: refcount and e->flag.
220 - Removed all the .h files for each .c file. Now #include stuff
221 is in either: defines.h, enums.h, typedefs.h, structs.h,
222 or protos.h, globals.h. This greatly reduces dependencies
223 between the various source files.
224 - globals.c is generated from globals.h by a Perl script.
8ee3ca2c 225 - Started customizable error texts.
88738790 226
97f674c8 227Changes to squid-1.2.alpha4 ():
228
ec973719 229 - New MIME configuration, regular expression based
230 - Added request_timeout config option
231 - Multiple HTTP sockets (Lincoln Dale).
232 - Moved 'fds_are_n_free' check to httpAccept().
233 - s/USE_POLL/HAVE_POLL/; make poll() default if available.
7e49f700 234 - Changed storeRegister to use offsets and make immediate
235 callbacks if appropriate.
236 - Removed icpDetectClientClose(). Some of that functionality
237 goes into clientReadRequest() and the rest into
238 httpRequestFree().
b1b387d1 239 - Moved IP lookups to commConnect stuff.
240 - Added support for retrying connect().
858164fc 241 - New inline debug() macro (David Luyer).
e174e0fe 242 - Replace frequent gettimeofday() calls with alarm(3) based
243 clock. Need to add more gettimeofday() calls to get back
a59968c7 244 high-resolution timestamp logging (Andres Kroonmaa).
0153d498 245 - Added support for Cache-control: proxy-revalidate;
246 based on squid-1.1 patch from Mike Mitchell.
ec973719 247
3b08d32d 248Changes to squid-1.2.alpha3 ():
249
250 - Implemented persistent connections between clients and squid.
251 - Moved various FD tables (comm.c, fdstat.c, disk.c) to a single
252 table in fd.c.
253 - Removed use of FD as an identifier in certain callback
254 operations (ipcache, fqdncache).
255 - General code cleanup.
256 - Fixed typedefs for callback functions.
257 - Removed FD lifetime/timeout dichotomy. Now we only have
258 timeouts, however the lifetime concept/keyword may still
259 linger in certain places.
260 - Change Makefile 'realclean' target to 'distclean'
261 - Changed config file parsing of time specifications to use
262 parseTimeLine().
263 - Removed storetoString.c
264
265Changes to squid-1.2.alpha2 ():
74cebec0 266
267 - Merged squid-1.1.9, squid-1.1.10 changes
268
7b41ec97 269Changes to squid-1.2.alpha1 ():
270
271 - Unified peer selection algorithm.
75e88d56 272 - aiops.c and aiops.h are a threaded implementation of
273 asynchronous file operations (Stewart Forster).
274 - async_io.c and async_io.h are complete rewrites of the old
275 versions (Stewart Forster).
6ad85e8a 276 - Rewrote all disk file operations of squid to support
75e88d56 277 the idea of callbacks except where not required (Stewart
278 Forster).
75e88d56 279 - Background validation of 'tainted' swap log entries (Stewart
280 Forster).
281 - Modified storeWriteCleanLog to create the log file using the
282 open/write rather than fopen/printf (Stewart Forster).
283 - Added the EINTR error response to handle badly interrupted
284 system calls (Stewart Forster).
6ad85e8a 285 - UDP_HIT_OBJ not supported, removed.
286 - Different sized 'cache_dirs' supported.
75e88d56 287
e924600d 288==============================================================================
7b41ec97 289
88738790 290Changes to squid-1.1.14 (July 11, 1997):
291
292 - Another try at log_url crap. Added icpState->log_url
293 member. Set mem_obj->log_url in new_MemObject() which
294 means passing more args to storeCreateEntry(). Also added
295 urlClean() which calls urlParse(); needed for ICP logging.
296 - Clean URLs will be truncated at '?' if present.
297 - Give fd_note() the clean URL.
298
299Changes to squid-1.1.13 (July 9, 1997):
300
301 - Fixed storeLog() coredump on mem->log_url.
302 - Fixed string bounds bug if a redirector returns a short
303 hostname which require appending 'append_domain' (David
304 Lamkin).
305 - Added 'fake_user_agent' to configuration because HTTP
306 anonymizing strips the User-Agent which some servers require.
307
308Changes to squid-1.1.12 (July 5, 1997):
309
310 - Fixed dnsserver buffer overflow bug and other problems related
311 to long, bogus domain names.
312 - Fixed occasional incorrect ERR_DNS_FAIL errors caused when
313 an IP cache entry gets released about the same time an
314 ICP query timeout occurs.
315 - Fixed setrlimit() bugs seen on DUNIX 4.0; rl.rlim_max == 0.
316 - Only strip 'Proxy-authorization' header when USE_PROXY_AUTH
317 is defined and proxy_auth is configured (Ron Gomes).
318 - Added missing calls to reset socket timeouts for SSL
319 and passthrough requests.
320 - Fixed "Available number of file descriptors" value in
321 cachemgr info output.
322 - Fixed coredump in proxyAuthenticate() if password file
323 has an entry with only a user name (Jordan Hrycaj).
324 - Security patch for usernames and passwords in URLs.
325 + ftpget would insert a BASE URL including the username and
326 password for directory listings IF the original request did
327 NOT include the the trailing slash. This could be disabled
328 with a command line option, but is enabled by default. Now
329 its #ifdefd out.
330 + Usernames and passwords could be logged to access.log and
331 store.log. Now a new element,
332 StoreEntry->MemObject->log_url, holds a copy of the requested
333 URL without the name and password. This isn't 100% fixed yet
334 because log_url gets generated when the StoreEntry gets
335 created. If the StoreEntry never gets created, then the URL
336 with name and password will get logged. Also, the name and
337 password are not stripped from ICP requests. Also, this
338 changes store.log. Previously we logged StoreEntry->key
339 which would look different than the URL for private entries,
340 but now we'll always log the URL.
341 + Finally, we now set REQ_AUTH for any request that includes a
342 name or password. This prevents the request from being
343 cached (!) and prevents it from being sent to neighbor
344 caches. In other words, its treated just as if an
345 Authorization request header were present.
346 - Fixed Byte-Range handling so that valid, whole objects
347 are not released.
348
349Changes to squid-1.1.11 (June 14, 1997):
350
351 - Clean up NeXTStep compiler warnings (Karsten Heinze, Ed Knowles).
352 - Don't forward 'Proxy-Authorization' headers (Chris Pascoe).
353 - Fixed up Host: header parsing (Henrik Nordstrom).
354 - Changed DefaultObjectsPerBucket to 20 in cache_cf.c.
355 - Fixed parsePathname() bug for magic word "none".
356 - Fixed ipcache_release to rename entries which get stuck with locks.
357 - Fixed "eventDelete(peerCheckConnect, e);" bug when the DNS lookup
358 is pending.
359 - Add sys/types.h to lib/safe_inet_addr.c for NeXTSTEP (Timo
360 Hennerich).
361 - Fixed cur_len decrement bug in diskHandleRead()
362 (Michael O'Reilly).
363 - Added contrib/rredir.pl from Peter Eisenhauer.
364 - Always forward requests with 'Byte-Range' headers (Ron Gomes).
365 - Fixed StoreEntry client offset bug which could trigger a
366 fatal_dump().
367 - Fixed noticing that dnsservers have shut down during restart.
368 - Added contrib/nextstep installer package from Gerben Wierda.
369 - Modified storeDirClean() to remove swap files where the
370 number is being used, but the file is in the wrong directory.
371 - Allow PURGE method on all protocols.
372 - Added 'icp_hit_stale' option.
373 - Fixed proxy auth refresh bug (Chris Pascoe).
374 - Don't check for other filename extensions if an FTP URL
375 ends with .txt (Ed Knowles).
376 - Relocated ERR_NO_CLIENT_BIG_OBJ check to eliminate incorrect
377 (but harmless) error message.
378
6ad85e8a 379Changes to squid-1.1.10 (April 24, 1997):
380
381 - Require 0 <= multicast ttl <= 128.
382 - Changed 'unsigned int inaddr_none' to 'struct in_addr no_addr'.
383 - Added debug_trap() if unlocking a StoreEntry which still
384 has registered clients.
385 - Added missing storeUnregister() calls.
386 - Fixed storeClientListAdd() bug of adding same FD twice.
387 - Fixed reconfigure/SIGHUP to wait 'shutdown_lifetime' seconds
388 after receiving signal (Ron Gomes).
389 - Added missing commSetSelect() in icpDetectClientClose()
390 (Mark Treacy).
391 - Fixed multicast group member counting bug with fake
392 StoreEntry's.
393 - Only enable ICP_FLAG_SRC_RTT if the peer is ICP_VERSION_2.
394 - Fixed compiling unlinkd in a separate directory (Assar Westerlund).
395 - Fixed comm_select_incoming SEGV for poll() version when using
396 udp_{incoming,outgoing}_address (Mark Treacy).
397 - Fixed some SIGHUP related memory problems with redirectors,
398 ipcache, and fqdncache, and peerCountMcastPeers*().
399 - Make the unlinkd and pinger programs configurable (Ron Gomes,
400 Neil Murray).
401 - Add handshake to unlinkd program (Ron Gomes).
402 - Exit if a configured program doesn't exist (Neil Murray).
403 - Abort if unlinkd fails to start (Ron Gomes).
404 - Added -m option to ftpget for defining default MIME type.
405 (Neil Murray).
406 - Optimized comm_select() functions (Mark Treacy).
407 - Fixed ipcache_release() to not release locked entries;
408 instead expire them immediately.
409 - Fixed up rebuild code to handle swapfile/URL clash
410 cases better.
411 - Added safe_inet_addr() to protect from bogus IP addresses
412 (Arjan de Vet).
413 - Fixed handling of ssl_proxy and passthrough_proxy when not
414 behind a firewall.
415
416
417Changes to squid-1.1.9 (March 30, 1997):
418
419 - Fixed aclIpNetworkCompare for USE_SPLAY_TREE; was applying
420 netmask to non-local variable through pointer. (Ansgar
421 Hockmann).
422 - Fixed cachemgr bug incorrectly assigning connect() return
423 value (Nigel Metheringham).
424 - Fixed diskHandleWrite bug: not setting write_daemon = PRESENT.
425 - Fixed situation where all requests would be handled by
426 "single parent" and other peers would never be queried
427 again.
428 - Fixed ftpget bug causing program to continue after printing
429 usage.
430 - Changed 'reference_age' to be the maximum for the dynamcially
431 computed value (Mark Treacy).
432 - Added external 'unlinkd' process to unlink swap files.
433 - Added more dnsserver status information to cachemgr output.
434 - In httpReadReply: extend FD lifetime only after successful
435 read, not every read.
436 - In httpBuildRequestHeader: link size of 'ybuf' to MAX_URL.
437 - Added routines to count number of members of each multicast
438 peer.
439 - Fixed multicast ICP bug causing unnecessary timeouts.
440 - Added error messages if setuid/setgid functions fail.
441 - Added non-POSIX tempnam.c replacement for NeXTStep (Gerben
442 Wierda).
443 - Removed redundant file:// --> ftp:// check (Willy TARREAU).
444 - Removed check for reply->code == 200 in icpGetHeadersForIMS().
445 - Fixed IP cache bug which caused 'dns_children 0' to break;
446 - Deny access to dangerous TCP ports (7, 9, 19).
447 - Removed single-line functions: fdstat_biggest_fd(),
448 comm_get_fd_lifetime(), comm_get_fd_timeout().
449 - Removed storeCheckExpired() from storeGetSwapSpace() as
450 likely cause of slowing down cache when exceeding the high
451 water mark.
452 - Fixed storeCheckExpired() to not always check the
453 LRU expiration age (Mark Treacy).
454 - Lowered 'store_objects_per_bucket' to 20 so that
455 storeMaintainSwapSpace() runs frequently enough to
456 keep up with incoming objects.
457 - Fixed FTP to use the Authorization header only when the
458 usernames match.
459 - Fixed another continuation-lines-not-starting-with-NNN bug
460 in ftpget.
461 - Added 'client_db' config option to disable keeping statistics
462 for each client address.
463 - Added support for using ICMP data stuffed into ICP replies
464 for peer selection algorithm. Enable with 'query_icmp'
465 in squid.conf.
466 - Fixed net_db design bug where _net_db_peer structures pointed
467 to 'peer' structures that get freed and reallocated during a
468 reconfigure.
469 - Moved comm.c fd_lifetime[] array into FD_ENTRY structure.
470 - Cleaned up storeCopy(). debug_trap on requested offset <
471 e_lowest_offset.
472 - Cleaned up fdstat_init() and fdstat_update().
473 - Cleaned up ftp_login_parser().
474
e924600d 475Changes to squid-1.1.8 (March 3, 1997):
476
477 - Fixed neighborsUdpAck() coredump bug for source-ping and
478 non-peer ICP replies.
479 - Prevent ipcache_gethostbyname from changing an IP_DISPATCHED
480 entry to IP_CACHED; fqdncache too.
481 - Made send_announce non-blocking.
482 - Force release of negative-cached objects upon receipt of
483 no-cache request.
484 - Ignore ACLs which fail to parse.
485 - Added 'proxy_auth_ignore' regular expression list (Andreas
486 Lamprecht).
487 - Changed how failed TCP connections affects peer up/down
488 status. Now retry TCP connections at regular intervals in the
489 background and don't mark the peer as 'up' until a connection
490 succeeds.
491 - Okay to increase FD_SETSIZE on FreeBSD 2.2.x (Peter Wemm).
492 - Fixed HTTP anonymizer bug in 'standard' mode.
493 - Fixed aclMatchDomainList() coredump for unresolvable addresses.
494 - Changed default disk low/high water marks to 90/95%.
495 - Prevent ftpget buffer overflow (Riku Saikkonen).
496
497Changes to squid-1.1.7 (February 25, 1997):
468c23d3 498
6ad85e8a 499 - Fixed non-default port numbers for FTP URLs (John Saunders).
468c23d3 500 - Fixed urlParse to leave trailing slashes on FTP URLs. Although
501 stripping the slashes offers a slight hit rate increase, it
502 breaks some proxies which return HTTP redirects.
503 - Initialize struct tm in parse_rfc1123() (Henrik Hempelmann).
504 - Fixed parseHttpRequest() to use memcpy instead of strncpy;
505 caused POST's with NULL bytes to fail (Joe Ramey).
506 - Fixed another HTTP reply code 0 bug (Neil Murray).
507 - Changed code structure in ipcache_nbgethostbyname() to
508 maybe get around some trashed-stack problems.
509 - Added WARNING if blocking gethostbyname() gets called.
510 - Fixed calling commSetSelect() with FD < 0 bug in ssl.c and
511 pass.c.
2ec29a62 512 - Moved 'append_domain' operation to urlParse().
513 - Fixed too many arguments bug in diskHandleWrite, caused
514 coredumps when write fails (due to full disk).
77f33b26 515 - Fixed extra unlocking on partial reads from dnsservers.
516 - Fixes for 'Splay' trees in acl.c (Ed Knowles)
517 - Support for balanced binary trees in acl.c (Arjan de Vet).
91de5d47 518 - Made HTTP anonymizing a standard feature and settable in
519 squid.conf (disabled by default).
4dcdb109 520 - Ignore ICP_MISS replies from multicast-responding parents
521 which would violate the domain restrictions.
522 - Fixed another diskHandleWrite coredump bug when freeing
523 list of pending blocks.
524 - Added support for 'src' ACLs in cache_host_acl lines.
c7686fee 525 - Fixed ftpget bug when PASV connect times out.
526 - Fixed adding duplicate IP cache entry for failed BLOCKING lookups.
527 - Changed peer IP addresses (for ICP) to be refreshed every hour.
528 - Accomodated Solaris bug requiring suid privs for getrusage()
529 (Arjan de Vet).
468c23d3 530
678d8a69 531Changes to squid-1.novm.6 (February 7, 1997):
532
533 - Merged squid-1.1.6 changes.
534
870bd0f9 535Changes to squid-1.1.6 (February 7, 1997):
1febb85b 536
537 - Fix redirector to make sure the redirector child process is
538 is alive and not busy before using it (Brent Foster).
539 - Fixed ACL joining bug.
870bd0f9 540 - Fixed up support for multicast; see Release Notes for
541 details.
1febb85b 542 - Fixed ftpget to properly handle multi-line replies that
543 don't begin with "NNN-".
544 - Changed store maintenance to randomize bucket order
545 each time after completion.
546 - Set RLIMIT_VMEM to the maximum.
547 - Syntax change: "edge" to "peer" everywhere.
548 - Change redirector stats to also show number of rewritten
549 requests (Andrew Humphrey).
550 - Changed HTTP anonmyizing to remove 'denied' headers
551 by default. Define USE_PARANOID_ANONYMIZER to only pass
625917ea 552 'allowed' headers instead (Bernd Ernesti).
870bd0f9 553 - Added 'Splay' trees (in #ifdefs) for fast IP access checking
554 (Ed Knowles).
1febb85b 555 - Fixed 'COMM_INPROGRESS' typo bug (Balint Nagy Endre).
556 - Added support for PURGE method to remove cached objects.
557 - Upgraded scripts/check_cache.pl for v1.1 (Bertold Kolics).
558 - Fixed announcement file descriptor leak (Balint Nagy Endre).
559 - Fixed [^0-9] sscanf bug for some compilers (Jim Carroll).
560 - Upgrade to autoconf-2.12
625917ea 561 - Added 'dns_defnames' option to allow dnsserver to interpret
562 single-component hostnames.
625917ea 563 - Refuse to run as root without defining 'cache_effective_user'.
1febb85b 564
870bd0f9 565Changes to squid-1.novm.5 (February 6, 1997):
c95a0781 566
567 - Fixed stuck objects (and FD leak) due to not unlocking
568 objects in storeAbort().
cab88bee 569 - Merged squid-1.1.5 changes.
4b7f7b84 570
625917ea 571Changes to squid-1.1.5 (January 22, 1997):
e3a664b4 572
bb97dd37 573 - Fixed ACL parsing to join ACL entries with the same name
574 (Markus Stumpf).
575 - Fixed BIT_SET/BIT_TEST typo in getDefaultParent() (Ed Knowles).
576 - Removed comm_read() and commHandleRead().
577 - Fixed rotating special files (Kolics Bertold).
578 - Fixed sending HTTP reply code 0 in error messages.
579 - Fixed ftpget to recognize 'NetWare' servers and skip whitespace
580 before filenames.
581 - Changed ftpget default Content-Type to application/octet-stream.
582 - Added .rpm MIME type (Nigel Metheringham).
583 - Changed storeDirClean() to create missing directories.
61ba670d 584 - Removed icpState->buf and storeCopy() call in icpGetHeadersfForIMS().
e3a664b4 585 - Fixed *_ip_list parsing bug (Hiroyuki Inoue).
586 - Fixed bad comm_write() calls in passStart() and sslStart()
587 (Martin Boening).
7fd2a4e7 588 - Changed storeMaintainSwapSpace() to scan hash table buckets in
589 random order.
590 - Added dynamic LRU Age expiration feature. Expiration age is
591 calculated as a function of store_swap_size so that object
592 deletion rate matches the addition rate and we avoid emergency
593 object purge mode.
bb97dd37 594
625917ea 595Changes to squid-1.novm.4 (January XX, 1997):
d3954477 596
597 - Fixed storeRegister loop in icpHandleIMSReply().
1f5ec3ed 598 - Merged squid-1.1.4 changes.
d3954477 599
3e65cb76 600Changes to squid-1.1.4 (January 13, 1997):
115c7870 601
602 - Created USE_GNUREGEX define to fix forcing GNU regex on
603 Solaris and NeXTStep.
604 - Changed SQUID_MAXFD to be a C variable.
605 - Added QUICKSTART file.
606 - Fixed ident so the identd request comes from the same IP
607 address as the original connection was made to (Russell
608 Street).
609 - Added '!' condition feature for the 'firewall_ip' list
610 (Hiroyuki Inoue).
611 - Added 'udp_hit_obj_size' option (Mark Treacy).
612 - Fixed cachemgr.cgi to print 'NEVER' instead of '27Y ago'.
3e65cb76 613 - Fixed finding FTP end-of-transfer marker in the middle
614 of the file.
615 - More ipcache fixes for long-pending requests which get preempted.
62a0995a 616 - Fixed cachemgr.cgi to parse password from URL (Peter Wemm).
617 - Fixed cachemgr.cgi to keep password in HTML form field (Peter
618 Wemm).
619 - Fixed reporting Maximum Resident Size (Peter Wemm).
620 - Handle unexpected data from a redirector (Brent Foster).
115c7870 621
622Changes to squid-1.novm.3 (January 7, 1996):
03c91395 623
624 - Merged squid-1.1.3 changes.
625
626Changes to squid-1.novm.2 (January 7, 1996):
627
628 - Mega changes to make Squid not store objects in VM.
74946a0f 629
9a325041 630Changes to squid-1.1.3 (January 7, 1997):
c92978ac 631
7a77c4b4 632 - Changed inet_addr("X") to inet_addr("255.255.255.255")
633 (Dan Riley).
634 - Fixed matchInsideFirewall() bug when using 'firewall_ip' but
635 not 'inside_firewall' (Tai Jin).
636 - check for text == NULL in icpSendERROR().
637 - Don't make inaddr_none static in ftpget.c (Davide Migliavacca).
638 - Fixed ipcache FMR bug for long-pending requests.
639 - Fixes for NeXTSTEP 3.3 (Tethpub Znek).
640 - add storeWriteCleanLog() call in fatal().
641
75a4803a 642Changes to squid-1.1.2 (December 18, 1996):
643
e12ec0cc 644 - Fixed (negative) caching of HTTP objects witch consist of
645 only some HTTP headers.
646 - Fixed up SSL neighbor selection algorithm to be just
647 like the one in pass.c.
648 - Fixed incorrect squid.conf comment about setting an objcache
649 password to 'none'. Added keyword 'disable' to disable an
650 objcache function (Markus Gyger).
651 - Further Cache.Announce.on fixes (Ernest Yik).
652 - Add theOutIcpConnection to comm_select_incoming() for improved
653 ICP performance (Stewart Forster).
654 - Added access.log documentation to Release-Notes-1.1.txt
655 - Added support for TRACE method.
c1827ffa 656 - Added 'log_icp_queries on|off' to config (David Luyer).
657 - Added hierarchy tag to common HTTP format access.log (David Luyer).
e12ec0cc 658 - Moved second SQUID_MAXFD/FD_SETSIZE check to after #includes.
659 - Added reverse DNS lookups for 'dstdomain' ACLs when the URL
660 contains an IP address.
661 - Made HTTP reply header parsing more robust to deal with
662 bad 304 replies from squid-1.1.beta27 and earlier.
c1827ffa 663 - Changed reqnum passed in ICP replies to encode request method
664 in high byte.
58e7e5cc 665 - Fixed neighbor round-robin bug (Uwe Doering).
666 - Calculate accurage percentages for ICP and HTTP requests in
667 cachemgr 'client list'.
668 - Fixed refresh lm-factor calculations to allow percent = 0.
669 - Make sure DNS lookups don't remain PENDING for a very long time.
e12ec0cc 670
04279aad 671Changes to squid-1.1.1 (December 15, 1996):
e119289e 672
673 - Fixed announcement bug. Announcements were always off unless
674 a file was specified.
675 - Fixed wrong number of args to examine_select() debug.
676 - Fixed null-string content-type
677 - Don't cache replies with 'Set-Cookie:' headers.
678 - Fixed bug when client issues IMS, Squid has stale object and
679 Squid's lastmod time is greater than the client IMS time.
680 A 304 reply would be appropriate for Squid, but not the client
681 (diagnosed by Mark Treacy).
682 - Fixed httpBuildRequestHeader() content length bug which breaks for
683 really large POST requests (Takahiro Yugawa).
684 - Fixed 'passthrough_proxy' to pick up port number from list of
685 neighbors.
6f4d3ac9 686 - Ensure pid file is world-readable if umask is set otherwise
687 (Doug Urner).
04279aad 688 - Collect statistics on a few more HTTP headers (Ed Knowles).
e119289e 689
2b17a56e 690Changes to squid-1.1.0 (December 6, 1996):
691
692 - Fixed inequality bug in neighborUp().
693 - Fixed off-by-one ack_deficit bug in neighborUp() (Joe Ramey).
694 - Fixed pfds[] ABW bug for USE_POLL (Joe Ramey).
695 - Added anonymizer options; compile with USE_ANONYMIZER (Lutz
696 Donnerhacke).
697 - Added Gauntlet proxy support to ftpget (Mukaigawa Shin'ichi).
c62bf0f1 698 - Changed UDP_HIT_OBJ to be disabled by default.
2b17a56e 699 - Updated doc/Release-Notes-1.1.txt
700
701==============================================================================
702
74313381 703Changes to squid-1.1.beta28 (December 5, 1996):
704
8fa71551 705 - Fixed missing CR on Not-Modified replies (Balint Nagy Endre)
706 - Fixed not truncating multi-word content-types.
707 - Fixed ABR bug due to too-small redirector buffers.
708 - Fixed ABR in httpBuildRequestHeader().
1baa4e8a 709 - Removed asynch_io code.
8fa71551 710
4945cebf 711Changes to squid-1.1.beta27 (December 4, 1996):
712
713 - Fixed wrong number of args to debug().
714 - Make failure to start any dnsservers fatal.
715 - Fixed dnsGetFirstAvailable() to skip dead dnsservers.
716 - Fixed loop detection for two squids on the same host (Mark
717 Treacy)
718 - Fixed strcasecmp bug which broke some POST requests.
719
9e393211 720Changes to squid-1.1.beta26 (December 3, 1996):
89659cff 721
dcfe6390 722 - Another 'rm -rf' fix for store.c (Bernd Ernesti).
723 - Use of the Host: header for httpd_accel requests is now
724 disabled unless 'httpd_accel_uses_host_header' is set.
725 - Have configure check for libgnumalloc.a.
89659cff 726 - Added support for using poll() instead of select(); enable
727 USE_POLL_OPT in src/Makefile (Stewart Forster, Anthony
728 Baxter).
729 - Fixed httpBuildRequestHeader() 'strcat' bug (Andres Kroonmaa).
730 - Changed store.log to include date, last-modified, and
731 expires timestamps, plus content-type.
732 - Added content-type to access.log too.
733 - parse HTTP timestamps directly in httpParseReplyHeaders().
734 - moved timestampsSet() to storeTimestampsSet().
735 - fixed ACL '/32' bug (Ansgar Hockmann).
dcfe6390 736
3ac5bf55 737Changes to squid-1.1.beta25 ():
738
575e5b1a 739 - Check if we should delete-behind large objects when above LOW
740 water mark.
3ac5bf55 741 - Merged request header parsing code from http.c and pass.c
742 into httpBuildRequestHeader().
575e5b1a 743 - Fixed 'rm -rf' command in store.c.
744 - Changed viz_hack stuff to use multicast.
3ac5bf55 745
c5a0c043 746Changes to squid-1.1.beta24 ():
747
748 - Added 'cache_stoplist_pattern' to squid.conf
749 - Remove trailing slashes from FTP URLs.
750 - Added 'passthrough_proxy' support.
1bc5033b 751 - Added "default parent" support with a 'default' option for
752 cache_host config line.
1a10e02d 753 - Upgraded autoconf to 2.10.
6b98c7ae 754 - Strip Proxy-Connection request headers.
1bc5033b 755 - Do not return UDP_HIT for objects which will soon be stale.
756 - Parse/Filter HTTP request headers in passthrough module.
757 - Fixed parsing hostnames with dashes in 'src' ACLs.
758 - Added warning message when forwarding loops detected.
759 - Split getSingleParent() into getSingleParent() and
760 neighborsCount().
99fcf739 761 - Dont check sibling caches for REFRESH requests.
762 - Add X-Forwarded-For: header which is the comma-separated
763 list of client addresses along the request path.
764 - Fixed icpDetectClientClose() to check if Content-Length
765 bytes have been delivered.
c5a0c043 766
4f4905f1 767Changes to squid-1.1.beta23 (November 25, 1996):
768
7acb0b24 769 - Fixed "viabuf" memory leak.
4f4905f1 770
ef97e96c 771Changes to squid-1.1.beta22 (November 25, 1996):
772
6219258f 773 - Fixed xstrncpy() bug in mime_get_header().
774 - Fixed Via: header.
775 - Fixed Host: header for proxy requests.
776 - Fixed re-initializing client_db and net_db hash tables upon
777 SIGHUP (Cord Beermann).
778 - Mucked with regex stuff so HP users don't have to put up with
779 GNUregex (Markus Gyger).
780 - Changed SQUID_MAXFD back to FD_SETSIZE.
781 - Fixed checking Max-age in httpSendRequest().
782 - Made failure to fork ftpget fatal.
783 - Call *FreeMemory() routines only if debugging.
784
96e84919 785Changes to squid-1.1.beta21 (November 22, 1996):
786
431d84c5 787 - Fixed setting entry->timestamp for NOT MODIFIED replies.
788 - Changed old HTTP/1.1 Forwarded: header to new Via:.
431d84c5 789 - Fixed needlessly calling storeSwapFullPath() in
790 storeSwapOutHandle() (Mark Treacy).
791 - Simplified hash linking (Mark Treacy).
792 - Write pid_filename by default (Markus Gyger).
793 - Changed "Invalid dnsserver output" to non-fatal debug_trap()
794 (Joe Ramey).
795 - Changed STORE_IN_MEM_BUCKETS to the prime 229 (Neil Murray).
59b9e1b4 796 - Changed FD_SETSIZE to SQUID_MAXFD (Jonathan Larmour).
797 - Strip :port from Host: header if present.
798 - Reschedule fqdncache_dnsHandleRead() to prevent dnsservers
799 from getting stuck (Makoto Ishisone).
800 - Fixed handing SSL requests inside firewalls (Akira Sato).
801 - Fixed passthrough neighbor selection bug (Akira Sato).
802 - Removed 'post_buf' stuff from http.c.
6982963c 803
431d84c5 804Changes to squid-1.1.beta20 (November 17, 1996):
58336fe1 805
806 - Changed neighbor_domain_type to neighbor_type_domain in
807 squid.conf.
58336fe1 808 - Changed all 'xstrerror' debug messages to section 50.
809 - More const fixes (Markus Gyger).
810 - Added xstrncpy() which null-terminates (Markus Gyger).
8ea68e8d 811 - Fixed Cache-Control counting in HTTP reply header stats.
85ec1ab9 812 - Relocated rfc1738_unescape() calls in ftpget so that
813 ftp://foo.org/%2fbar/ works (Jonathan Larmour).
396b6d21 814 - Fixed forwarding loop for a pair of neighbors behind a firewall.
815 - Cleaned up ftpget non-blocking flags (Jean-Hugues ROYER).
58336fe1 816
3f7009a3 817Changes to squid-1.1.beta19 (November 13, 1996):
818
4621df3e 819 - Fixed havoc-wreaking getsockname() bug (Noriyuki Soda
820 <soda@sra.co.jp>).
3f7009a3 821 - Fixed InvokeHandlers() debug_trap bug.
822 - Lock entry while calling swapin handler in case someone tries to
823 release it.
824 - Changed configure to allow overriding of XTRA_LIBS in config.site.
4621df3e 825 - Fixed comm_accept() FMR bug.
826 - Replaced MemObject->fd_of_first_client structure member with
827 storeFirstClientFD() function.
3f7009a3 828
fe26d5d1 829Changes to squid-1.1.beta18 (November 13, 1996):
830
831 - Fixed 'void *buf' bug icpCreateMessage() (Jean-Hugues ROYER).
832 - Fixed more NULL 'friends' bugs.
833 - Added debug_trap for NULL mem->clients in InvokeHandlers()
834 (Mark Treacy).
835
4a45acc4 836Changes to squid-1.1.beta17 (November 12, 1996):
837
838 - Fixed NULL friends coredump in neighbors_open().
839 - Added setting HAVE_TEMPNAM back to the configure script.
840 - Fixed h_errno bug on NeXTStep (frank@langen.bull.de).
841 - Fixed expiresMoreThan() bug causing all UDP_MISS replies.
842 - Changed 'background.c' to 'event.c' and merged all periodic
843 functions into an event queue.
844 - Renamed httpParseHeaders() to httpParseReplyHeaders().
845 - Added support for sending HTTP/1.1 'Cache-Control: max-age=X'
846 in requests. The max-age value is taken from the
847 'refresh_pattern' rules.
848 - Added support for parsing max-age in client request.
849 - Split icpUdpSend() into simpler icpUdpSend() plus
850 icpCreateMessage().
851 - Force storeAbort() for dispatched objects in
852 asciiLifetimeHandle().
853 - Fixed firewall-related bug when the DNS lookup fails.
854 - Fixed '#define HAVE_GETRUSAGE' bug (Takahiro Yugawa).
855 - Made storeStartDeleteBehind() quiet for 'no-proxy' neighbors.
856 - Fixed log_quote() signed/unsigned bug (Ron Gomes).
857
f39d06a2 858Changes to squid-1.1.beta16 (November 8, 1996):
9d98b6ba 859
860 - Fixed type of Config.level{One,Two}Dirs.
861 - Fixed calling storeRegister and storeUnregister with NULL a entry.
862 - Fixed objcache "squid.conf" request and now require a
863 password for it (Jan.Harkes@cwi.nl).
864 - Added check for dotted-quads in matchInsideFirewall()
865 (Andreas Lamprecht).
866 - Fixed up some HTTP/1.1 Cache-Control parsing (Ed Knowles).
867 - Fixed IP ACL memset() bug when -DPURIFY=1.
868 - Resurrected storeEntryValidToSend().
869 - Moved storeSetPrivateKey() calls to storeReleaseRequest().
870 - Added separate config line (neighbor_type_domain) for modifying
871 neighbor type (parent vs. sibling) for certain domains. Adding
872 it to cache_host_domain doesn't provide needed flexibility.
873 - Added User-Agent log patch (Joe Ramey).
874 - Added httpd-accel Host: patch (Miguel A.L. Paraz).
875 - Changed ident lookup stuff to require the lookup before
876 checking ACL's. If you have 'ident_lookup on' then this
877 may cause noticable delay while waiting for the ident
878 lookup.
2a88be88 879 - Fixed storeSwapOutHandle() FMR bug.
4a45acc4 880 - Stopped inserting incorrect Host: header for proxy-HTTP requests.
9d98b6ba 881
86b61a3f 882Changes to squid-1.1.beta15 ():
883
884 - Fixed entry->clients[].fd initialization bug causing all
885 large objects to get stuck.
193efd1c 886 - Changed /www.nlanr.net/Squid/ to /squid.nlanr.net/Squid/.
86b61a3f 887
f71d7952 888Changes to squid-1.1.beta14 ():
889
890 - Added pw_encrypt() check to configure.
891 - Added 'cache_stop_relist' for a regular expression based
892 stoplist.
893 - Fixed checkRefresh() to not cause IMS request for objects
894 which have not yet expired, but are past the LM-factor.
895 - Fixed asciiConnLifetimeHandle() to force storeAbort() for
896 pending objects.
0ee4272b 897 - Made lots of variables and args 'const' (Markus Gyger).
f836f80d 898 - Added cachemgr password support in squid.conf (Yaroslav M.
899 Levchenko). Each cachemgr operation may have a separate
900 password. Shutdown and all "log" operations must be
901 password-protected.
902 - Removed debug_trap() calls in squid_error_entry().
903 - Removed InvokeHandlers() call from StoreAbort().
0230ad3e 904 - Added icpHandleAbort() to deliver abort messages, if at all.
ae7d848d 905 - Added passthrough module (pass.c) for POST, et. al.
650c98da 906 - Fixed purify bugs in storeCloseLog() and storeSwapInHandle().
0230ad3e 907 - Merged store 'pending list' into 'client list.'
6982963c 908 - Made number of first- and second-level swap directories
909 configurable (Ralph Loader).
f71d7952 910
9c1d8929 911Changes to squid-1.1.beta13 (November 1, 1996):
912
861f7d39 913 - Fixed base64_code[] typo bug (Joe Ramey).
914 - Fixed errors being returned as empty objects.
915 - Changed order of sanity checks in neighborsUdpAck().
9c1d8929 916 - Made swap log pathname configurable with 'store_swap_log'.
917 - Made 'http_accel virtual 80' same as -V on command line.
918 - Fixed string termination bug in base64_decode() (Joe Ramey).
861f7d39 919
55b34d8e 920Changes to squid-1.1.beta12 (October 31, 1996):
727348b4 921
922 - Fixed ICMP 'pinger' failure detection.
923 - Fixed handling of no-cache for negative-cached objects.
55b34d8e 924 - Replaced protoUnregister() call in icpDetectClientClose().
925 - Fixed calling storeReleaseRequest() on unlocked objects.
727348b4 926
21da08b3 927Changes to squid-1.1.beta11 (October 29, 1996):
0d3b2381 928
b5cc294e 929 - Fixed rfc1123() to use actual RFC1123 time format.
930 - Made Store Hash parameters configurable
931 - store_objects_per_bucket
932 - store_avg_objects_size
933 - Fundamental changes to object TTLs; now think in terms of
934 refresh times. Replaced 'ttl_pattern' with 'refresh_pattern'.
935 - Dropped 'http', 'ftp', and 'gopher' config options.
936 - Added a single 'maximum_object_size' value.
937 - Moved storeStartDeleteBehind() calls from http/ftp/gopher to
938 storeAppend().
939 - Moved storeClientListAdd() call from store to client/icp
940 because of storeClientCopy() race condition between IMS
941 replies and objects in delete behind mode.
942 - renamed TCP_EXPIRED* to TCP_REFRESH*.
943 - Stopped appending error messages to partially delivered
944 objects.
e7aa3d17 945 - Removed protoUnregister() call in icpDetectClientClose()
946 as probable cause of storeReleaseRequest() warnings.
b5cc294e 947
e2971793 948Changes to squid-1.1.beta10 (October 24, 1996):
91b74eb8 949
950 - Fixed neighborsUdpAck() coredump bug and made debug messages
951 more consistent.
952 - Removed old REQ_ACCEL test (Miguel A.L. Paraz)
953 - Fixed process RSS value for SGI (Ed Knowles).
954 - Fixed parseAddressLine() to use gethostbyname(3) because
955 its called before ipcache_init(). (Miguel A.L. Paraz)
956 - Fixed announce bug since beta7 causing caches to be announced
957 regardless of 'announce_to' setting. (Paul Southworth)
958 - Fixed pinger 'last_check_time' bug.
959 - Changed storeEntry->flag and storeEntry->refcount back to
960 32-bit ints.
961 - Removed extra "\r\n" for abort error messages.
962 - Numerous hash fixes from Mark Treacy.
360f7bea 963 - Renamed rfc850 to rfc1123.
e2971793 964 - Changed storeRelease to not make recursive call for HEAD
965 objects.
966 - Changed return value semantics of storeRelease().
91b74eb8 967
1a1ca352 968Changes to squid-1.1.beta9 (October 21, 1996):
969
970 - Added 'make depend' target to Makefiles.
971 - Fixed changing the wrong instance of 'opt_catch_signals'
1baa4e8a 972 in tools.c for beta8.
1a1ca352 973 - Fixed xmemcpy macros in include/config.h (Ed Knowles).
1fb83a91 974 - Fixed logging of "TCP_EXPIRED_MISS/304."
1a1ca352 975
5ecceaa4 976Changes to squid-1.1.beta8 ():
977
978 - Added client_db.c; keeps stats on clients, use cachemgr
979 to view client list.
980 - Stop sending ICP_OP_DENIED to clients if 95% of their
981 queries are denied (then they'll think we're dead).
366b96f1 982 - Fixed objects getting stuck in VM when handling aborted
983 requests in icpHandleIMSReply().
a4be6552 984 - If IMS verification fails, send the old object and log it
985 as TCP_EXP_FAIL_HIT.
986 - Added Host: header to HTTP requests.
10660f97 987 - Disable dnsservers with 'dns_children 0' in the config file.
988 - Disable ftpget with 'ftpget_program none' in the config
989 file. Also ftpget is disabled for http_accel mode.
6211a7c1 990 - Changed cachemgr stats/objects listing format.
991 - Added some missing "entry->refcount++"
992 - Changed StoreEntry->timestamp to be the last verification time.
993 (was the stored-on-disk time).
994 - Fixed stuck objects from "304 Not Modified" responses without
995 final blank line.
996 - Added failure detection to icmpRecv().
0b6d1622 997 - Fixed backwards logic in debug_trap().
72827a42 998 - Fixed neighbor caches remaining in 'DEAD' state. Reorganized
999 handling ICP replies so neighborsUdpAck gets called for
1000 most every reply.
5ecceaa4 1001
19037ac2 1002Changes to squid-1.1.beta7 (October 14, 1996):
6ac8a46c 1003
1004 - Combined and renamed comm_set_select_handler() functions.
e2b8bf57 1005 - Fixed netdbPingSite() not checking n->next_ping_time.
1006 - Fixed acl.c to use regular gethostbyname() because IP cache
1007 isn't initialized while reading config file.
1008 - Linked ftpget with debug.o and removed lib/debug.c,
1009 lib/log.c.
19037ac2 1010 - Fixed matchDomainName() coredump for late ICP packets.
1011 - Removed date string from syslog messages.
1012 - Fixed ftpget BASE HREF.
1013 - Fixed pinger to check squid socket every 10 seconds.
6ac8a46c 1014
e90100aa 1015Changes to squid-1.1.beta6 ():
1016
1017 - Fixed lots of function prototypes, etc (Ed Knowles).
1018 - Added multicast patch (Martin Hamilton).
e2b8bf57 1019 - Replaced 'struct hostent' with 'struct ipcache_addrs' in IP
1020 cache.
cafd0944 1021 - Added ipcacheCycleAddrs() to round-robin IP addresses.
e2b8bf57 1022 - Added ipcacheRemoveBadAddr() to remove addresses from failed
1023 connect()'s.
1024 - Changed comm_connect() to comm_nbconnect() and removed other
1025 nonblocking connection handling code from other modules.
1026 - Improved cache memory usage. Now cache_mem specifies the
1027 size of the in-memory data pool. Hot objects use whatever
1028 space is not used by in-transit objects.
cafd0944 1029 - Removed 'max_hot_object_size' config option.
1030 - Fixed virtual-host coredump bug (Aaron Hopkins).
e90100aa 1031
300acab6 1032Changes to squid-1.1.beta5 (October 7, 1996):
1033
1034 - Fixed coredump in storeFreeMemory().
1035 - Fixed displaying repeated IP addresses in IP cache contents.
1036 - Added parent/sibling modifiers to cache_host_domain lines.
1037 - Added 'miss_access' to restrict fetching HTTP MISS requests.
1038 Use this to force your peer caches to use you as a sibling and
1039 not as a parent.
1040 - Added browser ACL patch (Carson Gaspar).
1041 - Added reading ACLs from file patch (Arjan de Vet).
6d2296d4 1042 - Squid-1.0 changes up to 1.0.18.
ee1d3cec 1043 - Added release/cleanup functions to net_db.c.
7efcb4b8 1044 - Added 'minimum_direct_hops' config option.
300acab6 1045
0ac25a67 1046Changes to squid-1.1.beta4 (September 26, 1996):
67508012 1047
1048 - Fixed coredump in icpStateFree() when calling
1049 checkFailureRatio().
1050 - Added more stuff to net_db.c.
1051 - Fixed memory leak in stat_ipcache_get().
1052 - Changed __P back to _PARAMS.
9d90e665 1053 - Fixed authorization parsing bug in ftp.c (Yoichi Shinoda).
1054 - Allow ICP socket on priveledged ports.
1055 - Added trap for STORE_PENDING objects when lock_count == 0.
1056 - Replaced 'cache_hot_vm_factor' with 'max_hotvm_obj_size'.
1057 - Moved ICMP socket to external 'pinger' program.
a65bb524 1058 - Moved tvSubMsec() to lib/util.c.
1059 - Moved accessLogTime() to debug.c.
4d1c96c0 1060 - Fixed handling of race condition in icpHandleIMSReply().
1061 - Fixed "\r\n\0" bug in gopherSendRequest();
1062 - Fixed cachemgr output for non-table browsers (Cord Beermann).
1063 - Moved accept() for dnsserver into Squid.
67e7a3e0 1064 - New SVR4 config stuff in contrib directory (Markus Gyger).
a88cc58a 1065 - Includes squid-1.0 changes up to 1.0.17.
73d94b9e 1066 - Fixed storeWriteCleanLog() bug which caused released objects
1067 to be kept.
0ac25a67 1068 - Added *FreeMemory() routines.
67508012 1069
1070Changes to squid-1.1.beta3 (September 16, 1996):
86ee2017 1071
1072 - s/()/(void)/
1073 - Fixed 8k page leak in icmpRecv().
473471f2 1074 - Use strerror() if available instead of sys_errlist[].
1075 - Misc ANSI-related cleanup.
d4488506 1076 - Added 'cache_stoplist' to specify things which should
1077 never get saved to disk.
1078 - Merged some parsing routines into parseWordlist().
1079 - Fixed icpHandleIMSReply() bug when HTTP reply headers
1080 received in multiple reads.
1081 - Changed all ipcache_nbgethostbyname() handler functions
1082 to be void.
1083 - Fixed bug when storeLockObject() fails for UDP_HIT_OBJ
1084 replies.
1085 - Simplified storeGet().
1086 - Removed meta_data.hash_links member.
caebbe00 1087 - Includes squid-1.0 changes up to 1.0.16.
e1d9800b 1088 - s/__STRICT_ANSI__/__STDC__/g
86ee2017 1089
67508012 1090Changes to squid-1.1.beta2 (September 12, 1996):
4c5cabe1 1091
49e75273 1092 - Switched to ANSI style coding.
b8d8561b 1093 - Fixed UDP_HIT_OBJ objects ignoring 'proxy-only' setting.
4c5cabe1 1094 - Added setting cachemgr.cgi fields from query string
1095 (Neil Murray).
1096 - Split log type TCP_IFMODSINCE into TCP_IMS_HIT and
1097 TCP_IMS_MISS
1098 - Replaced proto_hit() and proto_miss() with proto_count()
1099 which looks at log_type argument to calcultate hits
1100 and misses.
1101 - Split CacheInfo into HTTPCacheInfo and ICPCacheInfo.
1102 - Placed call to proto_count() just after log_append()
1103 so we only need it in one place.
1104 - Made a lot of proto.c functions static and added prototypes.
ce2869d0 1105 - Fixed icpProcessRequest() bug. Need to check EXPIRED
1106 before IMS.
eebe8724 1107 - Fixed aclDestroyDenyInfoList() to NULL free'd lists.
1108 - Fixed storeDirClean() to unlink files which should be
1109 directories (Cord Beerman).
be083e42 1110 - Added ICMP support. Source ping will use ICMP packets if
1111 compiled with -DUSE_ICMP=1 and started with root privleges.
4c5cabe1 1112
a09d6f9d 1113Changes to squid-1.1.beta1 (September 12, 1996):
36fd4d12 1114
1115 - Fixed stupid coredump bug in storeGetSwapSpace().
1116 - Cleaned up gopher.c; prototypes, make functions static, etc.
1117 - Added READ_DEFERRED entry flag. Only extend lifetime when
1118 first entering deferred mode.
1119 - Added debug_trap() to replace some fatal_dump()'s. Now use
1120 debug_trap for non-fatal errors. If -C option is set,
1121 then debug_trap is the same as fatal_dump.
1122
7690e8eb 1123Changes to squid-1.1.alpha18:
1124
7939435c 1125 - Fixed storeCheckPurgeMem() to both 'purge' *and* 'release'
1126 objects as needed.
7690e8eb 1127 - Fixed up RWStateCallbackAndFree() to prevent it from getting
1128 called twice.
1129 - Added 'deny_info' support for redirecting denied requests to
1130 a specific URL (maex@space.net).
1131 - Fixed protoUnregister() to not abort objects being swapped in.
d54ac2a3 1132 - Fixed parent-stays-dead-bug by removing PING_WAITING
1133 check in icpHandleIcpV?().
7690e8eb 1134 - Changed debug log timestamp format.
1135 - Fixed coredump-causing bugs in icpHandleIMSReply().
1136 - Fixed FMR bug in neighborsUdpAck() for UDP_HIT_OBJ replies.
1137 - Fixed up InvokeHandlers() to clear handler before calling.
35b9d444 1138 - Added -k signal option to signal a running Squid (Markus Gyger).
c28f8352 1139 - Removed dynamic_array code.
7939435c 1140
1ee4fb1a 1141Changes to squid-1.1.alpha17:
1142
1143 - Added more IMS support. Now Squid issues IMS requests for
1144 expired objects in the cache. Log type will be either
1145 TCP_EXPIRED_HIT if the server sends "304 Not Modified" or
1146 TCP_EXPIRED_MISS if the server send a new object.
49789bff 1147 - Added Config.expireAge and 'expire_age' to config.
1ee4fb1a 1148 - Fixed storeGetMemSpace() bug; need to check
1149 storeCheckPurgeMem() instead of storeEntryLocked().
1150 - Renamed icp_hit_or_miss() to icpProcessRequest().
1151 - Changed mkrfc850() to use normal variable instaed of a
1152 pointer.
1153 - Removed store_entry member from fd_table[] in comm.h.
1154 - Changed httpSendRequest to not tack Squid onto the 'User-Agent'
1155 line, Use HTTP/1.1 'Forwarded' instead.
1156 - Removed icpProcessHIT() which only called icpSendMoreData().
1157 - Removed icpProcessIMS() which only called icpGetHeadersForIMS().
1158 - Removed some 'Reset header fields for reply' crap.
1159 - added old_entry member to icpStateData for handling IMS
1160 requests.
1161 - Added 'locks' member to ipcache_entry; need to lock an
1162 ipcache entry during ipcache_call_pending().
1163 - Removed ipcache_call_pending_badname().
1164 - Cleaned up setting/clearing IP_LOOKUP_PENDING bit.
1165 - Removed storeEntryLocked() trap in storePurgeMem().
1166 - Added storeCheckExpired().
1167 - Removed storeWalkThrough() and removeOldEntry(), changed
1168 storePurgeOld() to do the walking through instead.
30ba5128 1169 - Added storeConfigure() so HUP signal affects store_swap size.
49789bff 1170 - Replaced some parsing functions with parseMinutesLine().
1171 - Added StoreEntry flag bit ENTRY_NEGCACHED.
1172 - Added storeNegativeCache().
1ee4fb1a 1173
1c481e00 1174Changes to squid-1.1.alpha16:
1175
e4289d4f 1176 - Fixed ipcache TTL bug from new ipcache_parsebuffer().
1177 - Copied recent ipcache.c changes to fqdncache.c
1178 - Copied icpHandleIcpV2() fix to icpHandleIcpV3().
1179 - incorporate squid-1.0.12 changes.
1180
70cbd177 1181Changes to squid-1.1.alpha15:
1182
1183 - Removed 'bad swap_status' trap in icpHandleIcpV2.
1184 Now skip ICP replies for StoreEntry's with ping_status
1185 != PING_WAITING.
1186 - Fixed numerous compiler problems.
1187
1450414d 1188Changes to squid-1.1.alpha14:
1189
1190 - Fixed ENTRY_DISPATCHED bug. ENTRY_DISPATCHED was not always
1191 getting set (e.g. for requests matching hierarchy_stoplist).
1192 This could cause multiple calls to storeAbort() for the same
1193 entry.
1194 - With ENTRY_DISPATCHED now fixed, call squid_error_entry()
1195 from protoUnregister() for StoreEntries which have not
1196 been dispatched.
1197 - Fixed 'quick_abort' parsing bug.
1198 - NULL terminate too-long URL strings in urlParse(). Still
1199 need fix to somehow handle these.
d5d836c0 1200 - Added shadow password patch from John Saunders
1201 <johns@rd.scitec.com.au>
1450414d 1202 - Added _dns_ttl_ hack from bne@CareNet.hu to get real TTL
1203 values from DNS queries. See Release-Notes-1.1.txt for more
1204 info.
d5d836c0 1205 - Added better '304 Not Modified' reply from Jaeyeon Jung
1206 <jyjung@cosmos.kaist.ac.kr>.
17d32ba1 1207 - Rewrote ipcache_parsebuffer().
1450414d 1208 - Fixed stupid clientProxyAuthCheck() bugs.
1209 - Made IP cache size configurable with 'ipcache_size'.
1210 - Fixed bug parsing 'cache_swap_low'.
1211 - Added -b option to ftpget to limit data transfer rate
1212 (bytes/sec). Specify on 'ftpget_options' in config file.
1213 - Miscellaneous filedescriptor management cleanup.
1214 - Renamed function getFromCache() to protoStart().
6bf5b6ec 1215 - Added delays when forking dnsservers, redirectors, and
1216 ftpget.
1450414d 1217 - Includes 1.0 changes up to 1.0.11.
1218
1219Changes to squid-1.1.alpha13:
1220
1221 - oops, there was no alpha13.
46aea673 1222
d744f553 1223Changes to squid-1.1.alpha12:
1224
57b7e562 1225 - Rewrote storeGetMemSpace().
1226 - Fixed hot_vm accounting; only count objects which are added
1227 to the IN_MEMORY table.
616e163d 1228 - Changed protoUndispatch() to never call squid_error_entry().
57b7e562 1229 Should fix storeSwapOutHandle() and 'HELP! Someone is
1230 swapping out a bad entry' coredumps.
1231 - Report all error pages to the debug log.
d744f553 1232 - Added -i option which forces IP cache entry to be invalidated
1233 just after an object retrieval begins.
af00901c 1234 - Includes all squid-1.0 changes up to squid-1.0.10.
2546fcb3 1235 - Added patch from srb@cuci.nl (Stephen R. van den Berg) for
1236 - ttl_force_pattern
1237 - quick_abort min pct max
1ce5b828 1238 - Added a proxy authentication patch from Jon Thackray
1239 <jrmt@uk.gdscorp.com>. Must add -DUSE_PROXY_AUTH=1 to src/Makefile.
c85e0538 1240 - Cleaned up calling maintenance functions from main().
616e163d 1241
dd263318 1242Changes to squid-1.1.alpha11:
1243
1244 - Fixed sscanf() bug in storeDirClean()
1245 - Fixed coredump in squid_error_entry() on Config.errHtmlText.
dfdb0343 1246 - Added redirector stats entry to cachemgr.cgi.
dd263318 1247 - Call ipcache_purgelru() during an idle timeout.
1248 - Changed fqdnFromAddr() to copy inet_ntoa() result into a
1249 static buffer.
1387baa5 1250 - Fixed storeDirClean() printf format.
dd263318 1251
9cc8a658 1252Changes to squid-1.1.alpha10:
1253
2e0569ed 1254 - Fixed directory increment bug in storeDirClean().
9cc8a658 1255 - Misc little changes trying to track town random coredumps.
1256 - Includes all squid-1.0 changes up to squid-1.0.8.
2e0569ed 1257
004b3381 1258Changes to squid-1.1.alpha9:
1259
1260 - Fixed parsing of redirected URLs.
1261 - Changed URL redirection to pass in client address, ident, and method.
1262 - Fixed NULL pointer coredump in log_append().
1263 - Don't swap negative-cache objects to disk (storeCheckSwappable())
1264 - Only purge MemObject if entry is swapped to disk.
1265 - Includes all squid-1.0 changes up to squid-1.0.7
cd2e6c01 1266 - Fixed purify free memory errors in clientAccessCheck().
004b3381 1267
642a7c42 1268Changes to squid-1.1.alpha8:
1269
eaa77841 1270 - Removed all references to hierarchy.log.
1271 - Changed hierarchy_log_append() to hierarchyNote() and added
1272 _hierarchyLogData structure.
642a7c42 1273 - Fixed "tty input" bug where a reverse lookup request was
1274 written to stdout.
1275 - Cleaned up pointers in protoUnregister().
0a5b9b32 1276 - Includes all squid-1.0 changes up to squid-1.0.6.
2546fcb3 1277 - cache_swap 0 is allowed (proxy only server, no swapping), mainly
1278 intended for fast maintenance startups where the system already
1279 has to be running, but the disk(s) have not been fsck'd yet.
1280 - quick_abort actually works now
1281 - quick_abort functionality made conditional
1282 - ttl_pattern storage wasn't being cleaned upon a reread of
1283 the config file (the patterns were added only, got duplicates)
1284 - ttl_force_pattern a new config option to override the settings
1285 of certain pages despite (or because) of enforced low expiry times
2546fcb3 1286
98d030e6 1287Changes to squid-1.1.alpha7:
1288
c10b625a 1289 - Added 'tcp_recv_bufsize' option to config.
1290 - Changed NEIGHBOR to SIBLING where appropriate.
1291 - Split UDP_HIT_OBJ into {PARENT,SIBLING}_UDP_HIT_OBJ
1292 - Misc casts and cleanup from running Insight.
1293 - Replaced all get*() functions with direct references to
1294 Config structure.
98d030e6 1295 - Removed 'http_stop', 'ftp_stop', and 'gopher_stop' from config.
1296 - Added 'ssl_proxy' config for forwarding all SSL requests to
1297 another proxy.
1298 - Includes all squid-1.0 changes up to squid-1.0.5.
c10b625a 1299
40878e17 1300Changes to squid-1.1.alpha6:
1301
1302 - Changed storage manager to use a two level directory
1303 structure. This makes squid-1.1 incompatible with squid-1.0!
4349cb51 1304 (Mark Treacy).
40878e17 1305 - Added last modification time to the StoreEntry structure, and
1306 the swap log.
1307 - Changed how memory passed to comm_write() gets freed. Now
1308 pass in a free handler function which gets called when the
1309 RWStateData structure is destroyed.
1310 - Other misc cleanup.
1311 - Added a reverse-address-lookup cache (``fqdncache'').
1312 - Added support for threaded ACLs for destination IP addresses
1313 and source hostnames.
1314 - Use aclMatchDomainList() instead of aclMatchWord() for domain names.
1315 - Renamed cachemgr 'stats/general' to 'stats/ipcache'.
1316 - Added 'log_fqdn' option to config file.
1317 - Added 'client_netmask' to config file.
1318
baa49bd2 1319Changes to squid-1.1.alpha5:
fb3310f1 1320
baa49bd2 1321 - Got Asynchronous I/O stuff to compile and run on IRIX 5.3
fb3310f1 1322 - Cleaned up diskHandleWrite()
1323 - Added free() handler to struct dwrite_q so diskHandleWrite()
1324 can free memory after its been written.
1325 - Changed file_open() to not allow files to be opened O_RDWR.
1326 - Changed file_open() to always set O_APPEND for O_WRONLY files.
14ea2549 1327 - Includes all squid-1.0 changes up to squid-1.0.2.
fb3310f1 1328
499109b3 1329Changes to squid-1.1.alpha4:
1330
1331 - Fixed Asynchronous Disk I/O routines to basically work.
1332 - Fixed memory write bugs when using the redirector.
1333 - Added support for non-anonymous FTP urls without needing a
1334 password in the URL.
1335
27386800 1336Changes to squid-1.1.alpha4:
1337
1338 - Changed cachemgr detailed filedescriptor info to be a separate item.
1339 - 'no-cache' reload now discards bad IP cache entries too.
1340 - Added 'echo request' URL hack: http://cachehost:3128/echo
1341 - Added URL redirector feature.
1342 - Addeed 'ident_lookup' option to config file
8929e8c7 1343 - Fixed http to never rely on blocking IP cache lookups.
1344 - Removed need for locked IP cache entries.
f13e2386 1345 - Changed free page stacks to always free pages if more than
1346 'max' are allocated.
27386800 1347
1ef4c6c1 1348Changes to squid-1.1.alpha3:
983061ed 1349
898f5d1d 1350 - Added Asynchronous Disk I/O routines from Pete Bentley.
27386800 1351 (NOTE, not yet working for IRIX 5.3).
1ef4c6c1 1352 - Made squid native access log the default format.
1353
1354Changes to squid-1.1.alpha2:
1355
1356 - Added support for RFC931/ident
1357
1358==============================================================================
9cc8a658 1359
6d2296d4 1360Changes to squid-1.0.18 (October 7, 1996):
1361
1362 - Added INADDR_NONE to cachemgr.c for Solaris.
1363 - Added checks to deal with Harvest Cached neighbors which don't
1364 handle Squid's ICP version 2.
1365
233794cd 1366Changes to squid-1.0.17 (September 24, 1996):
1367
1368 - Fixed cachemgr.cgi to handle an arbitrary IP address (Ron
1369 Gomes)
1370 - Fixed syslog() calls to use syslog(X, "%s", buf) (Yoichi
1371 Shinoda).
1372 - Copied ipcache locking stuff from v1.1.
1373 - Copied httpConnect() from v1.1 for non-blocking DNS lookups.
1374 - Fixed "\r\n\0" bug in gopherSendRequest();
1375
caebbe00 1376Changes to squid-1.0.16 (September 16, 1996):
1377
1378 - Fixed shadow passwd support (John Saunders).
1379 - Added checkFailureRatio() to detect high fail:success ratios
1380 and go into ICP "hit only" mode for 5 minutes when the ratio
1381 exceeds 1.
1382 - Added ip_acl_destroy() to reset 'local_ip' and 'firewall_ip'
1383 on HUP signal.
1384
1385Changes to squid-1.0.15 (September 13, 1996):
1386
1387 - Fixed stupid bugs from moving icpState->flags to
1388 request->flags.
1389
1390Changes to squid-1.0.14 (September 13, 1996):
1391
1392 - Added '#if DELAY_HACK' code for Mike Groeneweg
1393 <mikeg@scorpion.murdoch.edu.au>.
1394 - Fixed debug bug in ttlSet().
1395 - Moved icpState->flags to request->flags.
1396 - Fixed edgeWouldBePinged() to skip SIBLINGS and NO-CACHE
1397 requests.
1398 - Fixed bad SET/TEST in httpProcessReplyHeader() (Miguel A.L.
1399 Paraz).
1400
1401Changes to squid-1.0.13 (September 12, 1996):
1402
1403 - Fixed ftpget parsing PASV reply bug (Carson Gaspar).
1404 - Forced include of <netinet/in_systm.h> for NeXT (Holger
1405 Hoffstaette).
1406 - Promulgate tcp_outgoing_addr to ftpget with -o option (Edward
1407 Moy).
1408 - add Date: header to Squid-generated Gopher objects (Geoffrey
1409 Keating).
1410 - cachemgr.cgi HTML fixes (Cord Beermann).
1411 - Collapsed some config parsing functions to parseOnOff().
1412 - Added config option: memory_pools on|off
1413 - Added config option: udp_hit_obj on|off
1414 - Added config option: forwarded_for on|off
1415 - Copied better stmem.c and stack.c routines from v1.1 code.
1416 - Added support for HTTP/1.1 Cache-Controls 'private' and
1417 'no-cache'.
1418 - Copied dnsserver "hello/alive" test from v1.1 code.
1419
1c481e00 1420Changes to squid-1.0.12 (September 3, 1996):
1421
1422 - Fixed urlCheckRequest() to allow CONNECT/SSL requests.
1423 - Change default socket send/receive buffers to 16k (in
1424 configure) instead of 8k, mainly for Solaris.
1425 - Fixed urlParse() to remove trailing dots from hostnames.
1426 - Added 'ttl_pattern/i' config tag for case-insensitive
1427 regular expressions.
1428 - Fixed swapin_complete_handler FMW bug in storeSwapInHandle().
1429 - Removed 'Invalid object detected' trap in storeValidToSend().
1430
a8f7d3ee 1431Changes to squid-1.0.11 (August 30, 1996):
1432
1433 - Fixed ENTRY_DISPATCHED bug. Now set ENTRY_DISPATCHED
1434 only in getFromCache().
1435 - Added missing newlines to a number of debug messages.
1436 - NULL-terminate long URL's in urlParse().
1437 - Changed configure to remove libmalloc for FreeBSD
1438 - Changed ftpget to assume a single space between date and
1439 filename in Unix sytle listings.
1440 - Added urlCheck() to check for supported method/protocol
1441 combinations and return "501 Not Implemented" when
1442 appropriate.
1443 - Added ftpget check for negative port numbers in PASV
1444 reply.
1445 - Added shadow password support for cachemgr shutdown.
1446
af00901c 1447Changes to squid-1.0.10 (August 26, 1996):
1448
1449 - Fixed INADDR_NONE not being set for ftpget.c.
1450 - Remove "Connection: Keep-Alive" lines from HTTP requests
1451 since Squid doesn't support them.
1452 - Fixed IP Address/netmask bug. Now 1.2.3.4/255.255.255.0 is
1453 equivalent to 1.2.3.0/255.255.255.0.
1454
1455Changes to squid-1.0.9 (August 22, 1996):
1456
1457 - Cleaned up ipcache_purgerlu().
1458 - Fixed ipcache_gethostbyname() to release expired entries.
1459 - Added check for numeric addresses to ipcache_nbgethostbyname().
1460 - Added Date: field to ftpget's HTTP header output.
1461 - Added temporary hack to httpProcessReplyHeaders() to allow
1462 caching of non-HTTP objects fetched from neighbors when
1463 the header does not have Date, Expires, or Last-Modified.
1464 - Added a check for a valid ICP socket before sending ICP
1465 queries.
1466 - Fixed SSL code to unregister DNS lookups if client aborts.
1467 - Removed lib/host_cache.c from distribution.
1468 - Made IP cache stats output sorted by last reference.
1469 - Added ICP internet-draft to docs directory.
1470
9cc8a658 1471Changes to squid-1.0.8 (August 19, 1996):
1472
1473 - Added ftpget fixes from carson@lehman.com and moy@parc.xerox.com.
1474 - Fixed -s option to enable syslog logging.
1475 - Added 'err_html_text' for configurable error messages.
1476 - Fixed protoDispatchDNSHandle() to not try a direct fetch if
1477 host is beyond firewall_ip list.
1478 - Changed storeDirClean() to handle one directory per call and
1479 not keep the dirhandle open between calls.
1480 - Changed .zip MIME type to "application/x-zip-compressed".
1481 - Added new 'url_regex' ACL type, regular expression match over
1482 the whole URL.
1483 - Removed xrealloc() call from storeClientListAdd().
1484
004b3381 1485Changes to squid-1.0.7 (August 14, 1996):
1486
1487 - Added "store_clean" routines to periodically remove orphaned
1488 swap files.
1489 - Increased StoreEntry->method_t from 3 to 4 bits, probably fixes
1490 storeGenerate*Key() coredumps.
1491 - Added debugging to examine_select().
1492 - Added peer address to debugging for Ignored ICP packets.
1493
65159151 1494Changes to squid-1.0.6 (August 12, 1996):
1495
1496 - Fixed coredump in icpStateFree() for bad requests.
1497 - Fixed configure bug in determining FD_SETSIZE.
1498 - Fixed garbage collection to stop if SIGTERM received.
1499 - Fixed pid file to be written just before 'ready to serve requests'.
1500 - Fixed CheckQuickAbort() lock_count bug.
1501 - Fixed setting the hierarchy code for access.log when the
1502 hierarchy.log is disabled.
1503 - Fixed urlParse() to fail for URLs longer than MAX_URL bytes.
1504 - Fixed icpDetectClientClose() to detect TCP half-close and
1505 not abort the connection.
1506
1507Changes to squid-1.0.5 (July 25, 1996):
1508
1509 - Added ICP_OP_RELOADING to be used instead of ICP_OP_DENIED
1510 for -Y option.
1511 - Moved hierarchy_code for access.log from MemObject to
1512 request_t so simultaneous client readers don't get the same
1513 hierachy code.
1514
1515Changes to squid-1.0.4 (July 24, 1996):
1516
1517 - Fixed ftpget logic/precedence bug
1518 - Fixed ttlSet() to choose TTL as offset from when the object
1519 was originally served, not the current time.
1520 - Fixed configure bug with setting GETTIMEOFDAY_NO_TZP.
1521 - Removed unnecessary call to ipcache_gethostbyname() in
1522 sslConnect().
1523 - Fixed stupid memset() bug in gopher.c causing
1524 a huge block of stack memory to be zeroed.
1525
1526Changes to squid-1.0.3 (July 18, 1996):
1527
1528 - Fixed FTP to send 'Ascii' or 'Binary' based on MIME encoding,
1529 not content-type.
1530 - Changed icpHierarchical() to allow IMS requests to neighbors
1531 if they all support Squid's private keys.
1532 - Fixed icpUdpSend() to not ask for a HIT_OBJ reply if the
1533 HTTP request included 'Pragma: no-cache'.
983061ed 1534
14ea2549 1535Changes to squid-1.0.2 (July 16, 1996):
1536
1537 - Fixed HTTP code in access.log for TCP_IFMODSINCE requests.
1538 - Fixed SSL to not read again until previous write is complete.
1539 - Added CPU usage percentage in cachemgr 'info' output.
1540 - Fixed bug when removing a neighbor. Forgetting to decrement
1541 friends->n causes a duplicate ICP query to be sent in
1542 neighborsUdpPing().
1543 - Increased some MAX_URL sized character buffers to prevent
1544 overflows.
1545
30a4f2a8 1546Changes to squid-1.0.1 (July 8, 1996):
1547
1548 - Fixed ftpget server looping on socket EOF condition.
1549 - Fixed SA_RESETHAND undefined bug.
1550 - Fixed half-hour timezone offset bug.
1551 - Fixed parse_rfc850() to return -1 instead of 0 upon error.
1552 - Added patch for Motorola systems from Tony Lorimer.
1553 - Added support for HTTP PUT method.
1554 - Added check for <netinet/tcp.h> for HP-UX.
1555 - Added GNU General Public License.
1556 - Changed ttlSet() to use Date field if Last-Modified is absent.
1557 - Changed http.c to not save objects from neighbors which do
1558 not have Date, Last-Modified, or Expires values.
1559 - Changed some large local character arrays to static.
1560
1561Changes to squid-1.0.0 (July 1, 1996):
1562
1563 - Fixed beta17 "fd_lifetime" typo bug
1564 - Added 'firewall_ip_list' to configuration options
1565 - Set resolver options to disable searching default domains
1566 and parent domains.
1567 - Added blocking-rebuild -F option.
1568 - Fixed storeMaintainSwapSpace to be called every 10 seconds.
1569 - Fixed ICP_HIT_OBJ bug causing objects to get stuck in VM.
1570 - Fixed matching the ends of domain names (e.g. bar.com no
1571 longer matches foobar.com).
1572 - Fixed checking return code from fprintf() while writing the
1573 clean swap log.
1574 - Fixed fatal_dump from storeSwapoutHandle running out of disk
1575 space.
1576 - Added disabling of a neighbor cache if 95% of replies are
1577 UDP_DENIED.
1578 - Added accounting for misc memory/data structures
1579 - Added 'no-query' option for 'cache_host' config line
1580 - Added error reporting to SSL requests.
1581 - Fixed SSL bug, client abort was not closing the server
1582 side connection.
1583 - Fixed checking hierarchy_stoplist bug.
1584 - Fixed ipcache error messages by giving each entry its
1585 own string.
1586 - Use sigaction() instead of signal() if available.
1587 - Fixed ipcache bug causing some lookups to get stuck in
1588 PENDING state if all dnsservers are busy.
1589 - Fixed domain name matching bug when using '.com' instead of
1590 'com'.
1591 - Fixed close_handler coredump bug in comm.c.
1592 - Removed unnecessary DNS lookup of hostnames in WAIS URLs.
1593
1594Changes to squid-1.0.beta17 (June 12, 1996):
1595
1596 - Fixed another ipcache coredump problem where an entry could
1597 be released between writing to and reading from dnsserver.
1598 - Fixed store.c bug of purging aborted objects.
1599 - Cleaned up checkLifetimes() function to make it simpler.
1600 - Added visible_hostname support to ftpget.
1601 - Fixed null edge dereferencing bug for UDP_HIT_OBJ.
1602
1603Changes to squid-1.0.beta16 (June 10, 1996):
1604
1605 - Fixed two coredump-causing bugs in ipcache_unregister().
1606 - Changed 'close_handler' to a linked list.
1607 - Changed freeing of protodispatch_data structures to use
1608 new close_handler (attached to client FD).
1609 - Fixed URL handling to accomodate browswers which do not handle
1610 relative URL parsing.
1611
1612Changes to squid-1.0.beta15 (June 9, 1996):
1613
1614 - Fixed storeSwapoutHandle coredump bug
1615 - Fixed DNS lookup failure of neighbor hosts after a few hours
1616 of operation
1617 - Changed memcpy() to memmove() for overlapping memory copies
1618 - Changed store rebuidling to unlink the log-last-clean file
1619 in case of a crash during rebuild
1620 - Added forwarding loop detection
1621 - Changed all memcpy to use xmemcpy which is memmove, bcopy, or
1622 memcpy.
1623 - Fixed coredump bug from partial dnsserver reads, manifest on
1624 FreeBSD and NetBSD.
1625
1626Changes to squid-1.0.beta14 (June 7, 1996):
1627
1628 - Fixed coredump bug in icp.c when generating ``Not Modified''
1629 replies.
1630 - Fixed SSL bug which assumed the requested host name would
1631 already be in the IP cache.
1632 - Fixed names of generated HTTP reply headers.
1633
1634Changes to squid-1.0.beta13 (June 7, 1996):
1635
1636 - Fixed coredump bug where StoreEntry key was free'd too soon.
1637 - Fixed UDP_HIT_OBJ bug: cancel the hierarchy timeout and set
1638 the ping_status to DONE for UDP_HIT_OBJ replies.
1639
1640Changes to squid-1.0.beta12 (June 6, 1996):
1641
1642 - Fixed problem when using udp_outgoing_addr where no ICP
1643 packets would be recieved because they were getting sent
1644 to the "outgoing" instead of the "incoming" socket.
1645 - Fixed objects hanging around in cache after a keychange.
1646 - Added ability to restrict neighbor caches with ACLs.
1647 ('cache_host_acl').
1648 - Fixed ssl FD mismatch bug.
1649 - Fixed INADDR_NONE bug on 64bit systems.
1650 - Fixed store rebuilding bug; temporary log file was not being
1651 truncated.
1652 - Made all external processes communicate with TCP sockets
1653 (no more Unix domain sockets).
1654 - Semi-major rewrite of ipcache implementation.
1655 - Fixed a couple memory bugs found by purify.
1656 - Fixed sending large (>8192 bytes) HTTP requests.
1657 - Added "lazy" server IP address ACL checks (type 'dst').
1658 - Changed handling of IMS requests. Now will return "304
1659 Not Modified" if the requested object is in the cache
1660 and not expired.
1661
1662Changes to squid-1.0.beta11 (June 1, 1996):
1663
1664 - Fixed serious memory leak of MemObject->reply structures.
1665
1666
1667Changes to squid-1.0.beta10 (May 31, 1996):
1668
1669 - Fixed bug when request arrives in fragmented IP packets.
1670 - Fixed ACL bug which denied cache manager access while in
1671 httpd_accel mode.
1672 - Changed ftpget to "fail nicely" for sites which do not allow
1673 PORT requests (if compiled with PASVONLY).
1674 - Fixed Unix domain socket off-by-one bug in ftpget.
1675 - Fixed lingering sockets after shutdown by SIGTERM.
1676 - Added dnsserver use histogram to ipcache stats.
1677 - Changed domain ACL's to match only the end of the hostname, not
1678 just anywhere in the string.
1679 - Fixed setuid bugs when pid_filename was not defined
1680 - Fixed zero-sized object getting stuck in VM.
1681 - Configure checks for working UNIX domain stream sockets
1682 - Rotate cache.log before the others
1683 - SIGUSR2 now toggles between full and normal debugging
1684 - Close and restart ftpget server during logfile rotation
1685 - Added memory pools for request_t and MemObject data structures.
1686 - Added new address binding options for more control
1687
1688Changes to squid-1.0.beta9 (May 23, 1996):
1689
1690 - Fixed storeToString() coredump bug on 'swap_buf'
1691 - Added back the CIDR notation functionality to decoding IP
1692 address ACLs.
1693 - Fixed ftpget listing parsing coredump bug.
1694 - Fixed neighborsUdpAck() coredump for late-arriving ICP replies.
1695
1696Changes to squid-1.0.beta8 (May 22, 1996):
1697
1698 - More friendly CFLAGS and LDFLAGS for configure
1699 - ACL_ALLWEEK bugfix
1700 - Added missing increment of UDP connection counter.
1701 - Changed ftpget select to check for EWOULDBLOCK/EAGAIN
1702 (workaround for broken Solaris select(2)).
1703 - Fixed MALLINFO calls for Linux
1704 - Fixed strerror() problems on SunOS 4.1.x
1705 - Fixed DefaultAnnounceRate; set to zero by defult.
1706 - Changed all port variables to u_short.
1707 - Created AF_UNIX versions of comm_open(), comm_connect().
1708 - Changed ftpget server to use UNIX domain socket.
1709 - Removed RESET_SIGNAL_HANDLER check--always reset the signal
1710 handler.
1711 - Added instrumentation of basic IPCache stats.
1712 - Fixed calculation of neighbor average RTT.
1713 - Added 'outbound_addr_list' to config
1714 - Change getFirstParent() to getFirstUpParent().
1715 - Changed ftpget to use an additional pipe() for crash detection
1716 - Added ICP_OP_DENIED message type
1717 - Added patches for Nextstep port from Luke Howard
1718 <lukeh@vurt.schnet.edu.au>
1719 - Added a lifetime to HTTP server connections being deferred.
1720 - Added IP address ranges in 'src' ACLs
1721 - Added FQDN's in 'src' ACLs
1722 - Fixed request structure free-memory-read/coredump bug.
1723 - Changed icp.c to select on client socket to detect aborts.
1724 - Better compliance with HTTP/1.1 *DRAFT* regarding which reply
1725 codes can be cached.
1726 - Added 'hierarchy_stoplist' configuration option.
1727 - Changed mallopt option M_MXFAST to 512 bytes.
1728 - Added -Y option to only return UDP_HIT or UDP_DENIED during
1729 store reload.
1730 - Added UDP_HIT_OBJ type. Just like a UDP_HIT, but object data
1731 is returned in the UDP packet if it will fit; saves a TCP
1732 connection. Not compiled in by default, add -DUDP_HIT_WITH_OBJ
1733 to src/Makefile DEFINES.
1734
1735Changes to squid-1.0.beta7:
1736
1737 - Fixed comm_udp_sendto continuous loop bug
1738 - Fixed URLs-with-colon-but-no-port-number bug
1739 - Fixed sending ICP queries for HEAD requests
1740 - Changed 'server_list' output. Added RTT, Fetches, Hits, Misses,
1741 and percents.
1742 - Fixed setuid bug causing some logs to be owned by root.
1743 - Fixed virtual host mode (-V option)
1744 - Added read(2) instrumentation for HTTP and FTP.
1745 - Changed neighbor initialization to continue if DNS lookup fails.
1746 - Lint cleanup
1747
1748Changes to squid-1.0.beta6:
1749
1750 - Fixed null error message coredump in ftpget.
1751 - Added -m Method option to `client'.
1752 - Fixed ftpget server bug with missing trailing slash.
1753 - Removed 'connect_ports' from config, use general ACLs instead.
1754 - Changed requested listen queue length to 1/4 of getMaxFD().
1755 - Rewrote SSL/CONNECT handlers. Now doesn't use a StoreEntry.
1756 - Fixed some aborted objects getting stuck in VM bug.
1757 - Fixed ftpget PASV reply sscanf to work for VMS ftpd.
1758 - Changed FTP URL parsing to use urlParse().
1759 - Changed ftpget to skip RETR command if URLs ends with '/'.
1760 - Changed ftpget to display README at the bottom if there are other
1761 server messages.
1762 - Changed ftpget to not reopen a new data connection
1763 if one is already open.
1764 - Fixed handling of FTP URLs with spaces (and other unsafe characters)
1765 - Changed ftpget to only generate BASE HREF if the FTP URL does
1766 not end with '/'.
1767
1768Changes to squid-1.0.beta5:
1769
1770 - Fixed cachemgr to send 'HTTP/1.0' on request so it works
1771 with beta4 fixes to icp.c.
1772
1773Changes to squid-1.0.beta4:
1774
1775 - Added a handler to restart the ftpget server.
1776 - Fixed access checks for ICP by parsing the requested URL.
1777 - Added "magic marker" to ftpget-generated errors so they can
1778 be negative-cached.
1779 - Added a small run-time check to configure to see if signal
1780 handlers should be restarted after invocation (ala SYSV).
1781 - Determine Maximum filedescriptors in configure and change
1782 FD_SETSIZE if needed.
1783 - Changed read stall algorithm for HTTP. No don't wait until
1784 the object is in DELETE_BEHIND mode to stall the server read
1785 and wait for the client to catch up. Also changed from 4k to
1786 16k read buffer.
1787 - Fixed HTTP request parsing to check for blank line at the
1788 end of all requests. Symptoms were "connection reset"
1789 messages.
1790
1791Changes to squid-1.0.beta3:
1792
1793 - Added ftpget '-C minport:maxport' option
1794 - Fixed PROTO_MAX fencepost bug in stat_init().
1795 - Fixed Fixed CheckQuickAbort() coredump.
1796 - Fixed disabling store.log and hierarchy.log when set to "none"
1797 - Fixed numerous problems related to setuid().
1798 - Fixed 'check_cache.pl' to use new swaplog format (without "FILE").
1799 - Fixed ACL coredumps when checking NULL words.
1800 - Changed pid_filename to be written and unlinked as root.
1801 - Added "-i seconds" option to 'client' for testing IMS GET.
1802 - Fixed a bug where an IMS request caused the valid object to
1803 get ejected from the cache.
1804 - Fixed continual DEAD_PARENT/REVIVE bug
1805 - Fixed ERR_INVALID_URL bug for URLs with a password field.
1806 - Added to Release-Notes info about converting 'cache/log' and
1807 difference between stoplists and ttl_pattern.
1808
1809Changes to squid-1.0.beta2:
1810
1811 - Fixed /bin/csh "$#argv" leftover in RunCache.
1812 - Fixed ACL day-of-week bitmask bug.
1813 - Fixed missing checks for WAIS in some places.
1814 - Fixed chdir(swappath(0)) bug; do chdir() after storeInit().
1815 - Changed enumerated structure members to be defined outside
1816 of the structure itself (for AIX).
1817 - Changed ftpget to fork before reading the request and make
1818 sure the entire request is read.
983061ed 1819
234967c9 1820Changes to squid-1.0.beta1 (Apr 19, 1996) from Harvest cached-1.4.pl3:
2d15012a 1821
2d15012a 1822 - Added a "server mode" to ftpget. Now the (much smaller)
1823 ftpget process forks for each FTP request.
234967c9 1824 - Added support for If-Modified-Since GET requests.
1825 - Added support for SSL and https objects.
1826 - Added background processing for rebuilding the disk store
1827 while serving requests. Cache can now serve requests immediately.
1828 - Added a 'reconfigure' feature activated by SIGHUP. The config
1829 file is re-read and most changes will take effect.
1830 - Added an internal flag for using private keys with ICP queries
1831 to neighbors. If any neighbor returns a reqnum field of zero,
1832 then disable using private keys. But still use private
1833 keys for things with bypass the ICP query step (such as POST
1834 and IMS-GET).
1835 - Added a function to verify content-lengths. Objects with
1836 mismatched (but non-zero) content lenghts will be ejected.
1837 - Added clean shutdown mode. On SIGTERM the incoming HTTP socket
1838 is closed. Active clients are given a lifetime of 30 seconds
1839 (configurable). Process exits when all sockets are closed.
1840 - Added support for large POST objects.
1841 - Added "store.log" which logs RELEASE/SWAPIN/SWAPOUT events.
1842 - Added announce feature to squid; no longer external program.
1843 If enabled, a running cache will announce itself every 24 hrs.
1844 - Added support for FTP URLs with non-default ports.
1845 - Added new Access Control List scheme.
1846 - Added Forwarded: header to proxy HTTP requests (HTTP/1.1 feature).
1847 - Added weights neighbors.
1848 - Added urlParse() which strips off default ports and
1849 makes hostnames all lowercase.
2d15012a 1850 - Added (section,level) debugging and 'debug_options' config line.
1851 - Added 'pid_filename' to configuration file.
234967c9 1852 - Added 'visible_hostname' to configuration file.
1853 - added 'ftp_user' to configuration file.
1854 - added 'dns_positive_ttl' to configuration file.
1855 - added 'dns_negative_ttl' to configuration file.
1856 - Added 'shutdown_lifetime' to configuration file.
1857 - Fixed bug where cache process would "spin" on large objects
1858 being deferred.
1859 - Fixed byte order conversion bug on setting echo port.
2d15012a 1860 - Changed meaning of command line -b (buffered logs) option.
1861 Now the default behaviour is unbuffered logs, use -b to make
1862 them buffered.
2d15012a 1863 - Changed WAIS code to always be fully compiled in.
234967c9 1864 - Changed the storage manager to use the notion of private and
1865 public keys. Requests are now private until the reply headers
1866 have been read.
1867 - Changed access logging significantly. Entries to "access.log"
1868 are written when the client connection closes. Every connection
1869 is logged exactly once, always with a valid size.
2cf0aa81 1870 - Changed access log format (non-common) to include request
1871 method and sub-second timestamps.
234967c9 1872 - Changed handing of ECONNRESET (connection reset) errors.
1873 Now treated like any other read error.
1874 - Changed 'rotate logs' to be activated by SIGUSR1.
1875 - Changed configure script to look specifically for tm_gmtoff
1876 and set HAVE_TM_GMTOFF.
1877 - Changed configure script to look specifically extended mallinfo
1878 structure and set HAVE_EXT_MALLINFO
1879 - Changed ICP reply code to use negative TTL value as UDP_HIT
1880 threshold so we never return a HIT on neg-cached objects.
1881 - Changed ftpget to use select(2) on I/O for timeouts. ftpget
cdd8d814 1882 now exits immediately if stdin goes away.
234967c9 1883 - Changed handling of '-z' option. Now only execute 'rm -rf ...' if
1884 -U option also given.
1885 - Removed the command line -d (debug) option. Use 'debug_options'
1886 in config file.
1887 - Removed all code and references to binary port.
1888 - Removed dual logging to stderr/cache.log.
1889 - Removed old IP access controls ('proxy_allow', etc.)