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