2da4ebec49396bea7356f90aa0f3ee6f2b0a6ef5
[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 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 >    Accepts quoted expiration dates even though RFC 2109 10.1.2
163     doesn't seem to allow them. Reported anonymously.
164    </P
165 ></LI
166 ><LI
167 ><P
168 >    Don't try to forget connections if connection sharing is disabled.
169     This wasn't a real problem but caused an unnecessary log message.
170    </P
171 ></LI
172 ><LI
173 ><P
174 >    The still undocumented --enable-extended-host-patterns configure
175     option has a better description.
176    </P
177 ></LI
178 ><LI
179 ><P
180 >    Fixed an error message that would claim a write to the server
181     failed when actually writing to the client failed.
182    </P
183 ></LI
184 ><LI
185 ><P
186 >    Log the crunch reason before trying to write to the client.
187     The log is easier to read that way.
188    </P
189 ></LI
190 ><LI
191 ><P
192 >    Several log messages about client connections also mention
193     the socket number.
194    </P
195 ></LI
196 ><LI
197 ><P
198 >    handle-as-empty-document no longer depends on the image blocking
199     code being enabled.
200    </P
201 ></LI
202 ><LI
203 ><P
204 >    Privoxy-Log-Parser is roughly 40% faster in highlighting mode.
205    </P
206 ></LI
207 ><LI
208 ><P
209 >    uagen, a Firefox User-Agent generator for Privoxy and Mozilla
210     browsers has been imported and is available in the tarballs
211     tools directory.
212    </P
213 ></LI
214 ><LI
215 ><P
216 >    The scripts in the tools directory treat unknown parameters
217     as fatal errors.
218    </P
219 ></LI
220 ></UL
221 ></P
222 ><P
223 > If you missed the previous two beta versions, you may also be
224  interested in the additional changes since 3.0.12, the
225  last stable release:</P
226 ><P
227 > <P
228 ></P
229 ><UL
230 ><LI
231 ><P
232 >    Added IPv6 support. Thanks to Petr Pisar who not only provided
233     the initial patch but also helped a lot with the integration.
234    </P
235 ></LI
236 ><LI
237 ><P
238 >    Added client-side keep-alive support.
239    </P
240 ></LI
241 ><LI
242 ><P
243 >    The connection sharing code is only used if the connection-sharing
244     option is enabled.
245    </P
246 ></LI
247 ><LI
248 ><P
249 >    The latency is taken into account when evaluating whether or not to
250     reuse a connection. This should significantly reduce the number of
251     connections problems several users reported.
252    </P
253 ></LI
254 ><LI
255 ><P
256 >    The max-client-connections option has been added to restrict
257     the number of client connections below a value enforced by
258     the operating system.
259    </P
260 ></LI
261 ><LI
262 ><P
263 >    If the server doesn't specify how long the connection stays alive,
264     Privoxy errs on the safe side of caution and assumes it's only a second.
265    </P
266 ></LI
267 ><LI
268 ><P
269 >    Setting keep-alive-timeout to 0 disables keep-alive support. Previously
270     Privoxy would claim to allow persistence but not reuse the connection.
271    </P
272 ></LI
273 ><LI
274 ><P
275 >    Pipelined requests are less likely to be mistaken for the request
276     body of the previous request. Note that Privoxy still has no real
277     pipeline support and will either serialize pipelined requests or
278     drop them in which case the client has to resent them.
279    </P
280 ></LI
281 ><LI
282 ><P
283 >    Fixed a crash on some Windows versions when header randomization
284     is enabled and the date couldn't be parsed.
285    </P
286 ></LI
287 ><LI
288 ><P
289 >    Privoxy's keep-alive timeout for the current connection is reduced
290     to the one specified in the client's Keep-Alive header.
291    </P
292 ></LI
293 ><LI
294 ><P
295 >    For HTTP/1.1 requests, Privoxy implies keep-alive support by not
296     setting any Connection header instead of using 'Connection: keep-alive'.
297    </P
298 ></LI
299 ><LI
300 ><P
301 >    If the socket isn't reusable, Privoxy doesn't temporarily waste
302     a socket slot to remember the connection.
303    </P
304 ></LI
305 ><LI
306 ><P
307 >    If keep-alive support is disabled but compiled in, the client's
308     Keep-Alive header is removed.
309    </P
310 ></LI
311 ><LI
312 ><P
313 >    Fixed a bug on mingw32 where downloading large files failed if
314     keep-alive support was enabled.
315    </P
316 ></LI
317 ><LI
318 ><P
319 >    Fixed a bug that (at least theoretically) could cause log
320     timestamps to be occasionally off by about a second.
321    </P
322 ></LI
323 ><LI
324 ><P
325 >    The configure script respects the $PATH variable when searching
326     for groups and id.
327    </P
328 ></LI
329 ><LI
330 ><P
331 >    Compressed content with extra fields couldn't be decompressed
332     and would get passed to the client unfiltered. This problem
333     has only be detected through statical analysis with clang as
334     nobody seems to be using extra fields anyway.
335    </P
336 ></LI
337 ><LI
338 ><P
339 >    If the server resets the Connection after sending only the headers
340     Privoxy forwards what it got to the client. Previously Privoxy
341     would deliver an error message instead.
342    </P
343 ></LI
344 ><LI
345 ><P
346 >    Error messages in case of connection timeouts use the right
347     HTTP status code.
348    </P
349 ></LI
350 ><LI
351 ><P
352 >    If spawning a child to handle a request fails, the client
353     gets an error message and Privoxy continues to listen for
354     new requests right away.
355    </P
356 ></LI
357 ><LI
358 ><P
359 >    The error messages in case of server-connection timeouts or
360     prematurely closed server connections are now template-based.
361    </P
362 ></LI
363 ><LI
364 ><P
365 >    If zlib support isn't compiled in, Privoxy no longer tries to
366     filter compressed content unless explicitly asked to do so.
367    </P
368 ></LI
369 ><LI
370 ><P
371 >    In case of connections that are denied based on ACL directives,
372     the memory used for the client IP is no longer leaked.
373    </P
374 ></LI
375 ><LI
376 ><P
377 >    Fixed another small memory leak if the client request times out
378     while waiting for client headers other than the request line.
379    </P
380 ></LI
381 ><LI
382 ><P
383 >    The client socket is kept open until the server socket has
384     been marked as unused. This should increase the chances that
385     the still-open connection will be reused for the client's next
386     request to the same destination. Note that this only matters
387     if connection-sharing is enabled.
388    </P
389 ></LI
390 ><LI
391 ><P
392 >    A TODO list has been added to the source tarballs to give potential
393     volunteers a better idea of what the current goals are. Donations
394     are still welcome too: http://www.privoxy.org/faq/general.html#DONATE
395    </P
396 ></LI
397 ><LI
398 ><P
399 >    In case of missing server data, no error message is send to the
400     client if the request arrived on a reused connection. The client
401     is then supposed to silently retry the request without bothering
402     the user. This should significantly reduce the frequency of the
403     "No server or forwarder data received" error message many users
404     reported.
405    </P
406 ></LI
407 ><LI
408 ><P
409 >    More reliable detection of prematurely closed client sockets
410     with keep-alive enabled.
411    </P
412 ></LI
413 ><LI
414 ><P
415 >    FEATURE_CONNECTION_KEEP_ALIVE is decoupled from
416     FEATURE_CONNECTION_SHARING and now available on
417     all platforms.
418    </P
419 ></LI
420 ><LI
421 ><P
422 >    Improved handling of POST requests on reused connections.
423     Should fix problems with stalled connections after submitting
424     form data with some browser configurations.
425    </P
426 ></LI
427 ><LI
428 ><P
429 >    Fixed various latency calculation issues.
430    </P
431 ></LI
432 ><LI
433 ><P
434 >    Allows the client to pass NTLM authentication requests to a
435     forwarding proxy. This was already assumed and hinted to work
436     in 3.0.13 beta but actually didn't. Now it's confirmed to work
437     with IE, Firefox and Chrome.
438     Thanks to Francois Botha and Wan-Teh Chang
439    </P
440 ></LI
441 ><LI
442 ><P
443 >    Fixed a calculation problem if receiving the server headers
444     takes more than two reads, that could cause Privoxy to terminate
445     the connection prematurely. Reported by Oliver.
446    </P
447 ></LI
448 ><LI
449 ><P
450 >    Compiles again on platforms such as OpenBSD and systems
451     using earlier glibc version that don't support AI_ADDRCONFIG.
452     Anonymously submitted in #2872591.
453    </P
454 ></LI
455 ><LI
456 ><P
457 >    A bunch of MS VC project files and Suse and Redhat RPM spec
458     files have been removed as they were no longer maintained for
459     quite some time.
460    </P
461 ></LI
462 ><LI
463 ><P
464 >    Overly long action lines are properly rejected with a proper
465     error message. Previously they would be either rejected as
466     invalid or cause a core dump through abort().
467    </P
468 ></LI
469 ><LI
470 ><P
471 >    Already timed-out connections are no longer temporarily remembered.
472     They weren't reused anyway, but wasted a socket slot.
473    </P
474 ></LI
475 ><LI
476 ><P
477 >    len refers to the number of bytes actually read which might
478     differ from the ones received. Adjust log messages accordingly.
479    </P
480 ></LI
481 ><LI
482 ><P
483 >    The optional JavaScript on the CGI page uses encodeURIComponent()
484     instead of escape() which doesn't encode all characters that matter.
485     Anonymously reported in #2832722.
486    </P
487 ></LI
488 ><LI
489 ><P
490 >    Fix gcc45 warnings in decompress_iob().
491    </P
492 ></LI
493 ><LI
494 ><P
495 >    Various log message improvements.
496    </P
497 ></LI
498 ><LI
499 ><P
500 >    Privoxy-Regression-Test supports redirect tests.
501    </P
502 ></LI
503 ><LI
504 ><P
505 >    Privoxy-Log-Parser can gather some connection statistics.
506    </P
507 ></LI
508 ></UL
509 ></P
510 ><DIV
511 CLASS="SECT2"
512 ><H2
513 CLASS="SECT2"
514 ><A
515 NAME="UPGRADERSNOTE"
516 >3.1. Note to Upgraders</A
517 ></H2
518 ><P
519 > A quick list of things to be aware of before upgrading from earlier 
520  versions of <SPAN
521 CLASS="APPLICATION"
522 >Privoxy</SPAN
523 >:</P
524 ><P
525 > <P
526 ></P
527 ><UL
528 ><LI
529 ><P
530 >   The recommended way to upgrade <SPAN
531 CLASS="APPLICATION"
532 >Privoxy</SPAN
533 > is to backup your old 
534    configuration files, install the new ones, verify that <SPAN
535 CLASS="APPLICATION"
536 >Privoxy</SPAN
537 >
538    is working correctly and finally merge back your changes using
539    <SPAN
540 CLASS="APPLICATION"
541 >diff</SPAN
542 > and maybe <SPAN
543 CLASS="APPLICATION"
544 >patch</SPAN
545 >.
546   </P
547 ><P
548 >   There are a number of new features in each <SPAN
549 CLASS="APPLICATION"
550 >Privoxy</SPAN
551 > release and
552    most of them have to be explicitly enabled in the configuration
553    files. Old configuration files obviously don't do that and due
554    to syntax changes using old configuration files with a new
555    <SPAN
556 CLASS="APPLICATION"
557 >Privoxy</SPAN
558 > isn't always possible anyway.
559   </P
560 ></LI
561 ><LI
562 ><P
563 >  
564     Note that some installers remove earlier versions completely,
565     including configuration files, therefore you should really save
566     any important configuration files!
567   </P
568 ></LI
569 ><LI
570 ><P
571 >  
572    On the other hand, other installers don't overwrite existing configuration 
573    files, thinking you will want to do that yourself.
574   </P
575 ></LI
576 ><LI
577 ><P
578 >  
579    <TT
580 CLASS="FILENAME"
581 >standard.action</TT
582 > has been merged into
583    the <TT
584 CLASS="FILENAME"
585 >default.action</TT
586 > file.
587   </P
588 ></LI
589 ><LI
590 ><P
591 >   In the default configuration only fatal errors are logged now.
592    You can change that in the <A
593 HREF="config.html#DEBUG"
594 >debug section</A
595 >
596    of the configuration file. You may also want to enable more verbose
597    logging until you verified that the new <SPAN
598 CLASS="APPLICATION"
599 >Privoxy</SPAN
600 > version is working
601    as expected.
602   </P
603 ></LI
604 ><LI
605 ><P
606 >     Three other config file settings are now off by default: 
607      <A
608 HREF="config.html#ENABLE-REMOTE-TOGGLE"
609 >enable-remote-toggle</A
610 >,
611      <A
612 HREF="config.html#ENABLE-REMOTE-HTTP-TOGGLE"
613 >enable-remote-http-toggle</A
614 >,
615      and  <A
616 HREF="config.html#ENABLE-EDIT-ACTIONS"
617 >enable-edit-actions</A
618 >. 
619      If you use or want these, you will need to explicitly enable them, and
620      be aware of the security issues involved. 
621     </P
622 ></LI
623 ></UL
624 ></P
625 ></DIV
626 ></DIV
627 ><DIV
628 CLASS="NAVFOOTER"
629 ><HR
630 ALIGN="LEFT"
631 WIDTH="100%"><TABLE
632 SUMMARY="Footer navigation table"
633 WIDTH="100%"
634 BORDER="0"
635 CELLPADDING="0"
636 CELLSPACING="0"
637 ><TR
638 ><TD
639 WIDTH="33%"
640 ALIGN="left"
641 VALIGN="top"
642 ><A
643 HREF="installation.html"
644 ACCESSKEY="P"
645 >Prev</A
646 ></TD
647 ><TD
648 WIDTH="34%"
649 ALIGN="center"
650 VALIGN="top"
651 ><A
652 HREF="index.html"
653 ACCESSKEY="H"
654 >Home</A
655 ></TD
656 ><TD
657 WIDTH="33%"
658 ALIGN="right"
659 VALIGN="top"
660 ><A
661 HREF="quickstart.html"
662 ACCESSKEY="N"
663 >Next</A
664 ></TD
665 ></TR
666 ><TR
667 ><TD
668 WIDTH="33%"
669 ALIGN="left"
670 VALIGN="top"
671 >Installation</TD
672 ><TD
673 WIDTH="34%"
674 ALIGN="center"
675 VALIGN="top"
676 >&nbsp;</TD
677 ><TD
678 WIDTH="33%"
679 ALIGN="right"
680 VALIGN="top"
681 >Quickstart to Using Privoxy</TD
682 ></TR
683 ></TABLE
684 ></DIV
685 ></BODY
686 ></HTML
687 >