From f51e696e4ac822aed68211c47bbeddfacbb4e64e Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sun, 18 Nov 2018 17:30:35 +0900 Subject: [PATCH] asio: Add stop() to listen_and_serve doc --- src/includes/nghttp2/asio_http2_server.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/includes/nghttp2/asio_http2_server.h b/src/includes/nghttp2/asio_http2_server.h index 5818e301..d8a32d69 100644 --- a/src/includes/nghttp2/asio_http2_server.h +++ b/src/includes/nghttp2/asio_http2_server.h @@ -142,8 +142,8 @@ public: // incoming requests in cleartext TCP connection. If |asynchronous| // is false, this function blocks forever unless there is an error. // If it is true, after server has started, this function returns - // immediately, and the caller should call join() to shutdown server - // gracefully. + // immediately, and the caller should call stop() and join() to + // shutdown server gracefully. boost::system::error_code listen_and_serve(boost::system::error_code &ec, const std::string &address, const std::string &port,