summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-13 16:00:57 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-13 16:00:57 +0100
commitd6d396790754dc03bfbde4d957c31e2170151bfd (patch)
tree3919784bf39b2e4c6bfc90960386fda3e5d79483 /doc
parentb871611cc36eaaf740a5c8f476cf53fe40299eb3 (diff)
Type of XS_MAXMSGSIZE changed to uint64_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/xs_getsockopt.txt9
-rw-r--r--doc/xs_setsockopt.txt6
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