z3950_client — Metaproxy Z39.50 Backend Client Module
This backend filter is a Z39.50 client. This modules proxies all Z39.50 packages to a target. HTTP packages are ignored. The address of the backend target (host) can be given as part of the Initialize Request (Virtual host) or the default target may be specified in the configuration.
Specifies how long the client will wait for TCP connect to complete before giving up. Default value is 30 seconds.
Specifies how long the client will wait for Z39.50 Init response before giving up. Default value is 10 seconds.
Specifies how long the client will wait for any request other than Init before giving up. Default value is 30 seconds.
Specifies the target (host) for the Z39.50 server to be used if the Init Request does not indicate otherwise.
Specifies the target (host) for the Z39.50 server to be used always (regardless of Init Request vhost).
Is a boolean value (false, true). If true, the Z39.50 client will terminate Z39.50 sessions with a close APDU followed by a socket close. If false (default), the Z39.50 client will be transparent and only send a close if the peer client does it too.
Is a boolean value (false, true). If true, the Z39.50 client will as part of the Init Request include Client-IP information (the Z39.50 equivalent of HTTP X-Forwarded-To information). By default this is false (not included).
If set, holds Z39.50 negotiation charset (encoding) that is sent via the Initialize Request. If Initalize Request already contains negotaition information it will be left un-modified.
Is a boolean value (false, true). If true, the out going TCP connection will be bound to the same as listening IP.
# Metaproxy XML config file schema
namespace mp = "http://indexdata.com/metaproxy"
filter_z3950_client =
attribute type { "z3950_client" },
attribute id { xsd:NCName }?,
attribute name { xsd:NCName }?,
element mp:connect-timeout { xsd:integer }?,
element mp:init-timeout { xsd:integer }?,
element mp:timeout { xsd:integer }?,
element mp:default_target { xsd:string }?,
element mp:force_target { xsd:string }?,
element mp:force_close { xsd:boolean }?,
element mp:client_ip { xsd:boolean }?,
element mp:charset { xsd:string }?,
element mp:bind_host { xsd:boolean }?