Print

Print


  Branch: refs/heads/master
  Home:   https://github.com/xrootd/xrootd
  Commit: b32eb303bdeb330cbad7825b6dab55c0e5d709ef
      https://github.com/xrootd/xrootd/commit/b32eb303bdeb330cbad7825b6dab55c0e5d709ef
  Author: Andrew Melo <[log in to unmask]>
  Date:   2018-12-11 (Tue, 11 Dec 2018)

  Changed paths:
    M src/XrdHttp/XrdHttpReq.cc

  Log Message:
  -----------
  Return correct content-range header

According to the HTTP spec, the response from a "Range" request should have a
"content-range" header in the form of "range_begin-range_end/doc_length". But
xrootd currently returns the length of the range intead of the range of the whole
file. Pass in the length of the file and additionally change the printf string since the
file size is stored in a long long


  Commit: dba612b205653aa17ebf0722def02d4f1e81d7e5
      https://github.com/xrootd/xrootd/commit/dba612b205653aa17ebf0722def02d4f1e81d7e5
  Author: Fabrizio Furano <[log in to unmask]>
  Date:   2018-12-18 (Tue, 18 Dec 2018)

  Changed paths:
    M src/XrdHttp/XrdHttpReq.cc

  Log Message:
  -----------
  Merge pull request #876 from PerilousApricot/patch-1

Return correct content-range header


Compare: https://github.com/xrootd/xrootd/compare/e8a0dc7844bc...dba612b20565
      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.

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