diff --git a/ChangeLog b/ChangeLog index b7d33f79..f8ac54b0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-05-27 Tatsuhiro Tsujikawa + + Documented --xml-rpc-max-request-size option in man page. + * doc/aria2c.1.txt + 2009-05-27 Tatsuhiro Tsujikawa Moved C_* constants from BtContext to DefaultBtContext. diff --git a/doc/aria2c.1 b/doc/aria2c.1 index 6892623e..833eeac0 100644 --- a/doc/aria2c.1 +++ b/doc/aria2c.1 @@ -2,12 +2,12 @@ .\" Title: aria2c .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.75.0 -.\" Date: 05/26/2009 +.\" Date: 05/27/2009 .\" Manual: [FIXME: manual] .\" Source: [FIXME: source] .\" Language: English .\" -.TH "ARIA2C" "1" "05/26/2009" "[FIXME: source]" "[FIXME: manual]" +.TH "ARIA2C" "1" "05/27/2009" "[FIXME: source]" "[FIXME: manual]" .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- @@ -794,6 +794,12 @@ Default: \fI6800\fR .RE .PP +\fB\-\-xml\-rpc\-max\-request\-size\fR=SIZE +.RS 4 +Set max size of XML\-RPC request\&. If aria2 detected the request is more than SIZE bytes, it drops connection\&. Default: +\fI2M\fR +.RE +.PP \fB\-\-xml\-rpc\-passwd\fR=PASSWD .RS 4 Set XML\-RPC password\&. diff --git a/doc/aria2c.1.html b/doc/aria2c.1.html index eff559e0..b98770b9 100644 --- a/doc/aria2c.1.html +++ b/doc/aria2c.1.html @@ -1404,6 +1404,15 @@ writes the piece to the appropriate files.

+--xml-rpc-max-request-size=SIZE +
+
+

+ Set max size of XML-RPC request. If aria2 detected the request is + more than SIZE bytes, it drops connection. Default: 2M +

+
+
--xml-rpc-passwd=PASSWD
@@ -3129,7 +3138,7 @@ files in the program, then also delete it here.

diff --git a/doc/aria2c.1.txt b/doc/aria2c.1.txt index db9a7c40..882197a1 100644 --- a/doc/aria2c.1.txt +++ b/doc/aria2c.1.txt @@ -535,6 +535,11 @@ XML-RPC Options Specify a port number for XML-RPC server to listen to. Possible Values: '1024'-'65535' Default: '6800' +*--xml-rpc-max-request-size*=SIZE:: + + Set max size of XML-RPC request. If aria2 detected the request is + more than SIZE bytes, it drops connection. Default: '2M' + *--xml-rpc-passwd*=PASSWD:: Set XML-RPC password.