Print

Print


Consider the following conversation:
```
    => PUT /somewhere/test_webdav_access_16 HTTP/1.1
    => Host: xrootd006.example.com:1094
    => User-Agent: PycURL/7.43.0 libcurl/7.64.0 OpenSSL/1.0.2q zlib/1.2.11 c-ares/1.13.0 libidn2/2.0.4 libssh2/1.8.0 nghttp2/1.33.0 librtmp/2.3
    => Accept: */*
    => Content-Length: 17
    => Expect: 100-continue
    => 
    <= HTTP/1.1 100 Unknown
    <= Connection: Keep-Alive
    <= Content-Length: 0
    => This is a test file generated by the nagios probe check-webdav from package nagios-plugins-webdav. It is safe to delete.
    <= HTTP/1.1 200 OK
    <= Connection: Keep-Alive
    <= Content-Length: 3
    <= 
    <= :-)
```
The file which XRootD creates on the storage has the full content, even though it exceeds the `Content-Length` specified by the client. That's probably since XRootD receives the content in a buffer, and the minimum buffer size exceeds the message contents. 

This test was done with XRootD 4.9.0. 

-- 
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/issues/916

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