mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-23 16:48:06 +02:00
#454 also applies to FTPStreamFactory
This commit is contained in:
@@ -40,6 +40,8 @@ public:
|
|||||||
FTPStreamBuf(std::istream& istr):
|
FTPStreamBuf(std::istream& istr):
|
||||||
_istr(istr)
|
_istr(istr)
|
||||||
{
|
{
|
||||||
|
// make sure exceptions from underlying string propagate
|
||||||
|
_istr.exceptions(std::ios::badbit);
|
||||||
}
|
}
|
||||||
|
|
||||||
~FTPStreamBuf()
|
~FTPStreamBuf()
|
||||||
|
Reference in New Issue
Block a user