From d6d396790754dc03bfbde4d957c31e2170151bfd Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 13 Mar 2012 16:00:57 +0100 Subject: Type of XS_MAXMSGSIZE changed to uint64_t Signed-off-by: Martin Sustrik --- doc/xs_getsockopt.txt | 9 ++++----- doc/xs_setsockopt.txt | 6 +++--- 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'doc') 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 -- cgit v1.2.3