diff options
| author | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-11-28 14:01:24 +0900 |
|---|---|---|
| committer | Tatsuhiro Tsujikawa <tatsuhiro.t@gmail.com> | 2015-11-28 14:12:23 +0900 |
| commit | e8a9a366db7bf834a3e93c6ec05336e5aca882c4 (patch) | |
| tree | 01a422d15502dac3a117a80df17781b482773015 /doc/manual-src/en/aria2c.rst | |
| parent | 699f04d0b8a93dd92a85f68cd8c307b5f3fb4741 (diff) | |
Add --socket-recv-buffer-size option
Set the maximum socket receive buffer in bytes. Specifing 0 will
disable this option. This value will be set to socket file descriptor
using SO_RCVBUF socket option with setsockopt() call.
See GH-487 about the usecase of this option
Diffstat (limited to 'doc/manual-src/en/aria2c.rst')
| -rw-r--r-- | doc/manual-src/en/aria2c.rst | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst index 8a2657a3..d42ecdac 100644 --- a/doc/manual-src/en/aria2c.rst +++ b/doc/manual-src/en/aria2c.rst @@ -1562,6 +1562,14 @@ Advanced Options :option:`--save-session` option every SEC seconds. If ``0`` is given, file will be saved only when aria2 exits. Default: ``0`` + +.. option:: --socket-recv-buffer-size=<SIZE> + + Set the maximum socket receive buffer in bytes. Specifing ``0`` + will disable this option. This value will be set to socket file + descriptor using ``SO_RCVBUF`` socket option with ``setsockopt()`` + call. Default: ``0`` + .. option:: --stop=<SEC> Stop application after SEC seconds has passed. |
