mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-22 04:04:16 +00: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");
|
boost::asio::ip::tcp::iostream site(address, "http");
|
||||||
if (!site)
|
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";
|
site << "GET " << filename << "HTTP/1.0\nHost: " << address << "\nAccept: */*\nConnection: close\n\n";
|
||||||
// read response
|
// read response
|
||||||
std::string version, statusMessage;
|
std::string version, statusMessage;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user