Browse code

http_client: docs for query_maxdatasize parameter

Daniel-Constantin Mierla authored on 13/08/2019 07:25:15
Showing 1 changed files
... ...
@@ -462,6 +462,24 @@ modparam("http_client", "query_result", 0)
462 462
 				</programlisting>
463 463
 			</example>
464 464
 		</section>
465
+		<section id="http_client.p.query_maxdatasize">
466
+			<title><varname>query_maxdatasize</varname> (int)</title>
467
+			<para>
468
+			Control the size in bytes of the data to be returned by the
469
+			http_client_query(...) in the result variable.
470
+			</para>
471
+			<para>
472
+			Default value: 0 (disabled, unlimited size).
473
+			</para>
474
+			<example>
475
+			<title>Set <varname>query_maxdatasize</varname> parameter</title>
476
+				<programlisting format="linespecific">
477
+...
478
+modparam("http_client", "query_maxdatasize", 2048)
479
+...
480
+				</programlisting>
481
+			</example>
482
+		</section>
465 483
 		<section id="http_client.p.httpcon">
466 484
 			<title><varname>httpcon</varname> (string)</title>
467 485
 			<para>