Preinit facility for proxy
[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>300</target-timeout>
19     <client-timeout>180</client-timeout>
20     <syntax type="usmarc"/>
21     <syntax type="xml" marcxml="1"/>
22     <syntax type="*" error="238"/>
23     <preinit>1</preinit>
24   </target>
25   <target name="localhost">
26     <url>localhost:9999</url>
27     <keepalive/> <!-- keepalive enabled -->
28     <limit><!-- limits .. -->
29       <bandwidth>50000</bandwidth>
30       <pdu>60</pdu>
31       <retrieve>10</retrieve>
32     </limit>
33     <target-timeout>300</target-timeout>
34     <client-timeout>180</client-timeout>
35     <attribute type="1" value="10,1023-9000" error="114"/>
36     <syntax type="usmarc"/>
37     <syntax type="grs1"/>
38     <syntax type="xml" marcxml="1"/>
39     <syntax type="*" error="238"/>
40     <preinit>2</preinit>
41   </target>
42   <target name="*">
43     <!-- everything else -->
44   </target>
45   <max-clients>500</max-clients>
46 </proxy>