dCache / xrootd4j

Implementation of the xrootd data access protocol in Java
Other
3 stars 8 forks source link

xrootd4j: add a WaitReplyResponse #128

Closed alrossi closed 2 years ago

alrossi commented 2 years ago
Motivation:

The xrootd protocol supports two types of wait instructions
from server to client: kXR_wait, and kXR_waitresp.  The first
tells the client to wait and retry the request; the second
says wait for further instructions, or timeout if you don't
receive them.

The latter is supported by a specific response class, but
the former is not, although the corresponding
client inbound message does exist.

Modification:

Add the class.

Result:

It is easier now for the server to tell the client to
wait and retry on its own.  This also helps to
fix a bug in the door code.

Target: master
Patch: https://rb.dcache.org/r/13518/
Request: 4.2
Request: 4.1
Request: 4.0
Acked-by: Paul