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, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <xrootd/xrootd/issues/2076/1691579583@github.com>

[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/2076#issuecomment-1691579583", "url": "https://github.com/xrootd/xrootd/issues/2076#issuecomment-1691579583", "name": "View Issue" }, "description": "View this Issue 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