changed exception text

This commit is contained in:
Guenter Obiltschnig 2014-09-29 12:17:21 +02:00
parent 135c10c0f5
commit ff0e72c187

View File

@ -209,6 +209,7 @@ void HTTPRequest::read(std::istream& istr)
uri.reserve(64);
version.reserve(16);
int ch = istr.get();
if (istr.bad()) throw NetException("Network failure while reading HTTP request header");
if (istr.bad()) throw NetException("Error reading HTTP request header");
if (ch == eof) throw NoMessageException();
while (Poco::Ascii::isSpace(ch)) ch = istr.get();