Print

Print


This fixes two problems in the XrdHttp request state:

1.  The callback counter was incorrectly incremented when partial headers were received, meaning the state machine was invalid.
2.  The return code for `strcasecmp` was incorrectly checked, making the code often assume `sha1` was requested.
You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Do not increment reqstate when headers are incomplete.
  * Apply correct test for strcasecmp return value.

-- File Changes --

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

-- Patch Links --

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

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