Can't the Ext code just use these to send large blocks?

StartChunkedResp(int code, const char *desc, const char *header_to_add);
ChunkResp(const char *body, long long bodylen);

No, because chunked responses don't define the final filesize and many clients (like the CERNBOX client) don't accept that. This is used for RESTAPI implementations where the response size is not known upfront. Also they involve parsing of the response on client side.


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":"PERSON","message":"@apeters1971 in #893: \u003e Can't the Ext code just use these to send large blocks?\r\n\u003e \r\n\u003e StartChunkedResp(int code, const char *desc, const char *header_to_add);\r\n\u003e ChunkResp(const char *body, long long bodylen);\r\n\r\nNo, because chunked responses don't define the final filesize and many clients (like the CERNBOX client) don't accept that. This is used for RESTAPI implementations where the response size is not known upfront. Also they involve parsing of the response on client side.\r\n"}],"action":{"name":"View Pull Request","url":"https://github.com/xrootd/xrootd/pull/893#issuecomment-453079599"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/pull/893#issuecomment-453079599", "url": "https://github.com/xrootd/xrootd/pull/893#issuecomment-453079599", "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