mirror of
https://github.com/Xahau/xahaud.git
synced 2025-12-06 17:27:52 +00:00
Fix typos.
This commit is contained in:
@@ -65,9 +65,9 @@ static std::pair<bufIterator, bool> match_header(bufIterator begin, bufIterator
|
||||
// Do we have a complete HTTP request
|
||||
bufIterator it = std::search(begin, end, header_match.begin(), header_match.end());
|
||||
if (it != end)
|
||||
return std::make_pair(it + header_match.size());
|
||||
return std::make_pair(it + header_match.size(), true);
|
||||
it = std::search(begin, end, alt_header_match.begin(), alt_header_match.end());
|
||||
return std::make_pair(it + alt_header_match_size(), true);
|
||||
return std::make_pair(it + alt_header_match.size(), true);
|
||||
|
||||
// If we don't have a flash policy request, we're done
|
||||
it = std::search(begin, end, flash_match.begin(), flash_match.end());
|
||||
|
||||
Reference in New Issue
Block a user