Update yaz-proxy usage
authorAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Oct 2003 22:31:40 +0000 (22:31 +0000)
committerAdam Dickmeiss <adam@indexdata.dk>
Mon, 13 Oct 2003 22:31:40 +0000 (22:31 +0000)
doc/yaz-proxy-ref.xml

index c643b57..ba4aaa5 100644 (file)
  <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>
@@ -40,7 +42,7 @@
      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