add missing commas

This commit is contained in:
oscar.chen 2022-05-14 18:46:49 -07:00
parent a30f0f6e4f
commit 89d99f6ae9
2 changed files with 2 additions and 2 deletions

View File

@ -376,7 +376,7 @@ namespace crow
public:
WebSocketRule(std::string rule, App* app):
BaseRule(std::move(rule)),
app_(app)
app_(app),
max_payload_(app_.websocket_max_payload())
{}

View File

@ -81,7 +81,7 @@ namespace crow
message_handler_(std::move(message_handler)),
close_handler_(std::move(close_handler)),
error_handler_(std::move(error_handler)),
accept_handler_(std::move(accept_handler))
accept_handler_(std::move(accept_handler)),
max_payload_bytes_(handler.websocket_max_payload())
{
if (!boost::iequals(req.get_header_value("upgrade"), "websocket"))