/[Apache-SVN]
ViewVC logotype

Revision 1005151


Jump to revision: Previous Next
Author: dreiss
Date: Wed Oct 6 17:10:26 2010 UTC (14 years, 1 month ago)
Changed paths: 5
Log Message:
THRIFT-926. cpp: Make TZlibTransport::flush() behave like other transports

Previously, TZlibTransport::flush() finished the zlib stream, so calling
write() after flush() would result in an error.  Now it just flushes the
data, without finishing the stream.  A new TZlibTransport::finish()
function has been added to finish the stream.

This breaks compatibility.  I'm aware of anyone using this code outside
of Facebook, though.

Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransport.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TZlibTransport.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TZlibTransport.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/test/TransportTest.cpp modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/test/ZlibTest.cpp modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26