Merge Thomason's cork patch.
[awesomized/libmemcached] / docs / memcached_behavior.pod
index f59150f1751f5ef7265614a65eafc9a6a44f6a3e..2e0240afbe4c0c88a9463e22267739dc79f3543e 100644 (file)
@@ -218,6 +218,28 @@ on the starting point of the replica reads is randomized between the servers.
 This allows distributing read load to multiple servers with the expense of 
 more write traffic.
 
 This allows distributing read load to multiple servers with the expense of 
 more write traffic.
 
+=item MEMCACHED_BEHAVIOR_CORK
+
+Enable TCP_CORK behavior. This is only available as an option Linux.
+MEMCACHED_NO_SERVERS is returned if no servers are available to test with.
+MEMCACHED_NOT_SUPPORTED is returned if we were not able to determine
+if support was available. All other responses then MEMCACHED_SUCCESS
+report an error of some sort. This behavior also enables 
+MEMCACHED_BEHAVIOR_TCP_NODELAY when set.
+
+
+=item MEMCACHED_BEHAVIOR_SOCKET_SEND_SIZE
+
+Find the current size of SO_SNDBUF. A value of 0 means either an error
+occured or no hosts were available. It is safe to assume system default
+if this occurs.
+
+=item MEMCACHED_BEHAVIOR_SOCKET_RECV_SIZE
+
+Find the current size of SO_RCVBUF. A value of 0 means either an error
+occured or no hosts were available. It is safe to assume system default
+if this occurs.
+
 =back
 
 =head1 RETURN
 =back
 
 =head1 RETURN