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