/[Apache-SVN]
ViewVC logotype

Revision 665262


Jump to revision: Previous Next
Author: dreiss
Date: Sat Sep 15 01:44:47 2007 UTC (17 years, 1 month ago)
Changed paths: 10
Log Message:
Thrift: Zlib transport.

Summary:
Add a new transport to the C++ library: TZLibTransport.
This wraps another transport (just like TBufferedTransport),
compresses the data written to it, and uncompresses the data it reads.

Reviewed By: mcslee

Test Plan:
For ax_lib_zlib.m4
 - Ran ./bootstrap.sh.
 - Looked at configure.
 - Ran ./configure.
 - Looked at config.status
 - Ran ./configure --with-zlib=/usr.
 - Looked at config.status
 - Changed configure.ac to AC_LIB_ZLIB(1.2.4)
 - Ran ./configure.
 - Watched it fail.

For TZlibTransport
 - test/ZlibTest.cpp
 - Code coverage (hotness) report sent with review.
 - 100% line coverage for all the good stuff.

Revert Plan: ok


Changed paths

Path Details
Directoryincubator/thrift/trunk/lib/cpp/Makefile.am modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/aclocal/ax_event_base.m4 modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/aclocal/ax_lib_zlib.m4 added
Directoryincubator/thrift/trunk/lib/cpp/configure.ac modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/Thrift.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TTransportException.h modified , text changed
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TZlibTransport.cpp added
Directoryincubator/thrift/trunk/lib/cpp/src/transport/TZlibTransport.h added
Directoryincubator/thrift/trunk/test/DebugProtoTest.thrift modified , text changed
Directoryincubator/thrift/trunk/test/ZlibTest.cpp added

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26