YAZ++ User's Guide and Reference
Prev | Chapter 3. The YAZ Proxy | Next

# Specifying the Backend Target

When the proxy accepts a Z39.50 client session, it determines the backend target by the following rules:

1. If the `InitializeRequest` PDU from the client includes an `otherInfo` element with OID `1.2.840.10003.10.1000.81.1`, then the contents of that element specify the target to be used, in the usual YAZ address format (typically `tcp:`hostname`:`port``) as described in the Addresses section of the YAZ manual.

2. Otherwise, the Proxy uses the default target, if one was specified on the command-line with the `-t` option.

3. Otherwise, the proxy closes the connection with the client.

Prev | Home | Next
The YAZ Proxy | Up | Keep-alive Facility for Stateless Clients