-
Notifications
You must be signed in to change notification settings - Fork 149
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[XrdHttp] Add back parsing of Transfer-Encoding header #2059
Conversation
Thanks for the patch! As already mentioned in the linked issue, I can confirm that this fixes the EGI probe (and other use cases using |
@olifre The issue we encountered before is as follows. In Golang, we can set headers in HTTP GET requests through:
However, the XRootD server is only able to capture the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All good for me.
Thanks for the details! I did not find the actual bug in
So this is not a general bug in In any case, since So the TL;DR would be: For sure the fix in this issue should go in, but maybe the workaround which is still in can also be removed once the problematic client is fixed ;-). |
@olifre I concur with your recommendations. I will initiate a dialogue with the developers on the osdf-client side to address the issue. Once we have implemented the necessary changes, I will then proceed to establish an additional PR here. Thank you for your invaluable input. |
@CohenQU Thanks a lot to you, too! Since this will also make |
@CohenQU I think the commit message could be improved, but the patch itself looks good to go. I'd use |
@amadio The commit message is updated. |
Only the title of the pull request has been updated, the commit message remains the same. |
This commit reintroduces a header parser for Transfer-Encoding: chunked to maintain compatibility with the EGI Nagios probe. This issue was first mentioned in xrootd#2058. Fixes: d96b2b7, xrootd#2009
@amadio Sorry, the update on my local branch didn't seem to deploy well, but it should be updated now. |
Thank you! I am merging, but please note that the issue will only close when I merge the |
This commit reintroduces a header parser for
Transfer-Encoding: chunked
to maintain compatibility with the EGI Nagios probe. This issue was first mentioned in #2058.Fixes: d96b2b70487e159b47c24925abcfa00f975ec3d6, #2009