1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Improve test coverage for http server mux.

This commit is contained in:
winlin 2019-12-17 19:39:36 +08:00
parent 81947df819
commit ec0fb82c0e
2 changed files with 208 additions and 2 deletions

View file

@ -724,7 +724,7 @@ srs_error_t SrsHttpServeMux::find_handler(ISrsHttpMessage* r, ISrsHttpHandler**
// always hijack.
if (!hijackers.empty()) {
// notice all hijacker the match failed.
// notify all hijackers unless matching failed.
std::vector<ISrsHttpMatchHijacker*>::iterator it;
for (it = hijackers.begin(); it != hijackers.end(); ++it) {
ISrsHttpMatchHijacker* hijacker = *it;