Print

Print


> While doing further testing I managed to find how to have a 500 error while asking for an checksum that exists but that was not configured on the xrootd server.
> 
> The error happens only if the config file of the server contains two or more checksums: `xrootd.chksum adler32 md5`
> 
> Now if I ask for a checksum that does not exist, the server will return a 500 error:
> 
> ```
> [xrootddev@xrootd-ccaffy-dev01 http_server_certificate_tests]$ curl -I -H "Want-Digest: does_not_exist"  -L https://xrootd-ccaffy-dev01.cern.ch:1096/tmp/bigfile_5M_copy
> HTTP/1.1 500 Internal Server Error
> Connection: Close
> Server: XrootD/v20220509-f2bdd84
> Content-Length: 0
> ```
> 
> Investigating that bug too... ;)

And the documentation says :

>  If more than one algorithm has been specified, a cgi scan is made for cks.type and, if specified, its argument must match one of the specified algorithms in the configuration file or an error results.

Hence the 500 error...

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/1707#issuecomment-1377567753
You are receiving this because you are subscribed to this thread.

Message ID: <[log in to unmask]>

########################################################################
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