mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-25 18:22:59 +02:00
do not flush underlying stream on sync() as these causes issues with Zip files
This commit is contained in:
@@ -189,8 +189,6 @@ int DeflatingStreamBuf::sync()
|
|||||||
_zstr.next_out = (unsigned char*) _buffer;
|
_zstr.next_out = (unsigned char*) _buffer;
|
||||||
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
_zstr.avail_out = DEFLATE_BUFFER_SIZE;
|
||||||
}
|
}
|
||||||
_pOstr->flush();
|
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user