Skip to content

Commit

Permalink
Shutdown the connection in the case of an unrecognized HTTP first line
Browse files Browse the repository at this point in the history
  • Loading branch information
ffurano authored and Fabrizio Furano committed Jun 25, 2020
1 parent 7f0faf1 commit e640dc9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/XrdHttp/XrdHttpProtocol.cc
Expand Up @@ -750,6 +750,7 @@ int XrdHttpProtocol::Process(XrdLink *lp) // We ignore the argument here
int result = CurrentReq.parseFirstLine((char *)tmpline.c_str(), rc);
if (result < 0) {
TRACE(DEBUG, " Parsing of first line failed with " << result);
return -1;
}
}
else
Expand Down

0 comments on commit e640dc9

Please sign in to comment.