Browse code

config: tcp_async alias for tcp_buf_write

- tcp_buf_write was not the best choosen name, so tcp_async was added as an
alias for it

Andrei Pelinescu-Onciul authored on 26/02/2009 23:13:59
Showing 2 changed files
... ...
@@ -273,9 +273,10 @@ new config variables:
273 273
      will be cached inside the process calling tcp_send (performance increase
274 274
      for sending over tcp at the cost of slightly slower connection closing and
275 275
      extra FDs kept open)
276
-  tcp_buf_write = yes | no (default no) - if enabled all the tcp  writes that 
276
+  tcp_async = yes | no (default no) - if enabled all the tcp  writes that 
277 277
      would block / wait for connect to finish, will be queued and attempted
278 278
      latter (see also tcp_conn_wq_max and tcp_wq_max).
279
+  tcp_buf_write = synonim for tcp_async
279 280
   tcp_conn_wq_max = bytes (default 32 K) - maximum bytes queued for write 
280 281
      allowed per connection. Attempting to queue more bytes would result
281 282
      in an error and in the connection being closed (too slow). If 
... ...
@@ -301,7 +301,7 @@ TCP_MAX_CONNECTIONS	"tcp_max_connections"
301 301
 TCP_SOURCE_IPV4		"tcp_source_ipv4"
302 302
 TCP_SOURCE_IPV6		"tcp_source_ipv6"
303 303
 TCP_OPT_FD_CACHE	"tcp_fd_cache"
304
-TCP_OPT_BUF_WRITE	"tcp_buf_write"
304
+TCP_OPT_BUF_WRITE	"tcp_buf_write"|"tcp_async"
305 305
 TCP_OPT_CONN_WQ_MAX	"tcp_conn_wq_max"
306 306
 TCP_OPT_WQ_MAX		"tcp_wq_max"
307 307
 TCP_OPT_DEFER_ACCEPT "tcp_defer_accept"