This is really sort of ugly, but there is no better way without breaking the ABI and if one cannot return data in portions, I cannot return files larger then few MB. I use two non existing HTTP codes to do this (0 = StartResponse 1=SendData) . If you have a better idea, let me know.
You can view, comment on, or merge this pull request online at:
https://github.com/xrootd/xrootd/pull/893
Commit Summary
- XrdHttp: allow to use StartSimpleResp and SendData without breaking ABI - otherwise large files cannot be returned using the external handler
File Changes
Patch Links:
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"XrdHttp: allow to use StartSimpleResp and SendData without breaking ABI (#893)"}],"action":{"name":"View Pull Request","url":"https://github.com/xrootd/xrootd/pull/893"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/pull/893",
"url": "https://github.com/xrootd/xrootd/pull/893",
"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