Print

Print


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

    M src/XrdHttp/XrdHttpExtHandler.cc (15)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/893.patch
https://github.com/xrootd/xrootd/pull/893.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/xrootd/xrootd/pull/893

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