mirror of
https://github.com/pocoproject/poco.git
synced 2026-01-12 10:02:36 +01:00
fixed #454: Fix: handle unhandled exceptions
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user