projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
|
inline
| side by side (from parent 1:
35fca72
)
docs: adjust non-blocking to reality
author
Michael Wallner
<mike@php.net>
Wed, 12 May 2021 08:20:22 +0000
(10:20 +0200)
committer
Michael Wallner
<mike@php.net>
Wed, 12 May 2021 08:20:22 +0000
(10:20 +0200)
docs/source/libmemcached/memcached_behavior.rst
patch
|
blob
|
history
diff --git
a/docs/source/libmemcached/memcached_behavior.rst
b/docs/source/libmemcached/memcached_behavior.rst
index 6c1fa538458526e0c37e71286f83a1f3087b535a..99f3268cc1e5d08916b12400553614e73c9d0423 100644
(file)
--- a/
docs/source/libmemcached/memcached_behavior.rst
+++ b/
docs/source/libmemcached/memcached_behavior.rst
@@
-62,25
+62,20
@@
SYNOPSIS
.. enumerator:: MEMCACHED_BEHAVIOR_NO_BLOCK
.. enumerator:: MEMCACHED_BEHAVIOR_NO_BLOCK
- Causes `libmemcached` to use asynchronous IO. This is the fastest
- transport available for storage functions.
+ This enables `SO_LINGER` only, so the :manpage:`close(2)` call on the
+ socket returns immediately. I/O is always handled asynchronously in
+ recent versions of `libmemcached`.
.. enumerator:: MEMCACHED_BEHAVIOR_SND_TIMEOUT
This sets the microsecond behavior of the socket against the SO_SNDTIMEO
flag.
.. enumerator:: MEMCACHED_BEHAVIOR_SND_TIMEOUT
This sets the microsecond behavior of the socket against the SO_SNDTIMEO
flag.
- In cases where you cannot use non-blocking IO this will allow you to
- still have timeouts on the sending of data.
-
.. enumerator:: MEMCACHED_BEHAVIOR_RCV_TIMEOUT
This sets the microsecond behavior of the socket against the SO_RCVTIMEO
flag.
.. enumerator:: MEMCACHED_BEHAVIOR_RCV_TIMEOUT
This sets the microsecond behavior of the socket against the SO_RCVTIMEO
flag.
- In cases where you cannot use non-blocking IO this will allow you to
- still have timeouts on the reading of data.
-
.. enumerator:: MEMCACHED_BEHAVIOR_TCP_NODELAY
Disables Nagle's algorithm.
.. enumerator:: MEMCACHED_BEHAVIOR_TCP_NODELAY
Disables Nagle's algorithm.
@@
-176,8
+171,8
@@
SYNOPSIS
.. enumerator:: MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT
.. enumerator:: MEMCACHED_BEHAVIOR_CONNECT_TIMEOUT
- In non-blocking mode this changes the value of the timeout during socket
-
connection in milliseconds.
Specifying -1 means an infinite time‐out.
+ Set the timeout during socket connection in milliseconds.
+ Specifying -1 means an infinite time‐out.
.. enumerator:: MEMCACHED_BEHAVIOR_BINARY_PROTOCOL
.. enumerator:: MEMCACHED_BEHAVIOR_BINARY_PROTOCOL