mirror of https://github.com/sipwise/kamailio.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
300 lines
6.6 KiB
300 lines
6.6 KiB
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!-- this file is autogenerated, do not edit! -->
|
|
<!DOCTYPE section PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
<chapter id="config_vars.tcp">
|
|
<title> Configuration Variables for tcp</title>
|
|
|
|
|
|
<section id="tcp.connect_timeout">
|
|
<title>tcp.connect_timeout</title>
|
|
<para>
|
|
used only in non-async mode, in seconds.
|
|
</para>
|
|
<para>Range: -1 - 134217727.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.send_timeout">
|
|
<title>tcp.send_timeout</title>
|
|
<para>
|
|
in seconds.
|
|
</para>
|
|
<para>Range: -1 - 2147483647.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.connection_lifetime">
|
|
<title>tcp.connection_lifetime</title>
|
|
<para>
|
|
connection lifetime (in seconds).
|
|
</para>
|
|
<para>Range: -1 - 2147483647.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.max_connections">
|
|
<title>tcp.max_connections</title>
|
|
<para>
|
|
maximum connection number, soft limit.
|
|
</para>
|
|
<para>Range: 0 - 2147483647.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.no_connect">
|
|
<title>tcp.no_connect</title>
|
|
<para>
|
|
if set only accept new connections, never actively open new
|
|
ones.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.fd_cache">
|
|
<title>tcp.fd_cache</title>
|
|
<para>
|
|
file descriptor cache for tcp_send.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
Read-only.
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.async">
|
|
<title>tcp.async</title>
|
|
<para>
|
|
async mode for writes and connects.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
Read-only.
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.connect_wait">
|
|
<title>tcp.connect_wait</title>
|
|
<para>
|
|
parallel simultaneous connects to the same dst. (0) or one
|
|
connect.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
Read-only.
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.conn_wq_max">
|
|
<title>tcp.conn_wq_max</title>
|
|
<para>
|
|
maximum bytes queued for write per connection (depends on
|
|
async).
|
|
</para>
|
|
<para>Range: 0 - 1048576.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.wq_max">
|
|
<title>tcp.wq_max</title>
|
|
<para>
|
|
maximum bytes queued for write allowed globally (depends on
|
|
async).
|
|
</para>
|
|
<para>Range: 0 - 1073741824.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.defer_accept">
|
|
<title>tcp.defer_accept</title>
|
|
<para>
|
|
0/1 on linux, seconds on freebsd (see docs).
|
|
</para>
|
|
<para>Range: 0 - 3600.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
Read-only.
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.delayed_ack">
|
|
<title>tcp.delayed_ack</title>
|
|
<para>
|
|
initial ack will be delayed and sent with the first data
|
|
segment.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.syncnt">
|
|
<title>tcp.syncnt</title>
|
|
<para>
|
|
number of syn retransmissions before aborting a connect (0=not
|
|
set).
|
|
</para>
|
|
<para>Range: 0 - 1024.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.linger2">
|
|
<title>tcp.linger2</title>
|
|
<para>
|
|
lifetime of orphaned sockets in FIN_WAIT2 state in s (0=not
|
|
set).
|
|
</para>
|
|
<para>Range: 0 - 3600.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.keepalive">
|
|
<title>tcp.keepalive</title>
|
|
<para>
|
|
enables/disables keepalives for tcp.
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.keepidle">
|
|
<title>tcp.keepidle</title>
|
|
<para>
|
|
time before sending a keepalive if the connection is idle
|
|
(linux).
|
|
</para>
|
|
<para>Range: 0 - 86400.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.keepintvl">
|
|
<title>tcp.keepintvl</title>
|
|
<para>
|
|
time interval between keepalive probes on failure (linux).
|
|
</para>
|
|
<para>Range: 0 - 86400.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.keepcnt">
|
|
<title>tcp.keepcnt</title>
|
|
<para>
|
|
number of failed keepalives before dropping the connection
|
|
(linux).
|
|
</para>
|
|
<para>Range: 0 - 1024.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.crlf_ping">
|
|
<title>tcp.crlf_ping</title>
|
|
<para>
|
|
enable responding to CRLF SIP-level keepalives .
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.accept_aliases">
|
|
<title>tcp.accept_aliases</title>
|
|
<para>
|
|
turn on/off tcp aliases (see tcp_accept_aliases) .
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.alias_flags">
|
|
<title>tcp.alias_flags</title>
|
|
<para>
|
|
flags used for adding new aliases (FORCE_ADD:1 , REPLACE:2) .
|
|
</para>
|
|
<para>Range: 0 - 2.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.new_conn_alias_flags">
|
|
<title>tcp.new_conn_alias_flags</title>
|
|
<para>
|
|
flags for the def. aliases for a new conn. (FORCE_ADD:1,
|
|
REPLACE:2 .
|
|
</para>
|
|
<para>Range: 0 - 2.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.accept_no_cl">
|
|
<title>tcp.accept_no_cl</title>
|
|
<para>
|
|
accept TCP messges without Content-Lenght .
|
|
</para>
|
|
<para>Range: 0 - 1.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.rd_buf_size">
|
|
<title>tcp.rd_buf_size</title>
|
|
<para>
|
|
internal read buffer size (should be > max. expected
|
|
datagram).
|
|
</para>
|
|
<para>Range: 512 - 65536.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
<section id="tcp.wq_blk_size">
|
|
<title>tcp.wq_blk_size</title>
|
|
<para>
|
|
internal async write block size (debugging use only for now).
|
|
</para>
|
|
<para>Range: 1 - 65535.</para>
|
|
<para>Type: integer.</para>
|
|
<para>
|
|
</para>
|
|
</section>
|
|
|
|
</chapter>
|