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