Report a failure
| 204 | |
| 205 | // Report a failure |
| 206 | void |
| 207 | fail(beast::error_code ec, char const* what) |
| 208 | { |
| 209 | std::cerr << what << ": " << ec.message() << "\n"; |
| 210 | } |
| 211 | |
| 212 | // Handles an HTTP server connection |
| 213 | class session : public std::enable_shared_from_this<session> |