mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 13:27:17 +01:00
fixed build with boost 1.46
This commit is contained in:
parent
dc8dac51f7
commit
2b87a58685
|
@ -529,7 +529,7 @@ namespace data
|
|||
boost::asio::ip::tcp::iostream site(address, "http");
|
||||
if (!site)
|
||||
{
|
||||
site.expires_from_now (boost::posix_time::seconds (10)); // wait for 10 seconds
|
||||
//site.expires_from_now (boost::posix_time::seconds (10)); // wait for 10 seconds
|
||||
site << "GET " << filename << "HTTP/1.0\nHost: " << address << "\nAccept: */*\nConnection: close\n\n";
|
||||
// read response
|
||||
std::string version, statusMessage;
|
||||
|
|
Loading…
Reference in a new issue