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