Skip to content
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] Clear digest header between requests #1973

Merged
merged 2 commits into from
Mar 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ jobs:
# be given explicitly.
- name: Build with cmake
run: |
# workaround for issue #1772, should be removed when that's fixed
sudo sed -i -e "s/localhost/localhost $(hostname)/g" /etc/hosts
cd ..
cmake \
-DCMAKE_C_COMPILER=clang \
Expand Down
1 change: 1 addition & 0 deletions src/XrdHttp/XrdHttpReq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2977,6 +2977,7 @@ void XrdHttpReq::reset() {

// Reset the state of the request's digest request.
m_req_digest.clear();
m_digest_header.clear();
m_resource_with_digest = "";

headerok = false;
Expand Down