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, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/xrootd/xrootd","title":"xrootd/xrootd","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/xrootd/xrootd"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"XrdHttp accepts message content exceeding specified Content-Length (#916)"}],"action":{"name":"View Issue","url":"https://github.com/xrootd/xrootd/issues/916"}}} [ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/xrootd/xrootd/issues/916", "url": "https://github.com/xrootd/xrootd/issues/916", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]

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