127 if (bytes_received==0 || err)
129 if (err==ba::error::eof)
138 if (err && err!=ba::error::eof &&
139 err!=ba::error::basic_errors::not_connected &&
140 err!=ba::error::basic_errors::operation_aborted)
143 str <<
"Reading from " <<
URL() <<
": " << err.message() <<
" (" << err <<
")";
146 PostClose(err!=ba::error::basic_errors::operation_aborted);
155 const size_t p1 =
fRdfData.find(
"\r\n\r\n");
156 if (p1!=string::npos)
159 const size_t p2 =
fRdfData.find(
"\r\n\r\n", p1+4);
160 if (p2!=string::npos)
void PostClose(bool restart=true)
int Error(const std::string &str)
boost::array< char, 4096 > fArray