@@ -62,25 +62,20 @@ SYNOPSIS
62
62
63
63
.. enumerator :: MEMCACHED_BEHAVIOR_NO_BLOCK
64
64
65
- Causes `libmemcached ` to use asynchronous IO. This is the fastest
66
- transport available for storage functions.
65
+ This enables `SO_LINGER ` only, so the :manpage: `close(2)` call on the
66
+ socket returns immediately. I/O is always handled asynchronously in
67
+ recent versions of `libmemcached `.
67
68
68
69
.. enumerator :: MEMCACHED_BEHAVIOR_SND_TIMEOUT
69
70
70
71
This sets the microsecond behavior of the socket against the SO_SNDTIMEO
71
72
flag.
72
73
73
- In cases where you cannot use non-blocking IO this will allow you to
74
- still have timeouts on the sending of data.
75
-
76
74
.. enumerator :: MEMCACHED_BEHAVIOR_RCV_TIMEOUT
77
75
78
76
This sets the microsecond behavior of the socket against the SO_RCVTIMEO
79
77
flag.
80
78
81
- In cases where you cannot use non-blocking IO this will allow you to
82
- still have timeouts on the reading of data.
83
-
84
79
.. enumerator :: MEMCACHED_BEHAVIOR_TCP_NODELAY
85
80
86
81
Disables Nagle's algorithm.
@@ -176,8 +171,8 @@ SYNOPSIS
176
171
177
172
.. enumerator :: MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT
178
173
179
- In non-blocking mode this changes the value of the timeout during socket
180
- connection in milliseconds. Specifying -1 means an infinite time‐out.
174
+ Set the timeout during socket connection in milliseconds.
175
+ Specifying -1 means an infinite time‐out.
181
176
182
177
.. enumerator :: MEMCACHED_BEHAVIOR_BINARY_PROTOCOL
183
178
0 commit comments