mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-29 21:30:04 +01:00
fixed #454: Fix: handle unhandled exceptions
This commit is contained in:
parent
db0999b2d6
commit
83405d6812
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user