| 466 | } |
| 467 | |
| 468 | void |
| 469 | on_shutdown(beast::error_code ec) |
| 470 | { |
| 471 | if(ec) |
| 472 | return fail(ec, "shutdown"); |
| 473 | |
| 474 | // At this point the connection is closed gracefully |
| 475 | } |
| 476 | }; |
| 477 | |
| 478 | //------------------------------------------------------------------------------ |