Testing 4.9.1-rc2, @matyasselmeci noted that HTTP output prepends a \r\n
to the expected contents.
@bbockelm was able to isolate the issue and suggested the patch in this PR.
This would be helpful to have in RC3. @simonmichal
Example:
xrootd-4.9.1-0.1.rc1.osg34.el7.x86_64
$ curl -s -k -E /tmp/cert.pem 'https://xrootd.example.edu:1094/hello_world.txt' | hexdump -C
00000000 68 65 6c 6c 6f 20 77 6f 72 6c 64 21 0a |hello world!.|
0000000d
xrootd-4.9.1-0.2.rc2.osg34.el7.x86_64
$ curl -s -k -E /tmp/cert.pem 'https://xrootd.example.edu:1094/hello_world.txt' | hexdump -C
00000000 0d 0a 68 65 6c 6c 6f 20 77 6f 72 6c 64 |..hello world|
0000000d
You can view, comment on, or merge this pull request online at:
https://github.com/xrootd/xrootd/pull/949
Commit Summary
- [XrdHttp] Don't add blank header if m_digest_header is empty
File Changes
Patch Links:
—
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] Don't add blank header if m_digest_header is empty (#949)"}],"action":{"name":"View Pull Request","url":"https://github.com/xrootd/xrootd/pull/949"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/xrootd/xrootd/pull/949",
"url": "https://github.com/xrootd/xrootd/pull/949",
"name": "View Pull Request"
},
"description": "View this Pull Request 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