Fix a bug that caused a crash on empty HTTP requests (localhost only) and add a lightweight lock to the RX queue to prevent possible threads stepping on each other in parallel receive paths.
This commit is contained in:
parent
9bc11a369c
commit
5b114791e5
4 changed files with 8 additions and 3 deletions
|
@ -1063,6 +1063,8 @@ public:
|
|||
else urlArgs[a->substr(0,eqpos)] = a->substr(eqpos + 1);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
return 404;
|
||||
}
|
||||
|
||||
bool isAuth = false;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue