окно подтверждения применения настроек BUC и LNB, фикс нулевой длинны HTTP запроса
This commit is contained in:
@@ -252,6 +252,9 @@ namespace http::server {
|
||||
return good;
|
||||
}
|
||||
contentLenghtHeader = std::stol(content_len);
|
||||
if (contentLenghtHeader == 0) {
|
||||
return good;
|
||||
}
|
||||
state_ = expecting_payload;
|
||||
if (contentLenghtHeader > HTTP_MAX_PAYLOAD) {
|
||||
return bad;
|
||||
|
Reference in New Issue
Block a user