Skip to content

Commit

Permalink
fixed pocoproject#454: Fix: handle unhandled exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
obiltschnig committed May 31, 2014
1 parent db0999b commit 83405d6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Net/src/HTTPIOStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 83405d6

Please sign in to comment.