Print

Print


@smithdh - Matyas and I took a look at this over Slack yesterday.  Here's my best diagnosis:

The problem is the code that handles the start of the response, here:

https://github.com/xrootd/xrootd/blob/master/src/XrdHttp/XrdHttpReq.cc#L2217

The ReadV with a single chunk is a special case that appears to have been missed when adding support for chunked responses.  The start of the response should look like this:

https://github.com/xrootd/xrootd/blob/master/src/XrdHttp/XrdHttpReq.cc#L2195-L2199

That is, if chunking is enabled, the initial response should start with `StartChunkedResp`.

The bug @matyasselmeci is seeing is the body of the response is using chunked transfer encoding but the chunked transfer encoding header is not set.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/issues/2076#issuecomment-1691579583
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