HTTP provides a response to include a "trailer" in addition to the better-known "header". If a user sets the following headers in the request:
X-Transfer-Status: true
TE: trailers
Transfer-Encoding: chunked
Then the response will used chunked encoding and indicate, on the last returned chunk, whether an error has occurred.
Clients aware of these headers can now receive an error message from XRootD if there's an IO error in the middle of the response. This is expected to be useful in XCache use cases where failure mid-response is somewhat more common.
https://github.com/xrootd/xrootd/pull/1912
(5 files)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.
Use REPLY-ALL to reply to list
To unsubscribe from the XROOTD-DEV list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=XROOTD-DEV&A=1