| 377 | } |
| 378 | |
| 379 | void |
| 380 | do_eof() |
| 381 | { |
| 382 | // Send a TCP shutdown |
| 383 | beast::error_code ec; |
| 384 | stream_.socket().shutdown(tcp::socket::shutdown_send, ec); |
| 385 | |
| 386 | // At this point the connection is closed gracefully |
| 387 | } |
| 388 | }; |
| 389 | |
| 390 | // Handles an SSL HTTP connection |