1 8 January 2008: Polipo 1.0.4:
3 * Fixed the handling of tunnels with a parent proxy (thanks to
5 * Fixed a bug that could cause connections to be shut down when
6 a server used the old (RFC 2068) semantics of ``100 Continue''
7 (thanks to Thomas Wiesel).
8 * Fixed a crash when a request URL was larger than 10 kB (thanks to
10 * Fixed a possible failure to read client requests larger than one
13 6 October 2007: Polipo 1.0.3
15 * Changed the default for chunkMemory: it is now 24 MB or
16 one-quarter of physical memory, whichever is smaller.
17 * Support for logging to syslog (thanks to Nix).
18 * Made atom reference counts 32-bit longs; this should fix
19 problems that people were seeing when running Polipo with
20 humongous in-memory caches.
21 * Added Git, Jabber and CVS to default tunnelAllowedPorts.
22 * Fixed a bug that could cause URL matching to fail when using
23 anchored regular expressions (thanks to phuel).
25 26 August 2007: Polipo 1.0.2:
27 * Fixed a crash that could happen with entities more than 2GB in
28 size. Such entities are still not supported, but Polipo
29 should no longer crash.
30 * Minor HTTP compliance fixes, due to testing with Co-Advisor.
31 * Fixed a crash that would happen when a POST request was aborted
32 by the server. Reported by Tero Pelander.
33 * Worked around a DNS-related bug that I'm unable to track down,
34 waiting for a proper fix.
36 25 June 2007: Polipo 1.0.1:
38 * Made Polipo slightly more aggressive when speaking to
39 HTTP/1.0 servers (thanks to Fabian Keil for noticing that).
40 * Fixed a crash that would happen when a client used
41 Cache-Control: only-if-cached, and the object was not in cache.
42 (Reported by F. Zappa, A. Patala and V. Ghosal.)
43 * Fixed a descriptor leak when running under Windows.
44 * Made Polipo optionally drop connections after servicing
45 a number of connections (maxConnectionAge and maxConnectionRequests).
47 6 March 2007: Polipo 1.0.0
49 * No changes since 0.9.99.2.
51 7 February 2007: Polipo 0.9.99.2
53 * Fixed a buffer overflow in urlDirname (the 0.9 branch is not
54 vulnerable) (reported by J. P. Larocque).
55 * Implemented use of IPv6 temporary source addresses (Frank Behrens).
56 * Disabled use of unaligned range requests by default. This is
57 controlled by the variable allowUnalignedRangeRequests (reported
59 * Fixed descriptor leaks in SOCKS error handling (reported by
61 * Implemented maxSideBuffering.
63 6 February 2007: Polipo 0.9.12
65 * Fixed incorrect caching of redirects (reported by Lawrence Lu).
66 * Fixed a possible hang when falling back to gethostbyname
67 (reported by Chris Moore).
69 28 December 2006: Polipo 0.9.99.1
71 * Validation improvements and bug fixes.
72 * Don't use cached data when receiving the output from an HTTP/1.0 CGI.
73 * Allowed tunnelling of IMAP and POP traffic by default.
74 * Changed the disk cache expiry and indexing functions to use chunks.
75 * Made the disk cache unreadable by others by default.
76 * Fixed a bug that could cause stale data to be served after
77 a connection failure (reported by Hondza).
78 * Fixed computation of age and rtt for pipelined requests.
79 * Fixed incorrect cachability of redirects (reported by J.-P. Larocque).
80 * Fixed a bug that would cause uncachable objects to become
81 cachable after being reloaded from the on-disk cache (reported
83 * Implemented dontTrustVaryETag.
85 7 December 2006: Polipo 0.9.11
87 * Fixed a crash that could happen when a network interface went down
88 while a DNS query was in progress (reported by Francesco Zappa).
90 20 November 2006: Polipo 0.9.99.0:
92 * Implemented large buffers for headers larger than a chunk's worth.
93 * Made the HTTP parser lax by default (ignores unknown headers).
94 * Implemented the infrastructure for local POST requests and
95 implemented a real configuration interface (thanks to Theo Honohan).
96 * Made timeouts user-configurable and enforced an invariant between
98 * Made logging configurable at runtime (thanks to Frank Behrens).
99 * Implemented the infrastructure for asynchronous handling of
101 * Implemented the ability to redirect instead of returning an
102 error for forbidden URLs.
103 * Implemented support for Squid-style redirectors.
104 * Implemented User-configurable uncacheable URLs, analogous to
105 forbidden URLs (thanks to Joachim Haga).
106 * Implemented the ability to avoid caching pages with cookies
108 * Implemented maxPipelineTrain, which can be used to moderate
109 * Polipo's eagerness to pipeline.
110 * Unified parentHost and parentPort into parentProxy.
111 * Ported Polipo to native Windows (thanks to Dan Kennedy).
112 * Implemented disableVia.
113 * Implemented SOCKS support.
114 * Made disableVia and cacheIsShared to be true by default.
115 * Increased the default value of serverMaxSlots to 8.
116 * Made the disk cache code quote all characters except for a
117 small number of ``known safe'' ones. This is an incompatible
118 change to the on-disk format.
119 * Changed HTTP parser to pass all Pragma headers to the next
120 hop; this should make some media players work through Polipo.
121 * Changed the connection scheduler to avoid pipelining when
122 there are idle connections to a given server.
123 * Made Polipo obey parentProxy when tunnelling (proxying https).
124 * Changed the default value of allowedPorts to be slightly more
126 * Implemented tweakables for selectively disabling parts of the
127 configuration interface. Indexing and listing known servers
128 are now disabled by default.
129 * Hide variables containing passwords.
130 * Fixed a bug that could cause incorrect validation when speaking
131 to an HTTP/1.0 server.
132 * Fixed a bug that could cause incorrect validation of Vary objects.
133 * Fixed a crash in the redirector code.
134 * Made disableVia the default, and changed the default value of idleTime.
135 * Made polipo delay serving of partial objects until after a
136 a successful validation. This should fix Mozilla's prefetching.
137 * On 64-bit platforms, made CHUNK_SIZE default to 8kB.
139 2 September 2006: Polipo 0.9.10:
141 * Fixed a crash when a client closes a connection at just the
143 * Fixed a crash that could happen when a server returned incorrect
144 headers and closed the connection at just the wrong time.
145 * Fixed restarting of connections on a server-side read error;
146 this should avoid the ``connection reset by peer'' problem.
147 * Corrected work-around for DNS servers that export both AAAA and CNAME.
148 * Fix incorrect error handling when overflowing the buffer when saving
150 * IPv6 tweaks for OpenBSD (thanks to Jun-ichiro itojun Hagino).
151 * Fixed incorrect error-handling on failure to parse a date.
152 * Fixed a deadlock when a tunnel is shut down and the buffer is
154 * Fixed an incorrect use of va_start (guaranteed crash on AMD64).
155 * Fixed a possible race condition with a heavily pipelining client.
156 * Fixed a crash due to incorrect handling of write errors in POST.
158 23 September 2005: Polipo 0.9.9:
160 * Fixed a bug that could cause objects to be incorrectly
161 determined to be dynamic (thanks to Joachim B. Haga).
162 * Fixed a bug that could cause the local web server to expose
163 files that are not under the local root (thanks to Wessel
165 * Fixed an off-by-one bug when parsing NL-terminated headers.
166 * Made Polipo forget about failures when finishing on the client side.
167 * Polipo now sends Host headers even when speaking to an upstream
168 proxy. Some proxies take RFC 2616 literally, and require that
169 (thanks to Zoltan Ivanfi).
170 * Fixed some bugs in staleness computation, and implemented
171 server-side max-age directives (oops!) (thanks to Charley Chu).
173 24 January 2005: Polipo 0.9.8:
175 * Backported the lax HTTP parser from the head branch.
176 * Fixed a race condition that could cause a crash if a single
177 object was being superseded twice at the same time.
178 * Fixed an incorrect test that caused Polipo to pipeline to all
179 HTTP/1.1 servers, even when they were determined as broken (thanks
181 * Implemented maxPipelineTrain.
182 * Tweaked for uclibc (thanks to Detlef Riekenberg).
184 27 December 2004: Polipo 0.9.7:
186 * Fixed a possible crash when tunnelling.
187 * Fixed spurious updates of object sizes when connection is dropped
189 * Fixed parsing of URLs with explicit port number (thanks to
191 * Fixed a possible crash when exiting POST in error.
192 * Fixed a protocol violation when an empty object is not superseded.
194 31 October 2004: Polipo 0.9.6:
195 * Fixed a possible crash in ServeObject.
196 * Fixed two possible crashes when relaxTransparency is not false.
197 * Modified the config file parser to make it possible to have
198 backslashes in atoms.
199 * Fixed a violated invariant (leading to a crash) when superseding
201 * Fixed a possible crash in ClientFinish when a pipelined request
203 * Fixed a bug in handling of client-side Expect: 100-continue
204 (reported by Charley Chu).
205 * Fixed a scheduling bug that caused server-side requests to be
206 issued in the order opposite to a client-side pipeline (many
207 thanks to Joachim Haga).
208 * Abort when the config file couldn't be parsed (thanks to
210 * Fixed error handling in POST and PUT requests, which could
211 cause a crash on an I/O error.
213 17 June 2004: Polipo 0.9.5:
214 * Implemented upstream proxy authentication (HTTP Basic only).
215 * Fixed a possible crash when unable to schedule servicing a request.
216 * Fixed a possible crash when tunnelling (proxying https).
217 * Fixed signedness issues to make allowedClients work on PPC
220 10 May 2004: Polipo 0.9.4:
221 * Fixed a bug (introduced in 0.9.3) that could cause a crash when
222 the download of an object was interrupted and then immediately restarted.
223 * Fixed a bug that could cause stale non-200 replies to be served.
224 * Fixed compilation on FreeBSD 5.2.1 (from Samuel Tardieu).
225 * Fixed definition of *_ROOT in diskcache.c
227 6 April 2004: Polipo 0.9.3:
228 * Fix incorrect handling of EPIPE when tunnelling; this could cause
229 crashes if a peer closed a connection when we're writing.
230 * Fix a race condition that could cause ``error message lost in transit''
231 errors if a request was cancelled during connect.
232 * Check for exitFlag in workToDo: faster reaction to signals.
234 28 March 2004: Polipo 0.9.2:
235 * Fixed a bug that could cause crashes when writing out small
236 objects (thanks to Frank Behrens).
237 * Made buffer allocation in httpParseHeaders dynamic.
238 * Fixed the declaration of pipelineAdditionalRequests.
239 * Fixed a bug that could cause empty directories to be missed
240 when expiring the disk cache.
241 * Switched the forbidden file to use extended regexps, the
242 previous usage was non-portable (thanks to Frank Behrens).
244 9 March 2004: Polipo 0.9.1:
245 * Fixed a bug that could cause chunked encoding failures when
246 going from a 1.0 server to a 1.1 client.
247 * Fixed a bug that prevented comments after some config lines
248 (thanks to Tom Huckstep).
249 * Fixed a possible buffer overflow in dnsDecodeReply.
250 * Fixed portability to systems where rmdir returns EEXIST
251 instead of ENOTEMPTY.
252 * Fixed error handling on fork failures in fillSpecialObject.
253 * Fixed handling of EINTR in wait in specialRequestHandler.
254 * Fixed a bug that caused objects with no headers to fail.
255 * Fixed a minor memory leak in the config file parser.
256 * Minor build fixes for NetBSD.
257 * Added the 68020 and later to the list of architectures that
258 support unaligned access.
260 18 February 2004: Polipo 0.9:
261 * Reworked the DNS code to parse ids even when a reply's qdcount
262 is 0. No longer falls back to gethostbyname when DNS server
264 * Made the DNS code parse resolv.conf.
266 11 Feburary 2004: Polipo 0.8.99.3:
267 * Minor changes to work around Cygwin mis-design.
268 * Fixed printing of n-state variables.
269 * Fixed proxyOffline handling.
270 * Fixed a bug that would cause errors to be reported with the
272 * Fixed a bug that would cause ``object vanished'' errors when
273 using HEAD for revalidation.
274 * Fixed a bug that could cause failed requests due to ``client
275 reset connection'' errors.
277 24 January 2004: Polipo 0.8.99.2:
278 * Cleaned up authentication.
279 * Made authenticated replies cachable in one of the cases allowed
281 * Fixed a bug that could, under some circumstances, cause a
282 password-protected object to be cached and returned to a
283 non-authorized client.
284 * Implemented 100-continue, controlled by the variable expectContinue.
285 * Implemented tristate, 4- and 5-state variables. Split
286 proxyOffline into proxyOffline and relaxTransparency. This is
287 an incompatible change to the config file format.
288 * Cleaned up the handling of allowed port ranges. New
289 configuration variable allowedPorts (and new type intlist).
290 * Implemented tunnelling through the CONNECT method (https proxying).
291 * Will now read a request body on error (avoids a deadlock).
292 * Reworked the PUT/POST code to read the reply eagerly rather
293 than waiting for the write to finish (avoids writing the full
294 body on error and avoids the same deadlock as above).
295 * Made server addresses sticky: will now remember which of a
296 servers addresses worked last time, and use that address first.
298 16 january 2004: Polipo 0.8.99.1:
299 * Fixed an expiry bug that caused DNS queries to be repeated on
301 * Added the variable ``preciseExpiry'' that prevents trusting
302 the mtime during expiry.
304 14 January 2004: Polipo 0.8.99.0:
305 * Implemented IP address-based authentication.
306 * Implemented HTTP ``basic'' authentication.
307 * Implemented variable body offsets for the on-disk cache; this
308 makes the on-disk cache format incompatible with previous versions.
309 * Made the number of server slots configurable.
310 * Partially rewrote the disk cache code.
311 * Fixed a file descriptor leak in the early error handling code.
312 * Fixed a bug in the base64 encoder; this makes the on-disk cache
313 format incompatible with previous versions.
314 * Implemented proper reporting for 100-Continue replies
315 (100-Continue is not implemented yet).
316 * Made the number of server slots configurable at runtime.
318 9 January 2004: Polipo 0.8.4:
319 * Log file is now line buffered.
320 * Will reopen the log file on SIGUSR1 and SIGUSR2.
321 * censoredHeaders now defaults to none, and censorReferer to 0.
322 * Fixed a memory allocation bug that could cause a crash.
324 21 December 2003: Polipo 0.8.3:
325 * Fixed a potential buffer overflow on C89 systems in snnprintf.
326 * Fixed checking of Via headers.
327 * Added configurable log file.
328 * Added code to run as a daemon.
329 * Made the resolver grok names ending in a ``.''.
330 * Changed Makefile to fit Debian better.
332 7 December 2003: Polipo 0.8.2:
333 * Implemented a version of fts for SVR4 systems.
334 * Implemented a version of mktime_gmt that doesn't use setenv.
335 * Fixed code used to determine FQDN.
336 * More unaligned access fixes.
337 * Disabled queryIPv6 when there is no IPv6 support in kernel.
338 * Enabled IPv6 support by default on FreeBSD and NetBSD.
340 2 December 2003: Polipo 0.8.1:
342 * Fix a possible crash when doing a POST on a busy server.
343 * Fix a possible crash when socket(2) fails; implement switching
344 to a different address when socket(2) fails (e.g. when
345 accessing a double-stack host from an IPv4-only client).
346 * Fix a problem with servers stuck in the ``probing'' state.
347 * Work around a bug in Konqueror that strips question marks from
349 * Fix incorrect error handling when dealing with connection
351 * Fix a compile problem in dns.c.
352 * Remove dependency on SSL, include MD5 code instead.
353 * Fix signedness of s_maxage.
355 23 November 2003: Polipo 0.8:
357 * IPv6 support, on both the client and server side, including
358 DNS support and RFC 2732.
359 * Reworked the DNS code.
360 * Made it possible to compile without any particular resolver
361 and without the on-disk cache.
362 * Fixed a problem with the chunking encoder.
363 * Made the config file parser grok octal and hex values, allowed
364 colons and tildes in unquoted strings.
365 * Implemented tilde expansion in some config variables.
366 * Made Polipo slightly less eager to honour range requests for
367 dynamic instances. Marked generated objects as dynamic. These
368 changes should solve some of the problems with PMM.
369 * Implemented the If-Range header (on both the client and server side).
370 * Implemented support for range requests smaller than one chunk
371 (and hence for pmmSize being smaller than CHUNK_SIZE).
372 * Fixed a bug that caused a deadlock (until a server timeout)
373 when doing a POST/PUT request with no free connection slots.
374 * Fixed a problem when diskCacheRoot didn't end in `/'.
375 * Fixed a refcounting problem that could cause Polipo to crash
377 * Fixed an alignment problem that could cause crashes on
378 architectures that don't like unaligned memory accesses
379 (thanks to Rob Byrnes).
380 * Fixed a bug with the disk cache that caused spurious ``disk
381 entry changed behind our back'' warnings (and in principle
382 could cause data corruption, although that's very unlikely).
383 * Made opening connections slightly less aggressive -- Polipo
384 would sometimes open two connections where only one was needed.
385 * Modified client-side code to notice client shutdowns earlier
386 and notify the server side straight away.
388 7 October 2003: Polipo 0.7
390 * Made the Request function a method of objects.
391 * Fixed a bug that could sometimes cause data corruption.
392 * Fixed a bug that could cause sending of incorrect data to
393 the client on a range request.
394 * Fixed POST and PUT requests.
395 * Fixed a bug that could sometimes cause a POST request to use a
397 * Included code to do poor man's multiplexing.
398 * Will now open multiple connections to non-persistent servers.
399 * Fixed a bug that could lead to idle connections dying without
401 * Fixed probing for pipelining.
402 * Actually use the new time function introduced in 0.5.
403 * Fixed a bug in strcasecmp_n.
404 * forbiddenFile can now be a directory.
406 26 September 2003: Polipo 0.6
408 * Fixed precondition handling.
409 * Fixed a bug that could lead to lockups when revalidating an object.
411 27 June 2003: Polipo 0.5
413 * Made the presence of a reader or writer explicit on the client side.
414 * Reworked closing client connections.
415 * Reworked reporting of server-side errors.
416 * Made buffer allocation lazy; idle clients and servers no longer
418 * Reworked UTC time handling to use timegm(3) when available.
420 12 March 2003: Polipo 0.4
422 * Implemented expiry of the on-disk cache.
423 * Implemented reliable aborting of connections; Polipo should no
424 * longer deadlock when a server falls into a black hole.
425 * Changed direct reads to be more aggressive by using readv in
427 * Changed serving of chunked data to be more eager about
428 serving a chunk's end marker.
429 * Implemented better reporting of DNS errors.
430 * Fixed a deadlock with pipelining on the client side.
431 * Removed most of the remaining copies when reading on the
433 * Fixed a bug that caused some headers to disappear in transit.
434 * Fixed a possible livelock when reading chunked encoding.
435 * Fixed an overflow when pipelining on the server side.
436 * Fixed generation of indexes from the on-disk cache.
437 * Fixed a DNS crash when falling back on gethostbyname.
439 1 March 2003: Polipo 0.3
441 * Implemented retrying of timed-out DNS requests.
442 * Implemented configuration mechanisms for case-insensitive atoms,
443 time values and atom lists; censoredHeaders can now be configured.
444 * No longer censors User-Agent. Blame Beppe and Alain.
445 * Changed the handling of hop-by-hop HTTP headers to deal with multiple
447 * Made client-side errors and successful revalidation no longer
448 close the connection.
449 * Fixed a bug that caused the allocation of an extraneous 2MB (!)
450 at startup. Polipo can run in 100KB once again.
451 * Fixed a refcounting bug and some incorrect frees that could
452 lead to crashes when recovering from a server-side error.
453 * Fixed a bug with POST/PUT that could trigger a failed assertion.
454 * Made sure that POST/PUT don't get scheduled in multiple pieces.
456 17 February 2003: Polipo 0.2
458 * Fixed an incorrect assertion that could cause crashes when the
460 * Fixed (hopefully) logic for 304 replies.
461 * Minor tweaks to scheduling that cause some speed increase when the
462 client is pipelining and the server is fast.
463 * Minor bug fixes and cleanups.
464 * Macro-ified do_log and friends.
466 3 February 2003: Polipo 0.1
468 * Initial public release.