X-Git-Url: http://git.indexdata.com/?p=yazproxy-moved-to-github.git;a=blobdiff_plain;f=doc%2Freference.xml;h=28cd49f25774f1fdd52fa969c3bc65336cee3566;hp=3e52ecbe14dde799d9fdd420a55f0459ce885ec8;hb=84434e0d19b1ecd73ff09853f7cb3d96f343c237;hpb=2a8f2300e9ccd7ad65268bcead3fb1a092b2915c diff --git a/doc/reference.xml b/doc/reference.xml index 3e52ecb..28cd49f 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -247,7 +247,7 @@ <?xml version="1.0"?> - <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"> + <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"> <target name="server1" default="1"> <!-- description of server1 .. --> </target> @@ -335,14 +335,17 @@ The proxy records bandwidth/pdu requests during the last 60 seconds (1 minute). The limit may include the elements bandwidth, pdu, - and retrieve. The bandwidth + retrieve and search. + The bandwidth measures the number of bytes transferred within the last minute. The pdu is the number of requests in the last minute. The retrieve holds the maximum records to - be retrieved in one Present Request. + which may be retrieved in one Present Request. + The search is the maximum number of searches + within the last minute. - If a bandwidth/pdu limit is reached the proxy will postpone the + If a bandwidth/pdu/search limit is reached the proxy will postpone the requests to the target and wait one or more seconds. The idea of the limit is to ensure that clients that downloads hundreds or thousands of records do not hurt other users. @@ -696,6 +699,58 @@ + +
+ max-connect + + The element max-connect is a child of element + proxy and specifies the maximum number + of connections to be initiated within the last minute. + + + If the maximum number is reached the proxy will terminate the + just initiated session (connection terminated). + +
+ +
+ limit-connect + + The element max-connect is a child of element + proxy and specifies the limit of number + of connections to be initiated within the last minute. + + + If the maximum number is reached the proxy delay the first operatation + in the session (Thus delaying the connection). + +
+ +
+ docpath + + The element docpath is a child of element + proxy and specifies an allowed HTTP path + for local file access. Using docpath the + proxy may return static file content. + + + The value of docpath both serves as a HTTP path prefix + and as a local file prefix. + If a value of etc is used only URLs with the + prefix /etc/ results in a local file access to the + directory etc within the working directory + of yazproxy. + + + + Care has been taken to ensure that hostile URLs are rejected - including + strings such as .. and / (absolute + file system access). + + +
+
Proxy Manual Pages @@ -743,7 +798,7 @@