177 if (bytes_received==0 || err)
179 if (err==ba::error::eof)
189 if (err && err!=ba::error::eof &&
190 err!=ba::error::basic_errors::not_connected &&
191 err!=ba::error::basic_errors::operation_aborted)
194 str <<
"Reading from " <<
URL() <<
": " << err.message() <<
" (" << err <<
")";
197 PostClose(err!=ba::error::basic_errors::operation_aborted);
208 const size_t p1 =
fRdfData.find(
"\r\n\r\n");
209 if (p1!=string::npos)
212 const size_t p2 =
fRdfData.find(
"\r\n\r\n", p1+4);
213 if (p2!=string::npos)
boost::array< char, 4096 > fArray
void PostClose(bool restart=true)
int Error(const std::string &str)