/usr/share/polipo/www/doc/Tuning-the-HTTP-parser.html is in polipo 1.0.4.1-1.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 | <html lang="en">
<head>
<title>Tuning the HTTP parser - The Polipo Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="The Polipo Manual">
<meta name="generator" content="makeinfo 4.13">
<link title="Top" rel="start" href="index.html#Top">
<link rel="up" href="HTTP-tuning.html#HTTP-tuning" title="HTTP tuning">
<link rel="prev" href="HTTP-tuning.html#HTTP-tuning" title="HTTP tuning">
<link rel="next" href="Censoring-headers.html#Censoring-headers" title="Censoring headers">
<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
<!--
Copyright (C) 2003 -- 2006 by Juliusz Chroboczek.-->
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.format { font-family:inherit }
pre.smalldisplay { font-family:inherit; font-size:smaller }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
span.sc { font-variant:small-caps }
span.roman { font-family:serif; font-weight:normal; }
span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<div class="node">
<a name="Tuning-the-HTTP-parser"></a>
<p>
Next: <a rel="next" accesskey="n" href="Censoring-headers.html#Censoring-headers">Censoring headers</a>,
Previous: <a rel="previous" accesskey="p" href="HTTP-tuning.html#HTTP-tuning">HTTP tuning</a>,
Up: <a rel="up" accesskey="u" href="HTTP-tuning.html#HTTP-tuning">HTTP tuning</a>
<hr>
</div>
<h4 class="subsection">3.3.1 Tuning the HTTP parser</h4>
<p><a name="index-laxHttpParser-91"></a><a name="index-bigBufferSize-92"></a>
As a number of HTTP servers and CGI scripts serve incorrect HTTP
headers, Polipo uses a <em>lax</em> parser, meaning that incorrect HTTP
headers will be ignored (a warning will be logged by default). If the
variable <code>laxHttpParser</code> is not set (it is set by default),
Polipo will use a <em>strict</em> parser, and refuse to serve an
instance unless it could parse all the headers.
<p>When the amount of headers exceeds one chunk's worth (see <a href="Chunk-memory.html#Chunk-memory">Chunk memory</a>), Polipo will allocate a <dfn>big buffer</dfn> in order to store
the headers. The size of big buffers, and therefore the maximum
amount of headers Polipo can parse, is specified by the variable
<code>bigBufferSize</code> (32<span class="dmn">kB</span> by default).
</body></html>
|