mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
changed exception text
This commit is contained in:
parent
135c10c0f5
commit
ff0e72c187
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user