Fix accept error handling in http_server_async example

close #2319
This commit is contained in:
Hreniuc Cristian-Alexandru
2021-09-28 12:49:42 +03:00
committed by Richard Hodges
parent 5cc73b944c
commit 2f4506dc37
3 changed files with 3 additions and 0 deletions

View File

@ -1,5 +1,6 @@
Version XXX:
* Fix accept error handling in http_server_async example.
* Move library-specific docca configuration to Beast.
* Remove dependency on RTTI in `test::stream`.

View File

@ -500,6 +500,7 @@ private:
if(ec)
{
fail(ec, "accept");
return; // To avoid infinite loop
}
else
{

View File

@ -434,6 +434,7 @@ private:
if(ec)
{
fail(ec, "accept");
return; // To avoid infinite loop
}
else
{