diff options
Diffstat (limited to '3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp')
-rw-r--r-- | 3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp b/3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp index 247df0f37e4..52ed241cb9f 100644 --- a/3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp +++ b/3rdparty/asio/src/examples/cpp03/iostreams/http_client.cpp @@ -2,7 +2,7 @@ // http_client.cpp // ~~~~~~~~~~~~~~~ // -// Copyright (c) 2003-2016 Christopher M. Kohlhoff (chris at kohlhoff dot com) +// Copyright (c) 2003-2021 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) @@ -33,7 +33,7 @@ int main(int argc, char* argv[]) // The entire sequence of I/O operations must complete within 60 seconds. // If an expiry occurs, the socket is automatically closed and the stream // becomes bad. - s.expires_after(boost::posix_time::seconds(60)); + s.expires_after(asio::chrono::seconds(60)); // Establish a connection to the server. s.connect(argv[1], "http"); |