diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/xs_getsockopt.txt | 9 | ||||
-rw-r--r-- | doc/xs_setsockopt.txt | 6 |
2 files changed, 7 insertions, 8 deletions
diff --git a/doc/xs_getsockopt.txt b/doc/xs_getsockopt.txt index e7ddb8e..5a09453 100644 --- a/doc/xs_getsockopt.txt +++ b/doc/xs_getsockopt.txt @@ -269,16 +269,15 @@ Applicable socket types:: all, only for connection-oriented transports XS_MAXMSGSIZE: Maximum acceptable inbound message size -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The option shall retrieve limit for the inbound messages. If a peer sends -a message larger than XS_MAXMSGSIZE it is disconnected. Value of -1 means -'no limit'. +a message larger than XS_MAXMSGSIZE it is disconnected. [horizontal] -Option value type:: int64_t +Option value type:: uint64_t Option value unit:: bytes -Default value:: -1 +Default value:: 2^64-1 Applicable socket types:: all diff --git a/doc/xs_setsockopt.txt b/doc/xs_setsockopt.txt index 7cb91d2..6263a26 100644 --- a/doc/xs_setsockopt.txt +++ b/doc/xs_setsockopt.txt @@ -280,12 +280,12 @@ XS_MAXMSGSIZE: Maximum acceptable inbound message size ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Limits the size of the inbound message. If a peer sends a message larger than -XS_MAXMSGSIZE it is disconnected. Value of -1 means 'no limit'. +XS_MAXMSGSIZE it is disconnected. [horizontal] -Option value type:: int64_t +Option value type:: uint64_t Option value unit:: bytes -Default value:: -1 +Default value:: 2^64-1 Applicable socket types:: all |