Add to git.
[pthrlib.git] / doc / cgi_set_post_max.3.html
1 <html>
2 <head>
3 <meta name="generator" content="groff -Thtml, see www.gnu.org">
4 <meta name="Content-Style" content="text/css">
5 <title>cgi_get_post_max</title>
6 </head>
7 <body>
8
9 <h1 align=center>cgi_get_post_max</h1>
10 <a href="#NAME">NAME</a><br>
11 <a href="#SYNOPSIS">SYNOPSIS</a><br>
12 <a href="#DESCRIPTION">DESCRIPTION</a><br>
13 <a href="#AUTHOR">AUTHOR</a><br>
14 <a href="#LICENSE">LICENSE</a><br>
15 <a href="#VERSION">VERSION</a><br>
16 <a href="#SEE ALSO">SEE ALSO</a><br>
17
18 <hr>
19 <!-- Creator     : groff version 1.17.2 -->
20 <!-- CreationDate: Fri Aug 30 16:16:15 2002 -->
21 <a name="NAME"></a>
22 <h2>NAME</h2>
23 <table width="100%" border=0 rules="none" frame="void"
24        cols="2" cellspacing="0" cellpadding="0">
25 <tr valign="top" align="left">
26 <td width="10%"></td><td width="90%">
27 cgi_get_post_max, cgi_set_post_max - Get and set the internal POST_MAX parameter.</td></table>
28 <a name="SYNOPSIS"></a>
29 <h2>SYNOPSIS</h2>
30
31 <table width="100%" border=0 rules="none" frame="void"
32        cols="2" cellspacing="0" cellpadding="0">
33 <tr valign="top" align="left">
34 <td width="10%"></td><td width="90%">
35 <pre><b>#include &lt;pthr_cgi.h&gt;
36
37 int cgi_get_post_max (void);
38 int cgi_set_post_max (int new_post_max);
39 </b></pre></td></table>
40 <a name="DESCRIPTION"></a>
41 <h2>DESCRIPTION</h2>
42
43 <table width="100%" border=0 rules="none" frame="void"
44        cols="2" cellspacing="0" cellpadding="0">
45 <tr valign="top" align="left">
46 <td width="10%"></td><td width="90%">
47 These functions get and set the internal POST_MAX parameter
48 which can be used to limit the size of <b>POST</b> method
49 requests which this library will handle. If set to a
50 non-negative integer, then POST requests will be limited to
51 the number of bytes given. The default is -1 (unlimited)
52 which can leave the server open to denial of service
53 attacks.</td></table>
54 <a name="AUTHOR"></a>
55 <h2>AUTHOR</h2>
56
57 <table width="100%" border=0 rules="none" frame="void"
58        cols="2" cellspacing="0" cellpadding="0">
59 <tr valign="top" align="left">
60 <td width="10%"></td><td width="90%">
61 Richard Jones &lt;rich@annexia.org&gt;</td></table>
62 <a name="LICENSE"></a>
63 <h2>LICENSE</h2>
64
65 <table width="100%" border=0 rules="none" frame="void"
66        cols="2" cellspacing="0" cellpadding="0">
67 <tr valign="top" align="left">
68 <td width="10%"></td><td width="90%">
69 GNU LGPL (see http://www.gnu.org/)</td></table>
70 <a name="VERSION"></a>
71 <h2>VERSION</h2>
72
73 <table width="100%" border=0 rules="none" frame="void"
74        cols="2" cellspacing="0" cellpadding="0">
75 <tr valign="top" align="left">
76 <td width="10%"></td><td width="90%">
77 pthrlib-3.0.3</td></table>
78 <a name="SEE ALSO"></a>
79 <h2>SEE ALSO</h2>
80
81 <table width="100%" border=0 rules="none" frame="void"
82        cols="2" cellspacing="0" cellpadding="0">
83 <tr valign="top" align="left">
84 <td width="10%"></td><td width="90%">
85 <b>new_cgi(3)</b>.</td></table>
86 <hr>
87 </body>
88 </html>