mirror of
https://github.com/pocoproject/poco.git
synced 2025-01-19 00:46:03 +01:00
do not flush underlying stream on sync() as these causes issues with Zip files
This commit is contained in:
parent
829d497de0
commit
2d4dd2dc7d
@ -189,8 +189,6 @@ int DeflatingStreamBuf::sync()
|
||||
_zstr.next_out = (unsigned char*) _buffer;
|
||||
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
||||
}
|
||||
_pOstr->flush();
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user