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