Print

Print


If a HTTP verb (such as COPY) is encountered in an request, the
current code will try to parse subsequent headers as a HTTP status
line (mostly encountering garbage, but sometimes actually succeeding!).

We should instead note that a valid -- but unknown -- verb was encountered
and parse the remaining headers as headers.  This is useful because
external handlers might actually understand verbs (again, COPY) that the
built-in handlers do not.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Allow parsing of unknown HTTP verbs.

-- File Changes --

    M src/XrdHttp/XrdHttpProtocol.cc (7)
    M src/XrdHttp/XrdHttpReq.cc (8)
    M src/XrdHttp/XrdHttpReq.hh (1)

-- Patch Links --

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

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