Print

Print


The chunked transfer encoding allows the response to be broken up into multiple send calls (potentially spread over a large period of time).

This is useful whenever one does not know the complete size of the response at the outset -- or if the response is generated over a period of time.

An example use case of this is an external handler that implements the WebDAV COPY verb: one might want to provide continuous feedback (say, every 30 seconds) as the third-party copy progress so the client doesn't timeout and give up.
You can view, comment on, or merge this pull request online at:

  https://github.com/xrootd/xrootd/pull/636

-- Commit Summary --

  * First draft of the HTTP chunked encoding support.
  * Merge remote-tracking branch 'origin/master' into http_chunked_response
  * Verify we only set content length if present.
  * Bugfixes for chunked encoding.
  * Allow external handlers to use chunked encoding.

-- File Changes --

    M src/XrdHttp/XrdHttpExtHandler.cc (14)
    M src/XrdHttp/XrdHttpExtHandler.hh (8)
    M src/XrdHttp/XrdHttpProtocol.cc (121)
    M src/XrdHttp/XrdHttpProtocol.hh (23)

-- Patch Links --

https://github.com/xrootd/xrootd/pull/636.patch
https://github.com/xrootd/xrootd/pull/636.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/636

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