diff --git a/Net/src/HTTPIOStream.cpp b/Net/src/HTTPIOStream.cpp index 706e95e2e..eb0b3f120 100644 --- a/Net/src/HTTPIOStream.cpp +++ b/Net/src/HTTPIOStream.cpp @@ -28,6 +28,8 @@ namespace Net { HTTPResponseStreamBuf::HTTPResponseStreamBuf(std::istream& istr): _istr(istr) { + // make sure exceptions from underlying string propagate + _istr.exceptions(std::ios::badbit); }