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

[HTTP] Provide error messages when checksum calculations fail. #892

Merged
merged 2 commits into from
Jan 10, 2019
Merged
Changes from 1 commit
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: 1 addition & 1 deletion src/XrdHttp/XrdHttpReq.cc
Original file line number Diff line number Diff line change
Expand Up @@ -971,7 +971,7 @@ int XrdHttpReq::ProcessHTTPReq() {
}
if (prot->doChksum(m_resource_with_digest) < 0) {
// In this case, the Want-Digest header was set and PostProcess gave the go-ahead to do a checksum.
prot->SendSimpleResp(500, NULL, (char *) "Failed to create initial checksum request.", NULL, 0, false);
prot->SendSimpleResp(500, NULL, NULL, (char *) "Failed to create initial checksum request.", 0, false);
return -1;
}
return 1;
Expand Down