mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 00:07:59 +02:00
changed exception text
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user