receive timeout for BoostAsyncStream

This commit is contained in:
orignal
2026-07-29 18:03:44 -04:00
parent 4b507cda96
commit 6d47cca978
2 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -1002,7 +1002,7 @@ namespace client
req.set (boost::beast::http::field::if_modified_since, m_LastModified); // If-Modified-Since
req.keep_alive (false); // Connection: close
i2p::client::BoostAsyncStream httpStream (stream);
i2p::client::BoostAsyncStream httpStream (stream, SUBSCRIPTION_REQUEST_TIMEOUT);
std::future<size_t> sending = boost::beast::http::async_write (httpStream, req, boost::asio::use_future);
try
{