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:
Adam Ierymenko 2018-07-20 14:01:58 -07:00
parent 9bc11a369c
commit 5b114791e5
4 changed files with 8 additions and 3 deletions

View file

@ -1063,6 +1063,8 @@ public:
else urlArgs[a->substr(0,eqpos)] = a->substr(eqpos + 1);
}
}
} else {
return 404;
}
bool isAuth = false;