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