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