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