mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-30 14:28:50 +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):
|
HTTPResponseStreamBuf::HTTPResponseStreamBuf(std::istream& istr):
|
||||||
_istr(istr)
|
_istr(istr)
|
||||||
{
|
{
|
||||||
|
// make sure exceptions from underlying string propagate
|
||||||
|
_istr.exceptions(std::ios::badbit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user