Name

z3950_client — Metaproxy Z39.50 Backend Client Module

DESCRIPTION

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.

timeout

Specifies how long the client will wait for any request before giving up. Default value is 30 seconds.

default_target

Specifies the target (host) for the Z39.50 server to be used if the Init Request does not indicate otherwise.

force_target

Specifies the target (host) for the Z39.50 server to be used always (regardless of Init Request vhost).

force_close

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.

SCHEMA

# 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:timeout { xsd:integer }?,
  element mp:default_target { xsd:string }?,
  element mp:force_target { xsd:string }?,
  element mp:force_close { xsd:boolean }?


   

EXAMPLES

A typical configuration looks like this:

    <filter type="z3950_client">
     <timeout>30</timeout>
     <default_target>z3950.indexdata.dk</default_target>
    </filter>

   

SEE ALSO

metaproxy(1)

backend_test(3mp)

COPYRIGHT

Copyright (C) 2005-2011 Index Data