Print

Print


This fixes a potentially bad bug if pipelining is in use: in the callback for `PUT`, we write out ALL data present in the socket, regardless if it belongs to the current HTTP request - or is the beginning of the next pipelined request!

Things were handled correctly before if there was no pipelining (or the client didn't send too much data or the extra data the client sent happened to be split over multiple TCP packets).

Fixes #916 

You can view, comment on, or merge this pull request online at:

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

-- Commit Summary --

  * Do not accept more data than specified in the HTTP request.

-- File Changes --

    M src/XrdHttp/XrdHttpReq.cc (8)

-- Patch Links --

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

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