]> git.ipfire.org Git - thirdparty/squid.git/blame - ChangeLog
update
[thirdparty/squid.git] / ChangeLog
CommitLineData
4c154d99 1 - Added NAT/Transparent hijacking code from Quinton Dolan.
2 - Added actual filesystem usage to cachemgr 'storedir' page.
3 Only works for some operating systems.
a79d724b 4 - Fixed HTCP compile-time bugs.
5 - Fixed quick_abort bugs. Configured values are stored as
6 Kbytes, not bytes.
0da7d807 7 - Changed storeDirSelectSwapDir() to skip swap directories
8 when their utilization is over the high water mark ratio.
9ca005ac 9 - Fixed off-by-one bug for dead neighbor detection (Joe Ramey).
18cc143b 10 - fixed bugs in Content-Range header generation
11 - changed the way Range requests are handled:
12 - do not "advertise" our ability to process ranges at all
13 - on hits, handle simple ranges and forward complex ones
14 - on misses, fetch the whole document for simple ranges
15 and forward range request for complex ranges
16 The change is supposed to decrease the number of cases when clients
17 such as Adobe acrobat reader get confused when we send a "200"
18 response instead of "206" (because we cannot handle complex ranges,
19 even for hits) Note: Support for complex ranges requires storage of
20 partial objects.
21
4c154d99 22Changes to squid-1.2.beta25 (September 21, 1998):
23
4b66bfd3 24 - Fixed async IO bugs from adding filedescriptor arg to AIOCB
25 callbacks (Henrik Nordstrom).
26 - Fixed store_swapout.c assertion. We were freeing object data
27 past the swapout_done offset. This probably happens (only?)
28 when an object changes from cachable to uncachable while
29 it is being swapped out.
a260d877 30 - Added MEM_CLIENT_SOCK_BUF type so we can change the size
31 of the buffers used for writing data to the client sockets.
669d90e7 32 - Added configure check for libbind.a. If found, it will be
33 used instead of libresolv.a.
34 - Changed fwdStart() to always allow internally generated
dddd5b55 35 requests, such as for peer digests. These requests are
36 known to fwdStart() because the address arg is set to
37 'no_addr'.
669d90e7 38 - Completed initial HTCP implementation. It works, but is not
39 tested much.
2d5c8e74 40 - Added counters for I/O syscalls.
41 - Fixed httpMaybeRemovePublic. With broken ICP neighbors
42 (netapp) Squid doesn't use private keys. This caused us
43 to remove almost every object from the cache.
44 - Added 'asndb' cachemgr stats to show AS Number tree.
dddd5b55 45 - Fixed AS Number byte-order bug for netmasks.
2d5c8e74 46 - Fixed comm_incoming calling rate for high loads (Stewart
47 Forster).
426012d2 48 - Give always_direct higher precedence than never_direct
49 (Henrik Nordstrom).
dddd5b55 50 - Changed PORT ACL type to accept ranges. Now you can easily
51 deny, for example, all priveleged ports except 80, 70, 21,
52 etc.
53 - ARP ACL fixes for Linux (David Luyer).
54 - Replaced various "EBIT" flags bitfileds with structures of
55 "int:1" members.
56 - Changed storeKeyPrivate and storeKeyPublic to be a bit more
57 efficient by removing snprintf(). This causes an
58 incompatibility with old cache keys, however. To transition,
59 we will look up both the new and old style keys for about the
60 next 30 days. After that, if you haven't run this (or a
61 future) version, your cache contents will be lost.
62 - Made the client-side write buffer size configurable with
63 a #define in defines.h. By default it is still 4096 bytes.
64 - Removed redirectUnregister(). It should be unnecessary
65 because of cbdata locks.
66 - Fixed multiple HEAD request brokennesses (Henrik Nordstrom).
67 - Changed non-blocking connect(2) code to call getsockopt()
68 instead of connect() again. This is the approach recommended
69 by Stevens, and fixes bugs on BSD-ish systems when subsequent
70 connect() calls loop with EAGAIN status.
71 - Added MD5 cache keys to memory pool accounting.
72 - Added code to track number of open DISK descriptors and stop
73 swapping out objects if the number of disk descriptors becomes
74 too large. For now the limit must be manually configured with
75 the 'max_open_disk_fds'. By default, there is no limit.
76 - Stopped encoding a request method in the high byte of the ICP
77 reqnum field. Instead queried cache keys are copied to a
78 static array, indexed by the reqnum, modulo the array size.
79 Now we just use the request number to lookup a cache key,
80 instead of rebuilding it from the ICP reply URL and method,
81 unless we have netapp neighbors--they don't do reqnum
82 properly.
83 - Fixed reconfigure memory access bugs in redirect.c.
4b66bfd3 84
8e6a43e8 85Changes to squid-1.2.beta24 (August 21, 1998):
86
6c4067e5 87 - Added Bulgarian error pages by Evgeny Gechev.
ceb79b2b 88 - Changed StoreEntry->lock_count to a u_short.
c7d6216e 89 - Replaced urlcmp with strcmp
90 - Fixed pragma no-cache ejecting ENTRY_SPECIAL objects
91 (Henrik Nordstrom).
92 - Eliminated unneeded BASE HREF on "root" directories (Henrik
93 Nordstrom).
94 - Fixed peerDigestFetchFinish() assertion caused by forwarding
95 failures (e.g. miss_access rules).
ada249f8 96 - Changed signal handlers with ASYNC_IO and Linux so that
97 -k command line options work (Miquel van Smoorenburg).
4616f9ea 98 - Rewrote shutdown code to use events instead of setting
99 FD timeouts.
903e21a0 100 - Fixed cachemgr 'objects' (statObjects()) by adding a check
b6a76fb2 101 for READ_AHEAD_GAP, and calling storeCheckSwapout() in
102 storeBufferFlush(). Otherwise, the read-past pages would
103 never be freed.
681979a2 104 - Fixed DNSSERVER shutdown bugs. The re-opened dnsserver processes
105 were being closed by the dnsServerShutdown event.
b6a76fb2 106 - Modified storeHashInsert() to insert PRIVATE objects at
107 the tail of the LRU list, and PUBLIC objects at the head.
108 Thus, PRIVATE objects get kicked out quicker.
95e36d02 109 - Added David Luyer's DELAY_POOLS code.
54b5b3e5 110 - Fixed a bug due to HEAD replies which lack the end-of-headers
111 line.
112 - Made proxy-auth realm string configurable (Bob Franklin)
113 - Changed default mime time to a viewable one (Henrik Nordstrom).
114 - configure fixes for Sony's NEWS-OS 6.x (Makoto MATSUSHITA).
115 - Fixed 'you are running out of filedescriptors' bug which
116 could cause the HTTP incoming connection handler to not
117 be reset.
e23fbf04 118 - Changed syslog logging. Now squid debug levels 0 and 1 go
d737baa0 119 to syslog. Level 0 gets LOG_WARNING and level 1 gets LOG_NOTICE
e23fbf04 120 (this needs more work!)
2cb51fe0 121 - Fixed memory access errors in statAvgTick().
abc1237e 122 - Fixed duplicate requestUnlink() bug in forward.c
6c4067e5 123 - Fixed possible memory access bugs from not setting e->mem_obj
124 = NULL in destroy_MemObject().
125 - Deleted TCP_IMS_MISS tag. Always use TCP_IMS_HIT instead.
126 - Modified headersEnd and httpMsgIsolateHeaders to account
127 for funky line terminations such as CRCRNL.
128 (``but Netscape and IE _tolerate_ this'')
129 - Fixed carp functions (Eric Stern).
130 - Replaced internal proxy_auth code with extern authentication
131 module (Arjan de Vet).
132 - moved hash.c to libmiscutil.a.
e931f99a 133 - Fixed handling of ICP queries with whitespace in URLs.
134 Now we return ICP error and escape the URL before logging.
3a15a393 135 - Added configure check for socklen_t (David Luyer).
136 - Removed USE_SPLAY #defines; it is now standard.
3a76c002 137 - Added FD arg to async IO callbacks (AIOCB) so we can eliminate
138 temporary disk_ctrl_t structures.
139 - Changed ENOSPC disk write errors to reduce specific cache_dir
140 sizes, and not just the size of the cache as a whole.
f9cece6e 141 - Added httpMaybeRemovePublic() to purge public objects for
142 certain responses even though they are uncachable. This is
143 needed, for example, when an initially cachable object
144 later becomes uncachable.
8e6a43e8 145 - Added refresh_pattern options to ignore client reloads
146 (Henrik Nordstrom)
147 - Relocated disk.c code which combines blocks for writing
148 (Stewart Forster).
c7d6216e 149
857703c6 150Changes to squid-1.2.beta23 (June 22, 1998):
151
cf7f704c 152 - Added Turkish error pages by Tural KAPTAN.
66bbb757 153 - Added basic support for Range requests. For most cachable
154 requests, Squid replies with an "Accept-Ranges" header. Upon
155 receiving a potentially cachable Range request for a not
156 cached object, Squid requests the whole object from origin
157 server and then replies with specified range(s) to the
158 client. Multi-range requests are supported. Adjacent
159 overlapping ranges are merged. If-Range requests are
160 supported. Limitations: Multi-range requests with out of
161 order ranges are not supported.
162 - Made md5.c use standard memcpy and memset if they are
163 avaliable.
164 - Memory pools will now shrink if Squid is run-time
165 reconfigured with smaller value of memory_pools_limit tag.
166 - Added counter for number of clients (Tomi Hakala).
167 - Changed neighbor UP/DOWN algorithm to require 10 failed TCP
168 connections for UP->DOWN transition.
169 - Added 'unique_hostname' configuration option when its
170 necessary to have multiple machines with the same visible
171 hostname.
222917b2 172 - Fixed pumpReadFromClient() to not read too many bytes on
173 persistent connections.
53856ebd 174 - We can now cache HTTP replies with Set-Cookie. These evil
175 headers are now filtered out for cache hits on the client
176 side.
222917b2 177 - Fixed SNMP bugs caused by using snmpwalk.
9089cc70 178 - Fixed snmp system Group; all objects are now returned.
179 - Fixed snmp system Group sysDescr and sysContact.
78dfab2a 180 - Fixed snmp system Group sysObjectID it now returns a OBJECT
181 IDENTIFIER.
7fce9c3e 182 - Allocate FwdState from mem pools.
183 - Minor HTCP progress.
222917b2 184 - Moved 'miss_access' ACL check from client_side.c to forward.c
ed169eab 185 - Fixed logging of usernames for requests which require
186 proxy-authentication.
cf7f704c 187 - Fixed HTTP request parser to accept lowercase HTTP identifier
188 (Oskar Pearson).
189 - Fixed FTP listings to always include links to the parent
190 directory (Henrik Nordstrom).
191 - Fixed FTP to show an "empty" listing instead of showing
192 a "document contains no data" error (Henrik Nordstrom).
193 - Fixed refreshCheck() bug. Often it was checking the
194 refresh patterns against the string "[null_mem_obj]"
195 because we moved URLs to MemObject.
196 - Added CARP support by Eric Stern.
48382032 197 - Fixed select-spin bug when an ICP reply actually gets queued
198 and we failed to execute the write callback.
354b5fe1 199 - Fixed a storeCheckSwapOut bug. We were freeing up to
200 the queued offset instead of the done offset. This
201 resulted in a small chunk of object data not being in
202 memory and not yet written to disk. A client could
203 recieve a partial object because file_read() unexpectedly
204 returns EOF.
0aa791f8 205 - Fixed proxy-authentication hangs (Henrik Nordstrom).
c2354a6b 206 - Fixed request_t->flags bug causing authenticated, proxied
207 responses to be cached (Arjan de Vet).
e0e32f36 208 - Fixed MIME types for .tgz extension (Henrik Nordstrom).
209 - Added view and download options to FTP listings (Henrik
210 Nordstrom).
211 - Modified configure to allow using pre-installed libdlmalloc.a
212 (Masashi Fujita).
e8d8856c 213 - Fixed cachemgr 'objects' implementation.
fecf98dc 214 - Changed refreshCheck() algorithm. For cached objects, we
215 now check, in the following order:
216 * request max-age
217 * response Expires (if present)
218 * refresh_pattern max-age
219 * response Last-Modified compared to refresh_pattern
220 LM-factor (only if Last-Modified is present)
221 * refresh_pattern min-age
222 - Changed Copyrights.
d192d11f 223
ee3a78d4 224Changes to squid-1.2.beta22 (June 1, 1998):
225
2246b732 226 - do not cut off "; parameter" from "digitized" Content-Type
227 http fields
228 - Added X-Request-URI for persistent connection debugging
229 (Henrik Nordstrom)
f4d83f6d 230 - Added Polish error pages from Maciej Kozinski.
145f10f1 231 - Fixed hash_first/hash_next bugs with **Current pointer.
232 Replaced with *next pointer.
f4d83f6d 233 - Fixed PUT/POST bugs in client (Henrik Nordstrom).
234 - Deny forwarding loops in httpd accel mode (Henrik Nordstrom).
235 - Fixed eventRun "spin" bug when event delta time == 0.
a9cc1935 236 - Fixed setting Last Modified time on cached entries when
237 receiving a 304 reply.
06e87923 238 - Added while loop in httpAccept().
239 - Added while loop in icpHandleUdp().
240 - Fixed some small memory leaks.
241 - Fixed single-bit-int flag checks (Henrik Nordstrom).
137ee196 242 - Replaced "complex" (offset accounting) calls to snprintf with MemBuf
243 - Do not send only-if-cached cc directive with requests
244 for peer's digests.
ee3a78d4 245 - Added "automatic tuning" for incoming request rate, i.e.
246 how often to check HTTP and ICP sockets. See comm.c
247 comments for details.
145f10f1 248
6ee40ea2 249Changes to squid-1.2.beta21 (May 22, 1998):
250
434b408f 251 - Added Italian error pages by Alessio Bragadini.
a3f9588e 252 - Added Estonian error pages by Toomas Soome.
06066bbc 253 - Added Russian (koi-r) error pages by Andrew L. Davydov.
7b381d33 254 - Added Czech error pages by Jakub Nantl.
8e866bb4 255 - Fixed asnAclInitialize calling to prevent coredump.
256 - Fixed FTP directory parsing again.
257 - Made FTP directory listing "Generated" tagline like
258 the one for error pages.
52f977aa 259 - Fixed an assertion coredump in statHistCopy from
260 reconfiguring with different #peers in squid.conf
10202788 261 - Ignore leading whitespace on requests (and replies). RFC
262 2068 section 4.1, robustness (Henrik Nordstrom)
263 - Fixed keep_alive bug. We did not always honour reply
264 headers, but rather assumed connections could be persistent.
265 - Fixed reading whois output for AS numbers, especially when
266 they are longer than 4 KB.
267 - Removed 'cache_stoplist_pattern' configuration option. This
268 feature is now handled by 'no_cache'.
269 - If a URN resolves to only one URL, just return it immediately
270 instead of giving the user a "choice" (Andy Powell).
271 - Fixed year-2000 bug in lib/iso3307.c (Henrik Nordstrom).
272 - Changed squid-internal object names.
273 - Added netdb exchange protocol.
274 - Fixed wordlistDestroy() uninitialized pointer bug in
275 ftpParseControlReply.
06066bbc 276 - Fixed redirector subprocess to show real program name.
277 - Changed URN menu output to be sorted.
278 - Added fast select(2) timeouts when using ASYNC_IO.
279 - Added ARP ACL support for Linux (David Luyer).
2246b732 280 - Added binary http headers to requests
99edd1c3 281 - request_t objects are now created and destroyed in a consistent way
282 - Fixed cache control printf bug
283 - Added a lot of new http header ids
284 - Improved Connection: header handling; now both Connection and
2246b732 285 Proxy-Connection headers are checked for connection directives
99edd1c3 286 - Connection request header is now handled correctly regardless
287 of its position and the number of entries
2246b732 288 - Only replies with valid Content-Length can be sent with keep-alive
289 connection directive (Henrik Nordstrom)
290 - Better handling of persistent connection "clues" in HTTP headers;
291 the decision now depends on HTTP version (and User-Agent exceptions)
99edd1c3 292 - Removed handling of "length=" directive in IMS headers;
293 the directive is not in the HTTP/1.1 standard;
294 standing by for objections
295 - allowed/denied headers are now checked using bit masks instead of
296 strcmp loops
297 - removed Uri: from allowed headers; Uri is deprecated in RFC 2068
2246b732 298 - removed processing of Request-Range header (not in specs?)
7b381d33 299 - Fixed byte-order bugs in cacheDigestHashKey.
300 - Changed hash_remove_link() to return void.
301 - Changed ipcache_gethostbyname() to return NULL if
302 i->addrs.count == 0.
6de5fa88 303 - Added millisecond-timing to select/poll loops and event
304 queue.
305 - Changed 'peerPingTimeout' value to be twice the average
306 of all the peer ICP RTT's.
307 - Added 'half_closed_clients' option to force closing of
308 client connections which might only be half-closed.
309 - Fixed matchDomainName coredump bug.
310 - Don't cache HTTP replies with Vary: headers until we
311 get content negotiation working.
312 - Fixed SSL proxying to forward full HTTP request headers.
c09459dd 313 - Changed storeGetMemSpace(). Only purge down to the HIGH
314 water mark; move locked entries to the head of the inmem
315 list.
316 - Changed clientReadRequest() to locally handle any
317 "squid-internal-static" URL for any host.
52f977aa 318 - Disable persistent connections for client connections
319 from broken Netscape User-Agent, version 3.* (Stewart Forster)
434b408f 320
901b8eaf 321Changes to squid-1.2.beta20 (April 24, 1998):
322
fd1bc012 323 - Improved support for only-if-cached cache control directive.
324 - Enabled 304 replies for ENTRY_SPECIAL objects (e.g., icons).
a1a62b14 325 - Fixed 'quick_abort' percent calculation bug.
326 - Fixed quick_abort FPE bug.
327 - Changed more errno-checking functions to use ignoreErrno().
328 - Added ERESTART to ignoreErrno() because of report from
329 a Solaris system.
330 - Fixed '#elsif' typo.
331 - Fixed MemPool assertion by moving memInit() to before
332 configuration parsing functions.
333 - Fixed default 'announce_period' value (was 1 day, should
334 be 0) (Joe Ramey).
335 - Added configure warning for low filedescriptors and pointer
336 to FAQ.
b0497a40 337 - Fixed httpBodySet() bug causing URN related coredumps.
338 - Changed ipcacheCycleAddr() to always cycle through all all
339 available addresses, and not just advance when one of
340 them goes BAD.
341 - Fixed squid-internal bug for mixed-case hostnames (Henrik
342 Nordstrom).
4e41d49f 343 - Fixed ICP counting probelm. icpUdpSend() arg should be
344 LOG_ICP_QUERY instead of LOG_TAG_NONE.
e4b71f74 345 - Added some additional fault toleranse on FTP data channels
346 (Henrik Nordstrom).
347 - Corrected error reporting on FTP "hacks" (Henrik Nordstrom).
348 - Added lock/unlock for StoreEntry during storeAbort().
349 - Added filemap bit usage stats to cachemgr 'storedir' and
350 'info'.
351 - Replaced 'cache_stoplist' with 'no_cache' Access list.
352 - Fixed (hopefully) remaining swapfile-open-at-exit bugs.
44745828 353 - Fixed default hierarchy_stoplist to be ``default if none.''
354 - Fixed 'fake a recent reply' hack for detecting DEAD
355 and ALIVE neighbors (Joe Ramey).
e376562a 356 - Fixed FTP directory parsing bugs (Joe Ramey).
357 - Fixed ftpTraverseDirectory coredump for NULL ftpState->filepath
358 (Joe Ramey).
dea17509 359 - Fixed daylight savings time bug (again).
fd1bc012 360 - A lot of Cache Digests additions, fixes, and tuning.
361 Cache Digests are still "very experimental".
e376562a 362 - Fixed snprintf() bug. When len == 1, snprintf() would treat
363 the buffer as unknown size, emulating sprintf() behaviour.
364 - Made Error page language configurable with configure script
365 (Henrik Nordstrom).
366 - Fixed squid-internal URLs when http_port == 80.
367 - Remember the client address on redirected requests (Henrik
368 Nordstrom).
369 - Don't rebuild the request if the redirector returned the same
370 URL (Henrik Nordstrom).
371 - Rewrite Host: header on redirected requests (Henrik
372 Nordstrom).
373 - Include port (if non-standard) in generated Host: headers
374 (Henrik Nordstrom).
375 - Fixed rfc1123 timezone hacks for Windows NT
376 (Henrik Nordstrom).
377 - Added Russian Error pages by Ilia Zadorozhko.
378 - Added totals for ICP and HTTP hits to cachemgr client_list
379 output.
6cfa8966 380 - Changed error message to 'Generated TIME by HOST (SQUID/VER)'
381 because any string with an '@' must be an email address.
e376562a 382 - Fixed POST for content-length == 0.
901b8eaf 383 - Fixed "huge 304 reply" loop bug.
5e9ab945 384 - Fixed --enable-splaytree compile bugs.
c93fbf13 385 - Removed ASN lookup code in peer_select.c.
fd1bc012 386
005e5260 387Changes to squid-1.2.beta19 (Apr 8, 1998):
388
b0497a40 389 - Squid-1.2.beta19 compiles and runs on Windows/NT with
390 Cygnus Gnu-WIN32 b19 (Henrik Nordstrom).
447203a7 391 - Added French Error pages by Frank DENIS.
392 - Added Dutch Error pages by Mark Visser
901b8eaf 393 - Added German Error pages by Bernd P. Ziller, Jens Frank,
394 and Anke S.
f9f2be04 395 - Added support for only-if-cached cache-control directive.
005e5260 396 - Added RELAXED_HTTP_PARSER #define to allow requests which are
397 missing the HTTP identifier on the request line (e.g. buggy
398 SpyGame queries). RELAXED_HTTP_PARSER is undefined by default.
1f4d31f9 399 - Fixed disk.c FD leak for delayed closes in
400 diskHandleWriteComplete().
401 - Fixed cache announcement feature.
20fe7191 402 - Fixed httpReadReply() to retry failed HTTP requests on
403 persistent connections when read() returns -1, not only
404 when it returns 0.
805e5f70 405 - Fixed cbdata memory counting leak. cbdataUnlock() always
406 called free(), never memFree().
ff396fe6 407 - Fixed storeDirWriteCleanLogs() malloc bug on Alphas.
005e5260 408 - Fixed `++loopdetect < 10' assertion due to
409 clientHandleIMSReply bug for invalid/partial HTTP
410 replies.
411 - Added preliminary code for HTCP.
412 - Renamed 'aux' dir to 'cfgaux' for legacy DOS machines.
413 - Added "snmp_community" as an ACL type.
414 - Cleaned up proxy-auth acl implementation and removed
415 memory leaks.
416 - Added generic 'hashFreeItems()' function for efficiently
417 freeing hash table pointers.
418 - Added whoisTimeout() for ASN code.
447203a7 419 - Removed BINARY TREE code.
005e5260 420 - Fixed forgetting to reset Config.Swap.maxSize in
421 configDoConfigure.
422 - Fixed httpReplyUpdateOnNotModified() arguments-in-wrong-order
423 bug which caused not modified replies to not get updated.
424 - Fixed client_side.c bugs which could cause data to be written
425 to the client in the wrong order for persistent connections.
426 clientPurgeRequest() and clientHandleIMSComplete() must not
427 call comm_write(). Instead they must create and write to
428 StoreEntry's.
429 - Fixed ICP query service time counting bug(s).
430 - replaced 'char *mime_headers_end()' with 'size_t headersEnd()'
431 to fix buffer overruns. This also requires adding 'buf_sz'
432 args to some functions like clientBuildReplyHeader().
433 But we can eliminate the need to NULL-terminate the
434 buffer beforehand.
435 - Changed commConnectCallback() to reset the FD timeout to
436 zero before notifying about the connection. This requires
437 commSetTimeout() calls in numerous places to reinstall
438 timeouts.
439 - Changed comm_poll_incoming() to be called less frequently
440 (every 15 I/O's instead of every 7 FD's) (Michael O'Reilly).
441 - Removed HAVE_SYSLOG case for debug() macro. Almost all
442 systems do have syslog(), but more importatnly the
443 _db_level value is needed for debugging to stderr.
444 - Rewrote squid/dnsserver interface to use smaller, single-line
445 messages.
446 - Rewrote 'dns' cachemgr output to use a table format.
447 - Rewrote a lot of dnsserver.c.
448 - Added eventAddIsh() for semi-random event scheduling.
449 - Fixed an ftpTimeout bug for sessions which use PORT
450 commands.
451 - Fixed ftp.c to recognized invalid PASV replies (e.g.
452 port == 0).
453 - Removed hash_insert(). All hasing uses hash_join() now.
454 - Renamed hash_unlink() to hash_remove_link().
455 - Added hashPrime() to find closes prime hash table size
456 to a given value.
457 - Fixed Keep-Alive ratio counting bug which prevented
458 persistent connections from being used between cache
459 peers.
460 - Changed icmp.c to NOT queue messages sent from squid to
461 the pinger program.
462 - Changed icp_v2.c to NOT queue ICP messages by default.
463 But they will be queued and resent once if the first
464 send fails. Counters.icp.queued_replies counts the
465 number of messaages queued.
466 - Cleaned up ICP logging.
467 - Added identTimeout().
468 - Fixed ipcache reply counting bug. Overcounted dnsserver
469 replies for partial replies.
470 - Added urlInternal() for building internal Squid URLs.
471 - Changed peerAllowedToUse() to check both 'cache_peer_domain'
472 AND 'cache_peer_acl' configurations. This should be changed
473 in the fugure to use ONLY cache_peer_acl.
474 - Changed DEAD/REVIVED neighbor detection to avoid reporting
475 so many false deaths. (Joe Ramey).
476 - Added some preliminary code to support "cache digests."
477 - Fixed pumpClose() coredumps (?).
478 - Updated cachemgr 'info' output to show median service
479 times for various categories.
480 - Fixed ABW bug in storeDirWriteCleanLogs(). sizeof(off_t)
481 != sizeof(int) for Alphas.
482 - Fixed potential alignment problem in storeDirWriteCleanLogs().
483 - Fixed store_rebuild.c to NOT replace current, but
484 not-swapped-out StoreEntry's with on-disk entries.
485 - Changed storeCleanup() to call storeRelease on invalid
486 entries which don't have a swapfile (i.e. no unlink()
487 penalty).
488 - Fixed storeSwapInStart() to fail for unvalidated
489 entries.
490 - SNMP changes:
491 . renovated mib and added descriptions and comments
492 . added hit and byte counters to client_db , for
493 cacheClientTable
494 . cacheClientTable, netdbTable, cachePeerTable,
495 cacheConnTable now indexed by ip address. hash_lookup was
496 enhanced to allow for subsequent hash_next's similar to
497 hash_first, to speed up getnext's in tables which refer to
498 hash-table structures.
499 . added generic (well, sorf of) table indexing functionality
500 . added makefile dependencies for snmplib and cache_snmp.h
501 . WaisHost, WaisPort, Timeouts removed
502 . FdTable split into FdTable and ConnTable. FdTable simplified
503 . PeerTable and PeerStat merged and put into new cacheMesh
504 group
505 . cacheClientTable added for client statistics and accounting
506 (cacheMesh 2)
507 . cacheSec and cacheAccounting groups removed
508 . fixed acl bug when communities not defined
509 . snmp_acl now survives bad configuration
81d0c856 510
9a713ffb 511Changes to squid-1.2.beta18 (Mar 23, 1998):
512
275d9f2e 513 - Added v1.1 'test_reachability' option.
514 - Fixed hash4() len == 0 bug.
2c26197b 515 - Fixed Config.Swap.maxSize reconfigure bug.
516 - Fixed ICP query bug determining request method.
517 - Moved ICP's storeGet() cache lookup into neighborsUdpAck()
518 so that we know neighbors are alive even when they send
519 us replies for unknown entries.
520 - Changed configure script to add '-std1' for Digital Unix cc.
521 - Fixed SNMP sizeof(int) / sizeof(long) bugs for 64-bit
522 systems.
523 - Added support for 'Cache-Control: Only-If-Cached' request header.
34ad1721 524 - Fixed CheckQuickAbort() bugs for multiple clients on one
525 StoreEntry. Also changed storePendingNClients() to return
526 mem->nclients instead of counting the number of store_client
527 entries with pending callback functions.
275d9f2e 528
041b157e 529Changes to squid-1.2.beta17 (Mar 17, 1998):
530
df43fc93 531 - SNMP MIB version check changed to non-rcs.
02922e76 532 - Added memory pools for variable size objects (strings).
533 There are three pools; for small, medium, and large objects.
534 - Extended String object to use memory pools. Most fixed size char
535 array fields will be replaced using string pools. Same for most
536 malloc()-ed buffers.
5e14bf6d 537 - Changed icon handling to use the hostname and port of the squid
9ed90c85 538 server, instead of the special hostname "internal.squid"
539 (Henrik Nordstrom).
5e14bf6d 540 - All icons are now configured in mime.conf. No hardcoded icons,
f8360ee3 541 including gohper icons (Henrik Nordstrom).
459f2559 542 - Fixed ICP bug when we send queries, but expect zero
543 replies.
ed9c0b33 544 - Fixed alignment/casting bugs for ICP messages.
2b5b6324 545 - A generic client-to-server "pump" was added to handle HTTP
546 PUT as well as POST methods on the client-cache side. Based on
547 "pump" PUT requests can be made to either HTTP or FTP url's.
548 Code is still beta and interoperability with browsers etc has
549 not been tested.
550 - Put #ifdefs around 'source_ping' code.
5e14bf6d 551 - Added missing typedef for _arp_ip_data (Wesha).
552 - Added regular-expression-based ACLs for client and server
553 domain names (Henrik Nordstrom).
554 - Fixed ident-related coredumps from incorrect callback data.
555 - Fixed parse_rfc1123() "space" bug.
556 - Fixed xrealloc() XMALLOC_DEBUG bug (not calling check_free())..
557 - Fixed some src/asn.c end-of-reply bugs and memory leaks.
558 - Fixed some peer->options flag-setting bugs.
559 - Fixed single-parent feature to work again
560 - Removed 'single_parent_bypass' configuration option; instead
561 just use 'no-query'.
562 - Surrounded 'source_ping' code with #ifdefs.
563 - Changed 'deny_info URL' to use a custom Error page.
564 - Modified src/client.c for testing POST requests.
041b157e 565 - Fixed hash4() for SCO (Vlado Potisk).
459f2559 566
7ba777f2 567Changes to squid-1.2.beta16 (Mar 4, 1998):
568
447203a7 569 - Added Spanish error messages from Javier Puche.
02922e76 570 - Added Portuguese error messages from Pedro Lineu Orso
0965bd19 571 - Added a simple but very effective hack to cachemgr.cgi that tries to
572 interpret lines with '\t' as table records and formats them
573 accordingly. With a few exceptions (see source code), first line
574 becomes a table heading ("<th>" html tag) and the rest is formated
575 with "<td>" tags.
7021844c 576 - Added "mem_pools_limit" configuration option. Semantics of
577 "mem_pools" option has also changed a bit to reflect new memory
578 management policy.
7ba777f2 579 - Reorganized memory pools. Squid now supports a global pool
580 limit instead of individual pool limits. Per-pool limits can be
3a88d597 581 implemented on top of the current scheme if needed, but it is
7ba777f2 582 probably hard to guess their values. Squid distributes pool
583 memory among "frequently allocated" objects. There is a
584 configurable limit on the total amount of "idle" memory to be
585 kept in reserve. All requests that exceed that amount are
586 satisfied using malloc library. Support for variable size
587 objects (mostly strings) will be enabled soon.
588 - memAllocate() has now only one parameter. Objects are always
589 reset with 0s. (We actually never used that parameter before;
590 it was always set to "clear").
591 - Added Squid "signature" to all ERR_ pages. The signature is
592 hardcoded and is added on-the-fly. The signature may use
593 %-escapes. Added interface to add more hard-coded responses if
594 needed (see errorpage.c::error_hard_text).
595 - Both default and configured directories are searched for ERR_
596 pages now. Configured directory is, of course, searched first.
597 This allows you to customize a subset of ERR_ pages (in a
598 separate directory) without danger of getting other copies out
599 of sync.
600 - Security controls for the SNMP agent added. Besides
601 communities (like password) and views (part of tree
602 accessible), the snmp_acl config option can be used to do acl
603 based access checks per community.
604 - SNMP agent was heavily re-written, based on cmu-snmpV1.8. You
605 can now walk through the whole mib tree. Several new variables
606 added under cacheProtoAggregateStats
12cf1be2 607 - Added rudimental statistics for HTTP headers.
7ba777f2 608 - Adjusted StatLogHist to a more generic/flexible StatHist.
12cf1be2 609 Moved StatHist implementation into a separate file.
178dbda2 610 - Added FTP support for PORT if PASV fails, also try the
611 default FTP data port (Henrik Nordstrom).
612 - Fixed NULL pointer bug in clientGetHeadersForIMS when a
613 request is cancelled for fails on the client side.
614 - Filled in some squid.conf comments (never_direct,
615 always_direct).
616 - Added RES_DNSRCH to dnsserver's _res.options when the
617 -D command line option is given.
618 - Fixed repeated Detected DEAD/REVIVED Sibling messages when
619 peer->tcp_up == 0 (Michael O'Reilly).
620 - Fixed storeGetNextFile's incorrect "directory does not exist"
621 errors (Michael O'Reilly).
622 - Fixed aiops.c race condition (Michael O'Reilly, Stewart
623 Forster).
624 - Added 'dns_nameservers' config option to specify non-default
625 DNS nameserver addresses (Maxim Krasnyansky).
626 - Added lib/util.c code to show memory map as a tree
627 (Henrik Nordstrom).
628 - Added HTTP and ICP median service times to Counters and
629 cachemgr average stats.
630 - Changed "-d" command line option to take debugging level
631 as argument. Debugging equal-to or less-than the argument
632 will be written to stderr.
ef65d6ca 633 - Removed unused urlClean() function from url.c.
adba4a64 634 - Fixed a bug that allowed '?' parts of urls to be recorded in
ef65d6ca 635 store.log. Logged urls are now "clean".
178dbda2 636 - Cache Manager got new Web interface (cachemgr.cgi). New .cgi
637 script forwards basic authentication from browser to squid.
638 Authentication info is encoded within all dynamically generated
639 pages so you do not have to type your password often.
640 Authentication records expire after 3 hours (default) since
641 last use. Cachemgr.cgi now recognizes "action protection" types
642 described below.
643 - Added better recognition of available protection for actions
644 in Cache Manager. Actions are classified as "public" (no
645 password needed), "protected" (must specify a valid password),
646 "disabled" (those with a "disable" password in squid.conf), and
647 "hidden" (actions that require a password, but do not have
648 corresponding cachemgr_passwd entry). If you manage to request
649 a hidden, disabled, or unknown action, squid replies with
650 "Invalid URL" message. If a password is needed, and you failed
651 to provide one, squid replies with "Access Denied" message and
652 asks you to authenticate yourself.
653 - Added "basic" authentication scheme for the Cache Manager.
654 When a password protected function is accessed, Squid sends an
655 HTTP_UNAUTHORIZED reply allowing the client to authorize itself
656 by specifying "name" and "password" for the specified action.
657 The user name is currently used for logging purposes only. The
658 password must be an appropriate "cachemgr_passwd" entry from
659 squid.conf. The old interface (appending @password to the url)
660 is still supported but discouraged. Note: it is not possible
661 to pass authentication information between squid and browser
662 *via a web server*. The server will strip all authentication
663 headers coming from the browser. A similar problem exists for
664 Proxy-Authentication scheme.
665 - Added ERR_CACHE_MGR_ACCESS_DENIED page to notify of
666 authentication failures when accessing Cache Manager.
63259c34 667 - Added "-v" (Verbose) and "-H" (extra Headers) options to client.c.
178dbda2 668 - Added simple context-based debugging to debug.c. Currently,
669 the context is defined as a constant string. Context reporting
670 is triggered by debug() calls. Context debugging routines
671 print minimal amount of information sufficient to describe
672 current context. The interface will be enhanced in the future.
673 - Replaced _http_reply with HttpReply. HttpReply is a
674 stand-alone object that is responsible for parsing, swapping,
675 and comm_writing of HTTP replies. Moved these functions from
676 various modules into HttpReply module.
8bfcd557 677 - Added HttpStatusLine, HttpHeader, HttpBody.
178dbda2 678 - All HTTP headers are now parsed and stored in a "compiled"
679 form in the HttpHeader object. This allows for a great
680 flexibility in header processing and builds basis for support
681 of yet unsupported HTTP headers.
682 - Added Packer, a memory/store redirector with a printf
683 interface. Packer allows to comm_write() or swap() an object
684 using a single routine.
685 - Added MemBuf, a auto-growing memory buffer with printf
686 capabilities. MemBuf replaces most of old local buffers for
687 compiling text messages.
688 - Added MemPool that maintains a pre-allocated pool of opaque
689 objects. Used to eliminate memory thrashing when allocating
690 small objects (e.g. field-names and field-value in http
691 headers).
8bfcd557 692
3197e644 693Changes to squid-1.2.beta15 (Feb 13, 1998):
694
55647891 695 NOTE: This version has changes which may cause all or part
696 of your cache to be lost. However, you can problably
697 save most of it by doing a slow restart. Specifically:
698
699 1. Kill the running squid-1.2.beta14 process; wait for it to
700 fully exit.
701 2. Remove all 'swap.state*' files, either in each cache_dir, or
702 as defined in your squid.conf
703 3. Start squid-1.2.beta15. The store will be rebuilt from the
704 existing swap files, reading the directories and opening
705 the files.
706
bcfbdc11 707 - Fixed some problems related to disk (and pipe) write error
708 handling. file_close() doesn't always close the file
709 immediately; i.e. when there are pending buffers to write.
710 StoreEntry->lock_count could become zero while a write is
711 pending, then bad things happen during the callback.
712 - The file_write() callback data must now be in the callback
713 database (cbdata). We now use the swapout_ctrl_t structure
714 for the callback data; it stays around for as long as we are
715 swapping out.
716 - Changed the way write errors are handled by diskHandleWrite.
717 If there is no callback function, now we exit with a fatal
718 message under the assumption that the file in question is a
719 log file or IPC pipe. Otherwise, we flush all the pending
720 write buffers (so we don't see multiple repeated write errors
721 from the same descriptor) and let the upper layer decide how
722 to handle the failure.
723 - Fixed storeDirWriteCleanLogs. A write failure was leaving
724 some empty swap.state files, even though it tells us that its
725 "not replacing the file." Don't flush/rename logs which we
726 have prematurely closed due to write failures, indiciated by
727 fd[dirn] == -1. Close these files LAST, not before
728 renaming.
729 - Fixed storeDirClean to clean directories in a more sensible
730 order, instead of the new "MONOTONIC" order for swap files.
0465e406 731 - Merged fdstat.c functions into fd.c.
732 - Cleaned up some debugging sections. Some unrelated source
733 files were using the same section.
734 - Removed curly brackets from all cachemgr output.
735 - Removed unused filemap->last_file_number_allocated member.
736 - Removed unused fde->lifetime_data member.
737 - Fixed incorrectly applying htonl() on icp_common_t->shostid.
738 - Call setsid() before exec() in ipc.c so that child processes
739 don't receive SIGINT (etc) when running squid on a tty.
2f2dd5ad 740 - Changed StoreEntry->object_len to ->swap_file_sz so we
741 can verify the disk file size at restart. Moved object_len
742 to MemObject->object_sz. Note object_sz is initialized
743 to -1. If object_sz < 0, then we need to open the swap
744 file and read the swap metadata.
745 - Changed store_client->mem to ->entry because we need
746 e->swap_file_sz to set mem->object_sz at swapin.
2f2dd5ad 747 - Renamed storeSwapData structure to storeSwapLogData.
748 - Fixed storeGetNextFile to not increment d->dirn. Added
749 check for opendir() failure.
750 - Fixed storeRebuildStart to properly link the directory
751 list for storeRebuildfromDirectory mode.
e157f97f 752 - Added -S command line option to double-check store
753 consistency with disk files in storeCleanup().
754 - Fixed a problem with transactional logging. In many
755 cases we were adding the public cache key and then
756 logging a delete for the private key. This is worthless
757 because during rebuild we could not locate the previous
758 public-keyed entry. Now we assert that only public-keyed
759 entries can be logged to swap.state. storeSetPublicKey()
760 and storeSetPrivateKey() have been modified to log an
761 ADD or DEL when the key changes.
762 - Fixed storeDirClean bug. Needed to call
763 storeDirProperFileno() so the "dirn bits" get set.
764 - Fixed a storeRebuildFromDirectory bug. fullpath[] and
765 fullfilename[] were static to that function and did
766 not change when the "rebuild_dir" arg did. Moved these
767 buffers to the rebuild_dir structure.
768 - In storeRebuildFromSwapLog, we were calling storeRelease()
769 for cache key collisions. This only set the RELEASE_REQUEST
770 bit and did not clear the swap_file_number in the filemap or
771 in the StoreEntry, so the swap file could get unlinked later
772 when it was really released.
4e0f0471 773 - Fixed FTP so that ';type=X' specifically sets the HTTP reply
774 content-type and content-encoding (Henrik Nordstrom).
775 - Removed 'icon_content_type' configuration option. Content
776 types now taken from mime.conf (Henrik Nordstrom).
2a9b2b73 777 - Added additional memory malloc tracing and memory leak
778 detection. Use --enable-xmalloc-debug-trace configure
779 option and -m command line option (Henrik Nordstrom).
bcfbdc11 780
93169941 781Changes to squid-1.2.beta14 (Feb 6, 1998):
782
5471db88 783 - Replaced snmplib free() calls with xfree().
784 - Changed the 'net_db_name' hash table structure to
785 make it easier to move names from one network to another
786 (copied from 1.1 code).
93169941 787 - Filled in some of the config dump routines (dump_acl,
788 dump_acl_access).
789 - Full memory debugging option (--enable-xmalloc-debug-trace)
790 (Henrik Nordstrom).
791 - Filled-in and clarified many squid.conf comments (Oskar
792 Pearson).
793 - Fixed up handling of SWAP_LOG_DEL swap.state entries.
5471db88 794
f91834bf 795Changes to squid-1.2.beta13 (Feb 4, 1998):
f577e074 796
b4512acd 797 - NOTE: With this version the "swap.state" file format has
798 changed. Running this version for the first time will
799 cause your current cache contents to be lost!
f91834bf 800 - NOTE: this version still has the bug where we don't rewind
801 a swapout file and rewrite the swap meta data. Objects
802 larger than 8KB will be lost when rebuilding from the swap
803 files.
d04dd4bf 804 - Combined various interprocess communication setup functions
805 into ipcCreate().
806 - Removed some leftover ICP_HIT_OBJ things.
807 - Removed cacheinfo and proto_count() and friends; these are to
808 be replaced in functionality by StatCounters and 5/60 minute
809 average views via cachemgr.
810 - Fixed --enable-acltree configure message (Masashi Fujita).
811 - Fixed no reference to @LIB_MALLOC@ in src/Makefile.in
812 (Masashi Fujita).
813 - Fixed building outside of source tree (Masashi Fujita).
dbfed404 814 - FTP: Format NLST listings, and inform the user that the NLST
815 (plain) format is available when we find a LIST listing that we
816 don't understand (Henrik Nordstrom)
817 - FTP: Use SIZE on Binary transfers, and not ASCII. The
818 condition was inversed, making squid use SIZE on ASCII
819 transfers (Henrik Nordstrom).
820 - Enable virtual and Host: based acceleration in order to be
821 able to use Squid as a transparent proxy without breaking
822 either virtual servers or clients not sending Host: header
823 the order of the virtual and Host: based acceleration needs
824 to be swapped, giving Host: a higher precendence than virtual
825 host (Henrik Nordstrom).
826 - Use memmove/bcopy as detected by configure Some systems does
827 not have memmove, but have the older bcopy implementation
828 (Henrik Nordstrom).
6cf028ab 829 - Completely rewritten aiops.c that creates and manages a pool
830 of threads so thread creation overhead is eliminated (SLF).
831 - Lots of mods to store.c to detect and cancel outstanding
832 ASYNC ops. Code is not proven exhaustive and there are
833 definately still cases to be found where outstanding disk ops
834 aren't cancelled properly (SLF).
835 - Changes to call interface to a few routines to support disk
836 op `tagging', so operations can be cleanly cancelled on
837 store_abort()s (SLF).
838 - Implementation of swap.state files as transaction logs.
839 Removed objects are now noted with a negative object size.
840 This allows reliatively clean rebuilds from non-clean
841 shutdowns (SLF).
842 - Now that the swap.state files are transaction logs, there's
843 now no need to validate by stat()ing. All the validation
844 procedure does is now just set the valid bit AFTER all the
845 swap.state files have been read, because by that time, only
846 valid objects can be left. Object still need to be marked
847 invalid when reading the swap.state file because there's no
848 guarantee the file has been retaken or deleted (SLF).
849 - An fstat() call is now added after every
850 storeSwapInFileOpened() so object sizes can be checked. Added
851 code to storeRelease() the object if the sizes don't match (SLF).
852 - #defining USE_ASYNC_IO now uses the async unlink() rather than
853 unlinkd() (SLF).
854 - #defining MONOTONIC_STORE will support the creation of disk
855 objects clustered into directories. This GREATLY improves disk
856 performance (factor of 3) over old `write-over-old-object'
857 method. If using the MONOTONIC_STORE, the
858 {get/put}_unusedFileno stack stuff is disabled. This is
859 actually a good thing and greatly reduces the risk of serving
860 up bad objects (SLF).
861 - Fixed unlink() in storeWriteCleanLogs to be real unlink()
862 rather than ASYNC/unlinkd unlinks. swap.state.new files were
863 being removed just after they were created due to delayed
864 unlinks (SLF).
865 - Disabled various assertions and made these into debug warning
866 messages to make the code more stable until the bugs can be
867 tracked down (SLF).
868 - Added most of Michael O'Reilly's patches which included many
869 bug fixes. Ask him for full details (SLF).
870 - Moved aio_check_callbacks in comm_{poll|select}(). It was
871 called after the fdset had been built which was wrong because
872 the callbacks were changing the state of the read/write
873 handlers prior to the poll/select() calls (SLF).
f09f5b26 874 - Fixed ARP ACL memory leaks (Dale).
f577e074 875 - Eliminated URL and SHA cache keys. Cache keys will always
876 be MD5's now.
877 - Fixed up store swap meta data.
878 - Changed swap.state logs to a binary format.
f91834bf 879 - The swap.state logs are written transaction-style.
d04dd4bf 880
b5cfbd5b 881Changes to squid-1.2.beta12 (Jan 30, 1998):
882
b4512acd 883 - Added metadata headers to cache swap files. This is an
884 incompatible change with previous versions. Running this
885 version for the first time will cause your current cache
886 contents to be lost.
9fc0b4b8 887 - -D_REENTRANT when linking with -lpthreads (Henrik Nordstrom)
888 - Show symlink destinations as a hyperlink in FTP listings
889 (Henrik Nordstrom)
3a4eaced 890 - Fixed not allocating enough space for rewriting URLs with
891 the Host: header (Eric Stern).
892 - Year-2000 fixes (Arjan de Vet).
893 - Fixed looping for cache hits on HEAD requests.
fc6dc767 894 - Fixed parseHttpRequest() coredump for
895 "GET http://foo HTTP/1.0\r\n\r\n\r\n"
9fc0b4b8 896
9f802cb1 897Changes to squid-1.2.beta11 (Jan 6, 1998):
898
fd82d0b0 899 - Fixed fake 'struct rusage' definition which prevented compling
900 on Solaris 2.4.
901 - Fixed copy-by-ref bug for request->headers in
902 clientRedirectDone() (Michael O'Reilly).
812db943 903 - Workaround for Solaris pthreads closing FD 0 upon fork()
904 (Michael O'Reilly).
05fd71a7 905 - Fixed shutdown bug with outgoing UDP sockets; we need to
906 disable their read handlers.
907 - For comm_poll(), use the fast 50 msec timeout only when
908 USE_ASYNC_IO is defined.
1fbc6de3 909 - Fixed pointer bug when freeing AS# ACL entries.
910 - Fixed forgetting to reset Config.npeers to zero in free_peer().
0f6bdbfa 911 - Fixed ICP bug causing excessive TIMEOUTs with sibling
912 neighbors. We must call the ICP reply callback even for
913 sibling misses.
914 - Fixed some dnsserver-related reconfigure bugs. Need to
915 use cbdataLock, etc in fqdncache.c. Also don't want to
916 use ipcacheQueueDrain() and fqdncacheQueueDrain().
917 - Fixed persistent connection bug. We were incorrectly
918 deciding that non-200 replies without content-length
919 would not have a reply body.
920 - Fixed intAverage() precedence bug.
921 - Fixed memmove() 'len' arg bug.
922 - Changed algorithm for determining alive/dead state of peers.
923 Instead of using a fixed number of unacknowledged ICP
924 replies, it is now based on timeouts. If there are no ICP
925 replies received from a peer within 'dead_peer_timeout'
926 seconds, then we call it dead.
927 - Added calls to getCurrentTime() in
928 comm_{select,poll}_incoming() when ALARM_UPDATES_TIME is not
929 being used.
930 - Fixed shutdown bug when the incoming and outgoing ICP socket
931 is the same file descriptor.
e970f357 932 - Added buffered writes for storeWriteCleanLogs() (Stewart
933 Forster).
934 - Patches for Qnx4 (Jean-Claude MICHOT).
935 - Fixed returning void functions which seems to be a GCC-ism.
e5f4e1b0 936 - New configure script options (Henrik Nordstrom):
937 --enable-new-storekey=[sha|md5(|url)] (was --enable-hashkey)
938 --enable-acltree
939 --enable-icmp
940 --enable-delay-hack
941 --enable-useragent-log
942 --enable-kill-parent (this should be named -hack)
943 --enable-snmp
944 --enable-time-hack
945 --enable-cachemgr-hostname[=hostname] (new)
946 --enable-arp-acl (new)
947 - Added Doug Lea malloc-2.6.4 to the distribution, so that
948 people easily can try a decent malloc package if they syspect
949 their malloc is broken. --enable-dlmalloc (Henrik Nordstrom).
950 - Made XMALLOC_DEBUG_COUNT working again. Requires a small stub
951 function (Henrik Nordstrom).
952 - Removed top-level Makefile. People must now run 'configure'
953 before 'make'.
714ace98 954 - Fixed checkFailureRatio() implementation.
82b3c7d9 955 - Made 'squid -z' behave like the 1.1 version.
e5f4e1b0 956
fd82d0b0 957
ab9a3f7e 958Changes to squid-1.2.beta10 (Jan 1, 1998):
959
960 - Fixed content-length bugs for 204 replies, 304 replies,
961 and HEAD requests (Henrik Nordstrom).
962 - Fixed errorAppendEntry() bug in gopherReadReply().
963 - Basic support for FTP URL typecodes (;type=X).
9c965c1b 964 - Support for access controls based on ethernet MAC addresses
ab9a3f7e 965 (Dale).
966 - Initial URN support; see
967 http://squid.nlanr.net/Squid/urn-support.html
968 - Fixed client-side persistent connections for objects with
969 bad content lengths (Henrik Nordstrom).
970 - Fixed bad call to storeDirUpdateSwapSize() for objects which
971 never reach SWAPOUT_DONE state.
68e3a9df 972 - Fixed up poll() #defines in squid.h (Stewart Forster).
973 - Changed poll() timeout from 1000 msec to 50 msec for
974 better performance under low load (Stewart Forster).
e7a1fde6 975 - Changed storeWriteCleanLogs() to write objects in the LRU
976 list order instead of the random hash table order.
109ff6af 977 - Fixed FTP bug when data socket connections fail or timeout.
978 - Reuse FTP data connection when possible (Henrik Nordstrom).
979 - Added configure options (Henrik Nordstrom)
980 --enable-store-key=sha|md5
981 --enable-xmalloc-statistics
982 --enable-xmalloc-debug
78743365 983 --enable-xmalloc-debug-count
984 --async-io
109203bf 985 - Fixed confusing with the use/meaning of ERR_CANNOT_FORWARD
986 by creating ERR_FORWARDING_DENIED and changing the
987 content of the ERR_CANNOT_FORWARD text.
4e9c07c1 988 - Fixed pipeline request bug from using strdup() (Henrik
989 Nordstrom).
990 - Call clientReadRequest() directly instead of commSetSelect()
991 for pipelined requests (Henrik Nordstrom).
1b02b5be 992 - Fixed 4k page leak in icpHandleIMSReply();
993 - Renamed 'icp*' functions to 'client*' names in client_side.c.
e7a1fde6 994
b90a0f8d 995Changes to squid-1.2.beta8 (Dec 2, 1997):
996
eae03fc8 997 - Fixed accessLogLog() to log ident from Proxy-Authorization
998 request header (BoB Miorelli).
226f9ba2 999 - Fixed #includes, prototypes, etc. in SNMP source files.
1000 - Moved 'POLLRDNORM' and 'POLLWRNORM' macro checks from
1001 include/config.h.in to src/squid.h
1002 - Moved 'num32' typedefs from src/typedefs.h to
1003 include/config.h.in.
1004 - Moved snmplib/md5.c to lib/md5.c.
1005 - Added MD5 cache key support.
1006 - Removed xmalloc() return check in uudeocde.c
1007 - Added 'ifdef' support to cf_gen.c for optional code (e.g. SNMP)
1008 - Changed 'client' program to provide easier cache manager access,
1009 e.g.: 'client mgr:info'
1010 - Fixed 'client' to send 'Connection' instead of 'Proxy-Connection'
1011 for simulated keep-alive requests.
1012 - Removed 'fd' arg from clientProcess* functions.
9e3468d5 1013 - Fixed bugs from using errorSend() on persistent/pipelined
226f9ba2 1014 client connections. A latter request should not be allowed to
1015 write to the client fd until the current request completes.
1016 Now use errorAppendEntry() for such situations.
1017 - Fixed content-length bugs. We were using content-length == 0
1018 to also indicate a lack of content-length reply header. But
1019 'content-length: 0' might appear in a reply, so now use -1 to
1020 indicate that no content length given.
1021 - Split up clientProcessRequest() into smaller chunks so it
1022 might be easier to follow.
1023 - renamed various client_side.c functions to start with 'client'
1024 instead of 'icp'.
1025 - Fixed a 'cbdata leak' from the comm.c close handlers.
1026 - Fixed a 'cbdata leak' from the comm.c connect routines.
1027 - Fixed comm_select() and comm_poll() to stop looping on the
1028 incoming HTTP/ICP sockets. If there are fewer than 7 FD's
1029 ready for I/O, the incoming sockets might not get service, so
1030 comm_select() would be called for up to 7 times until the
1031 'incoming_counter' was incremented enough to trigger a call
1032 to comm_select_incoming(). Now we make sure
1033 comm_select_incoming() gets called if select returns less
1034 than 7 ready FD's.
9e3468d5 1035 - Added errorpage '%B' token to generate FTP URLs with a '%2f'
1036 inserted at the start of the url-path. calls ftpUrlWith2f().
1037 (Henrik Nordstrom).
226f9ba2 1038 - Changed fqdncache.c to use LRU double-linked list instead of qsort()
1039 for replacement and cachemgr output.
1040 - Changed ipcache.c to use LRU double-linked list instead of qsort()
1041 - Changed hash_insert() and hash_join() to return void.
1042 for replacement and cachemgr output.
1043 - Moved StoreEntry->method member to MemObject->method.
1044 - Made StoreEntry->flags 16 bits.
1045 - Made StoreEntry->refcount 16 bits.
1046 - Changed URL-based public cache key to always include the request
1047 method.
eae03fc8 1048
95bc9f0b 1049Changes to squid-1.2.beta7 (Nov 24, 1997):
1050
6a11653c 1051 - Fixed poll() for Linux (David Luyer).
1052 - SHA optimizations (David Luyer).
1053 - Fixed errno clashes with macro on Linux (David Luyer).
1054 - Fixed storeDirCloseSwapLogs(); logs might not be open.
1055 - Fixed storeClientCopy2() bug. Detect when there is
1056 no more data to send for objects in STORE_OK state.
19ee64b1 1057 - Fixed FTP truncation bug when ftpState->size == 0, e.g.
1058 especially directory listings.
95bc9f0b 1059 - Mega FTP fix from Henrik Nordstrom. A better job of
1060 implementing the '%2f' hack.
1061 - Fixed some pipelined request bugs. storeClientCopy() was
1062 being given the wrong StoreEntry, and we had a race condition
1063 which is now handled by storeClientCopyPending().
99077fe6 1064 - Added initial SNMP support.
6a11653c 1065
2c9b45c9 1066Changes to squid-1.2.beta6 (Nov 13, 1997):
1067
1b5516d3 1068 - Fixed Authorized responses getting swapped out when they
1069 don't have Proxy-Revalidate reply header.
1070 - Fixed Proxy Authentication support. We never sent back
1071 a 407 reply, and were incorrectly incrementing the passwd
1072 before comparing it.
1073 - Fixed stat()ing pathnames for default values before parsing
1074 config file (Ron Gomes).
1075 - Fixed logging request and response headers on separate lines
1076 (Ron Gomes).
1077 - Fixed FTP Authentication message (Henrik Nordstrom).
1078 - Changed Proxy Authentication to trigger a reread of the passwd
1079 file if a password check fails (Henrik Nordstrom).
1080 - Changed FTP to retry the first CWD with a leading slash if it
1081 fails without one.
1082
8c17a569 1083Changes to squid-1.2.beta5 (Nov 6, 1997):
1084
90045285 1085 - Track the 'keep-alive ratio' for a peer as the ratio of
1086 the number of replies including 'Proxy-Connection: Keep-Alive'
1087 compared to the number of requests sent. If the peer does
1088 not support Persistent connections then this ratio will tend
1089 toward zero. If the ratio is less than 50% after 10 requests
1090 then we'll stop sending Keep-Alive.
8c3994aa 1091 - Proper support for %nn escapes in FTP, and numerous
1092 other fixes (Henrik Nordstrom).
1093 - Support for Secure Hash Algorithm and framework for other
1094 hash functions as cache keys.
1095 - Fixed SSL snprintf() bug which broke SSL proxying.
1096 - Fixed store_dir swap log bug from reconfigure (SIGHUP).
8c17a569 1097 - Fixed LRU Reference Age bug. The arg to pow() must be
8031bd43 1098 minutes, not seconds.
90045285 1099
9ddfb255 1100Changes to squid-1.2.beta4 (Oct 30, 1997):
1101
a493f974 1102 - Fixed DST bug in rfc1123.c
1103 - Changed default http_accel_port to 80.
1104 - added errorCon() as a ErrorState constructor function
1105 (Max Okumoto).
1106 - Added ERR_FTP_FAILURE message for ftpFail().
1107 - For FTP, the timeout callback must be moved to the 'data'
1108 descriptor when data transfer begins. Otherwise we are
1109 likely to get a timeout on the control descriptor.
1110 - Fixed double-free bug in httpRequestFree().
1111 - Fixed store_swap_size counting bug in storeSwapOutHandle().
1112
409a6aad 1113Changes to squid-1.2.beta3 (Oct 29, 1997):
1114
1115 - Initialize _res.options to RES_DEFAULT in dnsserver.c.
1116 - Fix assertions which assumed 4-byte pointers.
1117 - Fix missing % in fqdncache.c snprintf().
1118
5a2d610b 1119Changes to squid-1.2.beta2 (Oct 28, 1997):
1120
8c3994aa 1121 - Fixed aiops.c and async_io.c so that they actually compile
f5b8bbc4 1122 with USE_ASYNC_IO (Arjan de Vet).
1123 - Fixed errState->errno causing problems with some macros
1124 (Michael O'Reilly).
d287f51e 1125 - Fixed memory leaks in pconn.c (Max Okumoto).
0866009b 1126 - Enhanced 'client' program with 'ping' behaviour (Ron Gomes).
272547b5 1127 - Fixed InvokeHandlers() from calling memCopy() for ALL
1128 store_client's with callbacks. A store_client might be reading
1129 from disk.
5a2d610b 1130 - Rewrote storeMaintainSwapSpace(). No longer will we scan one
272547b5 1131 bucket at a time. Instead we'll maintain a single LRU
1132 list. When an object is 'touched' we move it to the
1133 top of this list. When we need disk space, we delete
1134 from the bottom.
5a2d610b 1135 - Removed storeGetSwapSpace().
f5b8bbc4 1136
871f0b8a 1137Changes to squid-1.2.beta1 ():
1138
1139 - Reworked storage manager to not keep objects in memory during
1140 transit. In other words, no separate NOVM distribution.
1141 - Lots of cleanup and debugging for beta release.
1142 - Use snprintf() everywhere instead of sprintf().
1143 - The 'in_memory' hash table has been replaced with a
1144 doubly-linked list. New objects are added to the head of
1145 the list. When memory space is needed, old objects are
1146 purged from the tail of the list.
1147
0edfe7a2 1148Changes to squid-1.2.alpha7 ():
1149
c4958532 1150 - fixes fixes fixes.
1151 - Made Arjan's PROXY_AUTH ACL patch standard.
0edfe7a2 1152
8905b90c 1153Changes to squid-1.2.alpha6 ():
1154
6684fec0 1155 - Simpler cacheobj implementation.
6605655c 1156 - persistent connection histogram
8872e1f8 1157 - SERVER-SIDE PERSISTENT CONNECTIONS:
1158 - Added pconn.c
1159 - Addec Cofig.Timeout.pconn; default 120 seconds
1160 - Added httpState->flags
1161 - Added flags arg to httpBuildRequestHeader()
1162 - Added HTTP_PROXYING and HTTP_KEEPALIVE flags
1163 - Added 'Connection' to allowed HTTP headers (http-anon.c)
1164 - Added 'Proxy-Connection' to allowed HTTP headers
1165 (http-anon.c)
a7736231 1166 - Merged proxyhttpStart() with httpStart() and created
8872e1f8 1167 new httpBuildState().
1168 - New httpPconnTransferDone() detects end-of-data on
1169 persistent connections.
6684fec0 1170
88738790 1171Changes to squid-1.2.alpha5 ():
1172
1173 - New configuration system. Everything is generated from
1174 'cf.data.pre', including the main parser, setting defaults,
1175 outputting current values, and freeing memory.
1176 This also involved moving some of the local data structures
1177 (e.g. struct _acl *AclList in acl.c) to the Config
1178 structure. (Max Okumoto)
1179 - No more '/i' for regular expressions. Now insert a '-i'
1180 to switch to case-insensitive. Use '+i' for case-sensitive.
1181 - When you have a variable named the same as its type, sizeof()
1182 gets the wrong one (fde).
1183 - Need to flush unbuffered logs before fork().
1184 - Added two fields swap log: refcount and e->flag.
1185 - Removed all the .h files for each .c file. Now #include stuff
1186 is in either: defines.h, enums.h, typedefs.h, structs.h,
1187 or protos.h, globals.h. This greatly reduces dependencies
1188 between the various source files.
1189 - globals.c is generated from globals.h by a Perl script.
8ee3ca2c 1190 - Started customizable error texts.
88738790 1191
97f674c8 1192Changes to squid-1.2.alpha4 ():
1193
ec973719 1194 - New MIME configuration, regular expression based
1195 - Added request_timeout config option
1196 - Multiple HTTP sockets (Lincoln Dale).
1197 - Moved 'fds_are_n_free' check to httpAccept().
1198 - s/USE_POLL/HAVE_POLL/; make poll() default if available.
7e49f700 1199 - Changed storeRegister to use offsets and make immediate
1200 callbacks if appropriate.
1201 - Removed icpDetectClientClose(). Some of that functionality
1202 goes into clientReadRequest() and the rest into
1203 httpRequestFree().
b1b387d1 1204 - Moved IP lookups to commConnect stuff.
1205 - Added support for retrying connect().
858164fc 1206 - New inline debug() macro (David Luyer).
e174e0fe 1207 - Replace frequent gettimeofday() calls with alarm(3) based
1208 clock. Need to add more gettimeofday() calls to get back
a59968c7 1209 high-resolution timestamp logging (Andres Kroonmaa).
0153d498 1210 - Added support for Cache-control: proxy-revalidate;
1211 based on squid-1.1 patch from Mike Mitchell.
ec973719 1212
3b08d32d 1213Changes to squid-1.2.alpha3 ():
1214
1215 - Implemented persistent connections between clients and squid.
1216 - Moved various FD tables (comm.c, fdstat.c, disk.c) to a single
1217 table in fd.c.
1218 - Removed use of FD as an identifier in certain callback
1219 operations (ipcache, fqdncache).
1220 - General code cleanup.
1221 - Fixed typedefs for callback functions.
1222 - Removed FD lifetime/timeout dichotomy. Now we only have
1223 timeouts, however the lifetime concept/keyword may still
1224 linger in certain places.
1225 - Change Makefile 'realclean' target to 'distclean'
1226 - Changed config file parsing of time specifications to use
1227 parseTimeLine().
1228 - Removed storetoString.c
1229
1230Changes to squid-1.2.alpha2 ():
74cebec0 1231
1232 - Merged squid-1.1.9, squid-1.1.10 changes
1233
7b41ec97 1234Changes to squid-1.2.alpha1 ():
1235
1236 - Unified peer selection algorithm.
75e88d56 1237 - aiops.c and aiops.h are a threaded implementation of
1238 asynchronous file operations (Stewart Forster).
1239 - async_io.c and async_io.h are complete rewrites of the old
1240 versions (Stewart Forster).
6ad85e8a 1241 - Rewrote all disk file operations of squid to support
75e88d56 1242 the idea of callbacks except where not required (Stewart
1243 Forster).
75e88d56 1244 - Background validation of 'tainted' swap log entries (Stewart
1245 Forster).
1246 - Modified storeWriteCleanLog to create the log file using the
1247 open/write rather than fopen/printf (Stewart Forster).
1248 - Added the EINTR error response to handle badly interrupted
1249 system calls (Stewart Forster).
6ad85e8a 1250 - UDP_HIT_OBJ not supported, removed.
1251 - Different sized 'cache_dirs' supported.
75e88d56 1252
e924600d 1253==============================================================================