Add missing word.
[privoxy.git] / doc / webserver / user-manual / whatsnew.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
2 <HTML
3 ><HEAD
4 ><TITLE
5 >What's New in this Release</TITLE
6 ><META
7 NAME="GENERATOR"
8 CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
9 REL="HOME"
10 TITLE="Privoxy 3.0.16 User Manual"
11 HREF="index.html"><LINK
12 REL="PREVIOUS"
13 TITLE="Installation"
14 HREF="installation.html"><LINK
15 REL="NEXT"
16 TITLE="Quickstart to Using Privoxy"
17 HREF="quickstart.html"><LINK
18 REL="STYLESHEET"
19 TYPE="text/css"
20 HREF="../p_doc.css"><META
21 HTTP-EQUIV="Content-Type"
22 CONTENT="text/html;
23 charset=ISO-8859-1">
24 <LINK REL="STYLESHEET" TYPE="text/css" HREF="p_doc.css">
25 </head
26 ><BODY
27 CLASS="SECT1"
28 BGCOLOR="#EEEEEE"
29 TEXT="#000000"
30 LINK="#0000FF"
31 VLINK="#840084"
32 ALINK="#0000FF"
33 ><DIV
34 CLASS="NAVHEADER"
35 ><TABLE
36 SUMMARY="Header navigation table"
37 WIDTH="100%"
38 BORDER="0"
39 CELLPADDING="0"
40 CELLSPACING="0"
41 ><TR
42 ><TH
43 COLSPAN="3"
44 ALIGN="center"
45 >Privoxy 3.0.16 User Manual</TH
46 ></TR
47 ><TR
48 ><TD
49 WIDTH="10%"
50 ALIGN="left"
51 VALIGN="bottom"
52 ><A
53 HREF="installation.html"
54 ACCESSKEY="P"
55 >Prev</A
56 ></TD
57 ><TD
58 WIDTH="80%"
59 ALIGN="center"
60 VALIGN="bottom"
61 ></TD
62 ><TD
63 WIDTH="10%"
64 ALIGN="right"
65 VALIGN="bottom"
66 ><A
67 HREF="quickstart.html"
68 ACCESSKEY="N"
69 >Next</A
70 ></TD
71 ></TR
72 ></TABLE
73 ><HR
74 ALIGN="LEFT"
75 WIDTH="100%"></DIV
76 ><DIV
77 CLASS="SECT1"
78 ><H1
79 CLASS="SECT1"
80 ><A
81 NAME="WHATSNEW"
82 >3. What's New in this Release</A
83 ></H1
84 ><P
85 > <SPAN
86 CLASS="APPLICATION"
87 >Privoxy 3.0.16</SPAN
88 > is a stable release.
89  The changes since 3.0.15 beta are:</P
90 ><P
91 > <P
92 ></P
93 ><UL
94 ><LI
95 ><P
96 >    Added the config file option handle-as-empty-doc-returns-ok to
97     work around Firefox bug #492459, which causes Firefox to hang
98     if JavaScripts are blocked in certain situations. The option is
99     enabled in the default config file.
100    </P
101 ></LI
102 ><LI
103 ><P
104 >    Added the config file option default-server-timeout to control the
105     assumed default server timeout. Since Privoxy no longer returns
106     an error message for connection resets on reused client connections,
107     assuming larger server timeout values appears to actually work
108     pretty well as long as connections aren't shared.
109    </P
110 ></LI
111 ><LI
112 ><P
113 >    Added optional support for FreeBSD's accf_http(9). Use the
114     configure option --enable-accept-filter to enable it.
115    </P
116 ></LI
117 ><LI
118 ><P
119 >    Added fancier Privoxy icons for win32. Contributed by Jeff H.
120    </P
121 ></LI
122 ><LI
123 ><P
124 >    In daemon mode, fd 0, 1 and 2 are bound to /dev/null.
125    </P
126 ></LI
127 ><LI
128 ><P
129 >    Resolve localhost using whatever address family the operating
130     system feels like. Previous betas would try to use IPv4 as this
131     is what most users expect, but this didn't work reliable on
132     GNU/Linux systems.
133    </P
134 ></LI
135 ><LI
136 ><P
137 >    In the action lists on CGI pages, actions and their parameters are
138     no longer separated with a space. The action file parser doesn't
139     actually allow this and will throw an invalid syntax error if actions
140     and parameters in the action files are separated. Not adding the
141     spaces means copy and pasting CGI output into the action files works.
142    </P
143 ></LI
144 ><LI
145 ><P
146 >    The default keep-alive timeout has been reduced to 5 seconds to work
147     around hangs in clients that treat the proxy like any other host and
148     stop allowing any new connections if the "maximum number of
149     connections per host" is reached.
150    </P
151 ></LI
152 ><LI
153 ><P
154 >    Several webbug URLs that look like they are leading to images are now
155     blocked as image instead of empty documents. Doing the latter causes
156     WebKit-based clients to show a "missing image" icon which may mess up
157     the layout.
158    </P
159 ></LI
160 ><LI
161 ><P
162 >    The no-such-domain template if used if for DNS resolution
163     problems with FEATURE_IPV6_SUPPORT enabled. Previously the
164     connect-failed template was used. Reported by 'zebul666'.
165    </P
166 ></LI
167 ><LI
168 ><P
169 >    Accepts quoted expiration dates even though RFC 2109 10.1.2
170     doesn't seem to allow them. Reported anonymously.
171    </P
172 ></LI
173 ><LI
174 ><P
175 >    Don't try to forget connections if connection sharing is disabled.
176     This wasn't a real problem but caused an unnecessary log message.
177    </P
178 ></LI
179 ><LI
180 ><P
181 >    The still undocumented --enable-extended-host-patterns configure
182     option has a better description.
183    </P
184 ></LI
185 ><LI
186 ><P
187 >    Fixed an error message that would claim a write to the server
188     failed when actually writing to the client failed.
189    </P
190 ></LI
191 ><LI
192 ><P
193 >    Log the crunch reason before trying to write to the client.
194     The log is easier to read that way.
195    </P
196 ></LI
197 ><LI
198 ><P
199 >    Several log messages about client connections also mention
200     the socket number.
201    </P
202 ></LI
203 ><LI
204 ><P
205 >    handle-as-empty-document no longer depends on the image blocking
206     code being enabled.
207    </P
208 ></LI
209 ><LI
210 ><P
211 >    Privoxy-Log-Parser is roughly 40% faster in highlighting mode.
212    </P
213 ></LI
214 ><LI
215 ><P
216 >    uagen, a Firefox User-Agent generator for Privoxy and Mozilla
217     browsers has been imported and is available in the tarballs
218     tools directory.
219    </P
220 ></LI
221 ><LI
222 ><P
223 >    The scripts in the tools directory treat unknown parameters
224     as fatal errors.
225    </P
226 ></LI
227 ></UL
228 ></P
229 ><P
230 > If you missed the previous two beta versions, you may also be
231  interested in the additional changes since 3.0.12, the
232  last stable release:</P
233 ><P
234 > <P
235 ></P
236 ><UL
237 ><LI
238 ><P
239 >    Added IPv6 support. Thanks to Petr Pisar who not only provided
240     the initial patch but also helped a lot with the integration.
241    </P
242 ></LI
243 ><LI
244 ><P
245 >    Added client-side keep-alive support.
246    </P
247 ></LI
248 ><LI
249 ><P
250 >    The connection sharing code is only used if the connection-sharing
251     option is enabled.
252    </P
253 ></LI
254 ><LI
255 ><P
256 >    The latency is taken into account when evaluating whether or not to
257     reuse a connection. This should significantly reduce the number of
258     connections problems several users reported.
259    </P
260 ></LI
261 ><LI
262 ><P
263 >    The max-client-connections option has been added to restrict
264     the number of client connections below a value enforced by
265     the operating system.
266    </P
267 ></LI
268 ><LI
269 ><P
270 >    If the server doesn't specify how long the connection stays alive,
271     Privoxy errs on the safe side of caution and assumes it's only a second.
272    </P
273 ></LI
274 ><LI
275 ><P
276 >    Setting keep-alive-timeout to 0 disables keep-alive support. Previously
277     Privoxy would claim to allow persistence but not reuse the connection.
278    </P
279 ></LI
280 ><LI
281 ><P
282 >    Pipelined requests are less likely to be mistaken for the request
283     body of the previous request. Note that Privoxy still has no real
284     pipeline support and will either serialize pipelined requests or
285     drop them in which case the client has to resent them.
286    </P
287 ></LI
288 ><LI
289 ><P
290 >    Fixed a crash on some Windows versions when header randomization
291     is enabled and the date couldn't be parsed.
292    </P
293 ></LI
294 ><LI
295 ><P
296 >    Privoxy's keep-alive timeout for the current connection is reduced
297     to the one specified in the client's Keep-Alive header.
298    </P
299 ></LI
300 ><LI
301 ><P
302 >    For HTTP/1.1 requests, Privoxy implies keep-alive support by not
303     setting any Connection header instead of using 'Connection: keep-alive'.
304    </P
305 ></LI
306 ><LI
307 ><P
308 >    If the socket isn't reusable, Privoxy doesn't temporarily waste
309     a socket slot to remember the connection.
310    </P
311 ></LI
312 ><LI
313 ><P
314 >    If keep-alive support is disabled but compiled in, the client's
315     Keep-Alive header is removed.
316    </P
317 ></LI
318 ><LI
319 ><P
320 >    Fixed a bug on mingw32 where downloading large files failed if
321     keep-alive support was enabled.
322    </P
323 ></LI
324 ><LI
325 ><P
326 >    Fixed a bug that (at least theoretically) could cause log
327     timestamps to be occasionally off by about a second.
328    </P
329 ></LI
330 ><LI
331 ><P
332 >    The configure script respects the $PATH variable when searching
333     for groups and id.
334    </P
335 ></LI
336 ><LI
337 ><P
338 >    Compressed content with extra fields couldn't be decompressed
339     and would get passed to the client unfiltered. This problem
340     has only be detected through statical analysis with clang as
341     nobody seems to be using extra fields anyway.
342    </P
343 ></LI
344 ><LI
345 ><P
346 >    If the server resets the Connection after sending only the headers
347     Privoxy forwards what it got to the client. Previously Privoxy
348     would deliver an error message instead.
349    </P
350 ></LI
351 ><LI
352 ><P
353 >    Error messages in case of connection timeouts use the right
354     HTTP status code.
355    </P
356 ></LI
357 ><LI
358 ><P
359 >    If spawning a child to handle a request fails, the client
360     gets an error message and Privoxy continues to listen for
361     new requests right away.
362    </P
363 ></LI
364 ><LI
365 ><P
366 >    The error messages in case of server-connection timeouts or
367     prematurely closed server connections are now template-based.
368    </P
369 ></LI
370 ><LI
371 ><P
372 >    If zlib support isn't compiled in, Privoxy no longer tries to
373     filter compressed content unless explicitly asked to do so.
374    </P
375 ></LI
376 ><LI
377 ><P
378 >    In case of connections that are denied based on ACL directives,
379     the memory used for the client IP is no longer leaked.
380    </P
381 ></LI
382 ><LI
383 ><P
384 >    Fixed another small memory leak if the client request times out
385     while waiting for client headers other than the request line.
386    </P
387 ></LI
388 ><LI
389 ><P
390 >    The client socket is kept open until the server socket has
391     been marked as unused. This should increase the chances that
392     the still-open connection will be reused for the client's next
393     request to the same destination. Note that this only matters
394     if connection-sharing is enabled.
395    </P
396 ></LI
397 ><LI
398 ><P
399 >    A TODO list has been added to the source tarballs to give potential
400     volunteers a better idea of what the current goals are. Donations
401     are still welcome too: http://www.privoxy.org/faq/general.html#DONATE
402    </P
403 ></LI
404 ><LI
405 ><P
406 >    In case of missing server data, no error message is send to the
407     client if the request arrived on a reused connection. The client
408     is then supposed to silently retry the request without bothering
409     the user. This should significantly reduce the frequency of the
410     "No server or forwarder data received" error message many users
411     reported.
412    </P
413 ></LI
414 ><LI
415 ><P
416 >    More reliable detection of prematurely closed client sockets
417     with keep-alive enabled.
418    </P
419 ></LI
420 ><LI
421 ><P
422 >    FEATURE_CONNECTION_KEEP_ALIVE is decoupled from
423     FEATURE_CONNECTION_SHARING and now available on
424     all platforms.
425    </P
426 ></LI
427 ><LI
428 ><P
429 >    Improved handling of POST requests on reused connections.
430     Should fix problems with stalled connections after submitting
431     form data with some browser configurations.
432    </P
433 ></LI
434 ><LI
435 ><P
436 >    Fixed various latency calculation issues.
437    </P
438 ></LI
439 ><LI
440 ><P
441 >    Allows the client to pass NTLM authentication requests to a
442     forwarding proxy. This was already assumed and hinted to work
443     in 3.0.13 beta but actually didn't. Now it's confirmed to work
444     with IE, Firefox and Chrome.
445     Thanks to Francois Botha and Wan-Teh Chang
446    </P
447 ></LI
448 ><LI
449 ><P
450 >    Fixed a calculation problem if receiving the server headers
451     takes more than two reads, that could cause Privoxy to terminate
452     the connection prematurely. Reported by Oliver.
453    </P
454 ></LI
455 ><LI
456 ><P
457 >    Compiles again on platforms such as OpenBSD and systems
458     using earlier glibc version that don't support AI_ADDRCONFIG.
459     Anonymously submitted in #2872591.
460    </P
461 ></LI
462 ><LI
463 ><P
464 >    A bunch of MS VC project files and Suse and Redhat RPM spec
465     files have been removed as they were no longer maintained for
466     quite some time.
467    </P
468 ></LI
469 ><LI
470 ><P
471 >    Overly long action lines are properly rejected with a proper
472     error message. Previously they would be either rejected as
473     invalid or cause a core dump through abort().
474    </P
475 ></LI
476 ><LI
477 ><P
478 >    Already timed-out connections are no longer temporarily remembered.
479     They weren't reused anyway, but wasted a socket slot.
480    </P
481 ></LI
482 ><LI
483 ><P
484 >    len refers to the number of bytes actually read which might
485     differ from the ones received. Adjust log messages accordingly.
486    </P
487 ></LI
488 ><LI
489 ><P
490 >    The optional JavaScript on the CGI page uses encodeURIComponent()
491     instead of escape() which doesn't encode all characters that matter.
492     Anonymously reported in #2832722.
493    </P
494 ></LI
495 ><LI
496 ><P
497 >    Fix gcc45 warnings in decompress_iob().
498    </P
499 ></LI
500 ><LI
501 ><P
502 >    Various log message improvements.
503    </P
504 ></LI
505 ><LI
506 ><P
507 >    Privoxy-Regression-Test supports redirect tests.
508    </P
509 ></LI
510 ><LI
511 ><P
512 >    Privoxy-Log-Parser can gather some connection statistics.
513    </P
514 ></LI
515 ></UL
516 ></P
517 ><DIV
518 CLASS="SECT2"
519 ><H2
520 CLASS="SECT2"
521 ><A
522 NAME="UPGRADERSNOTE"
523 >3.1. Note to Upgraders</A
524 ></H2
525 ><P
526 > A quick list of things to be aware of before upgrading from earlier 
527  versions of <SPAN
528 CLASS="APPLICATION"
529 >Privoxy</SPAN
530 >:</P
531 ><P
532 > <P
533 ></P
534 ><UL
535 ><LI
536 ><P
537 >   The recommended way to upgrade <SPAN
538 CLASS="APPLICATION"
539 >Privoxy</SPAN
540 > is to backup your old 
541    configuration files, install the new ones, verify that <SPAN
542 CLASS="APPLICATION"
543 >Privoxy</SPAN
544 >
545    is working correctly and finally merge back your changes using
546    <SPAN
547 CLASS="APPLICATION"
548 >diff</SPAN
549 > and maybe <SPAN
550 CLASS="APPLICATION"
551 >patch</SPAN
552 >.
553   </P
554 ><P
555 >   There are a number of new features in each <SPAN
556 CLASS="APPLICATION"
557 >Privoxy</SPAN
558 > release and
559    most of them have to be explicitly enabled in the configuration
560    files. Old configuration files obviously don't do that and due
561    to syntax changes using old configuration files with a new
562    <SPAN
563 CLASS="APPLICATION"
564 >Privoxy</SPAN
565 > isn't always possible anyway.
566   </P
567 ></LI
568 ><LI
569 ><P
570 >  
571     Note that some installers remove earlier versions completely,
572     including configuration files, therefore you should really save
573     any important configuration files!
574   </P
575 ></LI
576 ><LI
577 ><P
578 >  
579    On the other hand, other installers don't overwrite existing configuration 
580    files, thinking you will want to do that yourself.
581   </P
582 ></LI
583 ><LI
584 ><P
585 >  
586    <TT
587 CLASS="FILENAME"
588 >standard.action</TT
589 > has been merged into
590    the <TT
591 CLASS="FILENAME"
592 >default.action</TT
593 > file.
594   </P
595 ></LI
596 ><LI
597 ><P
598 >   In the default configuration only fatal errors are logged now.
599    You can change that in the <A
600 HREF="config.html#DEBUG"
601 >debug section</A
602 >
603    of the configuration file. You may also want to enable more verbose
604    logging until you verified that the new <SPAN
605 CLASS="APPLICATION"
606 >Privoxy</SPAN
607 > version is working
608    as expected.
609   </P
610 ></LI
611 ><LI
612 ><P
613 >     Three other config file settings are now off by default: 
614      <A
615 HREF="config.html#ENABLE-REMOTE-TOGGLE"
616 >enable-remote-toggle</A
617 >,
618      <A
619 HREF="config.html#ENABLE-REMOTE-HTTP-TOGGLE"
620 >enable-remote-http-toggle</A
621 >,
622      and  <A
623 HREF="config.html#ENABLE-EDIT-ACTIONS"
624 >enable-edit-actions</A
625 >. 
626      If you use or want these, you will need to explicitly enable them, and
627      be aware of the security issues involved. 
628     </P
629 ></LI
630 ></UL
631 ></P
632 ></DIV
633 ></DIV
634 ><DIV
635 CLASS="NAVFOOTER"
636 ><HR
637 ALIGN="LEFT"
638 WIDTH="100%"><TABLE
639 SUMMARY="Footer navigation table"
640 WIDTH="100%"
641 BORDER="0"
642 CELLPADDING="0"
643 CELLSPACING="0"
644 ><TR
645 ><TD
646 WIDTH="33%"
647 ALIGN="left"
648 VALIGN="top"
649 ><A
650 HREF="installation.html"
651 ACCESSKEY="P"
652 >Prev</A
653 ></TD
654 ><TD
655 WIDTH="34%"
656 ALIGN="center"
657 VALIGN="top"
658 ><A
659 HREF="index.html"
660 ACCESSKEY="H"
661 >Home</A
662 ></TD
663 ><TD
664 WIDTH="33%"
665 ALIGN="right"
666 VALIGN="top"
667 ><A
668 HREF="quickstart.html"
669 ACCESSKEY="N"
670 >Next</A
671 ></TD
672 ></TR
673 ><TR
674 ><TD
675 WIDTH="33%"
676 ALIGN="left"
677 VALIGN="top"
678 >Installation</TD
679 ><TD
680 WIDTH="34%"
681 ALIGN="center"
682 VALIGN="top"
683 >&nbsp;</TD
684 ><TD
685 WIDTH="33%"
686 ALIGN="right"
687 VALIGN="top"
688 >Quickstart to Using Privoxy</TD
689 ></TR
690 ></TABLE
691 ></DIV
692 ></BODY
693 ></HTML
694 >