Print

Print


Hi @bbockelm ,

Thanks for the tips :) I managed to have the trailer working indeed. If I add your snippet of code, I indeed get the trailer:

X-Transfer-Status: 500: Unable to read /tmp/bigfile_5M_copy; input/output error

Is it normal that I get a 200 OK response though ?

> GET /tmp/bigfile_5M_copy HTTP/1.1
> User-Agent: curl/7.29.0
> Host: xrootd-ccaffy-dev01.cern.ch:1096
> Accept: */*
> X-Transfer-Status: true
> TE: trailers
> Transfer-Encoding: chunked
> 
< HTTP/1.1 200 OK
< Connection: Keep-Alive
< Server: XrootD/v5.2.0-99-osghotfix...687
< Content-Length: 5000000
< Transfer-Encoding: chunked
< 
{ [data not shown]
 20 4882k   20 1024k    0     0  6266k      0 --:--:-- --:--:-- --:--:-- 6282k
[FILE CONTENT]

X-Transfer-Status: 500: Unable to read /tmp/bigfile_5M_copy; input/output error


* Connection #0 to host xrootd-ccaffy-dev01.cern.ch left intact


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/pull/1912/c1439724767@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/1912#issuecomment-1439724767", "url": "https://github.com/xrootd/xrootd/pull/1912#issuecomment-1439724767", "name": "View Pull Request" }, "description": "View this Pull Request on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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