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

Allow multiple external handlers to be loaded by XrdHttp. #589

Merged
merged 7 commits into from
Oct 18, 2017
2 changes: 1 addition & 1 deletion src/XrdHttp/XrdHttpProtocol.cc
Original file line number Diff line number Diff line change
Expand Up @@ -2460,7 +2460,7 @@ int XrdHttpProtocol::LoadExtHandler(XrdSysError *myeDest, const char *libName,
XrdHttpExtHandler * XrdHttpProtocol::FindMatchingExtHandler(const XrdHttpReq &req) {
std::vector<XrdHttpExtHandler *>::const_iterator it;
for (it = exthandler.begin(); it != exthandler.end(); it++) {
if ((*it)->MatchesPath(req.requestverb, req.resource.c_str())) {
if ((*it)->MatchesPath(req.requestverb.c_str(), req.resource.c_str())) {
return *it;
}
}
Expand Down