Log request number. More configurable keepalive with pdu/bw limits.
[yazpp-moved-to-github.git] / src / config.xml
1 <?xml version="1.0"?>
2 <!-- $Id -->
3 <proxy>
4   <target default="1" name="voyager">
5     <!-- default target -->
6     <url>z3950.loc.gov:7090/voyager</url>
7     <url>z3950.loc.gov:7094/voyager</url>
8     <keepalive>
9       <bandwidth>500000</bandwidth>
10       <pdu>500</pdu>
11     </keepalive>
12     <limit><!-- limits .. -->
13       <bandwidth>200000</bandwidth>
14       <pdu>31</pdu>
15       <retrieve>20</retrieve>
16     </limit>
17     <attribute type="1" value="10" error="114"/>
18     <target-timeout>180</target-timeout>
19     <client-timeout>120</client-timeout>
20     <syntax type="usmarc"/>
21     <syntax type="*" error="238"/>
22   </target>
23   <target name="localhost">
24     <url>localhost:9999</url>
25     <url>localhost:9998</url>
26     <keepalive/> <!-- keepalive enabled -->
27     <limit><!-- limits .. -->
28       <bandwidth>50000</bandwidth>
29       <pdu>11</pdu>
30       <retrieve>10</retrieve>
31     </limit>
32     <attribute type="1" value="10,1023-9000" error="114"/>
33     <syntax type="usmarc"/>
34     <syntax type="grs1"/>
35     <syntax type="xml"/>
36     <syntax type="*" error="238"/>
37   </target>
38   <target name="*">
39     <!-- everything else -->
40   </target>
41   <max-clients>500</max-clients>
42 </proxy>