mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
further formatting
This commit is contained in:
parent
892cfb238b
commit
4128e5c27d
@ -106,7 +106,7 @@ namespace crow
|
||||
|
||||
|
||||
signals_.clear();
|
||||
for (auto snum: handler_->signals())
|
||||
for (auto snum : handler_->signals())
|
||||
signals_.add(snum);
|
||||
|
||||
// Sec-WebSocket-Key: dGhlIHNhbXBsZSBub25jZQ==
|
||||
@ -118,8 +118,9 @@ namespace crow
|
||||
s.getDigestBytes(digest);
|
||||
|
||||
signals_.async_wait(
|
||||
[&](const boost::system::error_code& e, int /*signal_number*/){
|
||||
if (!e){
|
||||
[&](const boost::system::error_code& e, int /*signal_number*/) {
|
||||
if (!e)
|
||||
{
|
||||
CROW_LOG_INFO << "Quitting Websocket: " << this;
|
||||
close("Server Application Terminated");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user