<cmdsynopsis>
<command>yaz-proxy</command>
<arg choice="opt">-a <replaceable>filename</replaceable></arg>
- <arg choice="opt">-c <replaceable>num</replaceable></arg>
+ <arg choice="opt">-m <replaceable>num</replaceable></arg>
<arg choice="opt">-v <replaceable>level</replaceable></arg>
<arg choice="opt">-t <replaceable>target</replaceable></arg>
<arg choice="opt">-u <replaceable>auth</replaceable></arg>
<arg choice="opt">-o <replaceable>level</replaceable></arg>
<arg choice="opt">-i <replaceable>seconds</replaceable></arg>
+ <arg choice="opt">-T <replaceable>seconds</replaceable></arg>
+ <arg choice="opt">-c <replaceable>config</replaceable></arg>
<arg choice="req"><replaceable>host</replaceable>:<replaceable>port</replaceable></arg>
</cmdsynopsis>
</refsynopsisdiv>
standard output.
</para></listitem>
</varlistentry>
- <varlistentry><term>-c <replaceable>num</replaceable></term>
+ <varlistentry><term>-m <replaceable>num</replaceable></term>
<listitem><para>
Specifies the maximum number of connections to be cached
[default 50].
</varlistentry>
<varlistentry><term>-i <replaceable>seconds</replaceable></term>
<listitem><para>
- Specifies in seconds the idle time for communication
- for proxy. If a connection is inactive for this long
+ Specifies in seconds the idle time for communication between
+ client and proxy. If a connection is inactive for this long
+ it will be closed. Default: 600 seconds (10 minutes).
+ </para></listitem>
+ </varlistentry>
+ <varlistentry><term>-T <replaceable>seconds</replaceable></term>
+ <listitem><para>
+ Specifies in seconds the idle time for communication between
+ proxy and backend target.
+ If a connection is inactive for this long
it willl be closed. Default: 600 seconds (10 minutes).
</para></listitem>
</varlistentry>
+ <varlistentry><term>-c <replaceable>config</replaceable></term>
+ <listitem><para>
+ Specifies config filename. Configuration is in XML
+ and is only supported if the YAZ proxy is compiled with
+ libxml2.
+ </para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>
- <refsect1>
+<refsect1>
<title>EXAMPLES</title>
<para>
The following command starts the proxy, listening on port