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 /src/usage_text.h | |
| 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 'src/usage_text.h')
| -rw-r--r-- | src/usage_text.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/usage_text.h b/src/usage_text.h index d595c233..9a4b93c3 100644 --- a/src/usage_text.h +++ b/src/usage_text.h @@ -1040,3 +1040,9 @@ " public key when SFTP is used. If this option is\n" \ " not set, which is default, no validation takes\n" \ " place.") +#define TEXT_SOCKET_RECV_BUFFER_SIZE \ + _(" --socket-recv-buffer-size=SIZE\n" \ + " Set the maximum socket receive buffer in bytes.\n" \ + " Specifing 0 will disable this option. This value\n" \ + " will be set to socket file descriptor using\n" \ + " SO_RCVBUF socket option with setsockopt() call.") |
