Some updates
This commit is contained in:
@@ -249,7 +249,7 @@ command_result WebClient::handleCommand(Command &command) {
|
||||
if(this->connectionState() == ConnectionState::INIT_HIGH && this->handshake.state == HandshakeState::SUCCEEDED){
|
||||
if(command.command() == "clientinit") {
|
||||
auto result = this->handleCommandClientInit(command);
|
||||
if(result.error_code())
|
||||
if(result.has_error())
|
||||
this->close_connection(system_clock::now() + seconds(1));
|
||||
return result;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user