X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=doc%2Freference.xml;h=4c36259de7676c42c41ac0f5c8054f3281848ab4;hb=10af4479ca947184854af2b9dbd02961d614030f;hp=bdbb9e36d6200dc8cf86e582fbeba4d412a8a4b6;hpb=029fd8c83fa3446b8a11b30017b731c75c3465e9;p=yazproxy-moved-to-github.git diff --git a/doc/reference.xml b/doc/reference.xml index bdbb9e3..4c36259 100644 --- a/doc/reference.xml +++ b/doc/reference.xml @@ -32,7 +32,7 @@ usual YAZ address format (typically tcp:hostname:port) as described in - the Addresses section of the YAZ manual. @@ -199,8 +199,8 @@ The config file is XML based. The YAZ proxy must be compiled - with libxml2 and - libXSLT support in + with libxml2 and + libXSLT support in order for the config file facility to be enabled. @@ -221,13 +221,13 @@ The proxy config file must have a root element called proxy and scoped within namespace - xmlns="http://indexdata.dk/yazproxy/schema/0.8/. + xmlns="http://indexdata.dk/yazproxy/schema/0.9/. All information except an optional XML header must be stored within the proxy element. <?xml version="1.0"?> - <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.8/"> + <proxy xmlns="http://indexdata.dk/yazproxy/schema/0.9/"> <!-- content here .. --> </proxy> @@ -537,8 +537,8 @@ See YAZ documentation for more information about the - CQL - to PQF conversion. See also the + CQL to PQF conversion. + See also the pqf.properties in the etc (or prefix/share/yazproxy) directory of the YAZ proxy distribution. @@ -638,8 +638,8 @@ - Using the - bash shell, you can set the limit with + Using the bash shell, you can set + the limit with ulimit -nno. Use ulimit -a to display limits. @@ -703,6 +703,13 @@ and the size of the APDU is logged. + + client-ip + + Log the client IP for each log entry. By default, the client IP + is only logged when a new session starts. + + @@ -724,7 +731,8 @@ The element max-connect is a child of element proxy and specifies the maximum number - of connections to be initiated within the last minute. + of connections to be initiated within the last minute (or + value of period-connect. If the maximum number is reached the proxy will terminate the @@ -737,11 +745,26 @@ 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. + of connections to be initiated within the last minute (or + value of period-connect. + + + If the maximum number is reached the proxy delays the first operation + in the session by one second. + + + +
+ period-connect + + The element period-connect is a child of element + proxy and specifies period - in the number of seconds + that limit-connect and + max-connect + should measure connections. - If the maximum number is reached the proxy delay the first operatation - in the session (Thus delaying the connection). + If period-connect is omitted, 60 seconds is used.
@@ -817,7 +840,7 @@