r1188@dev030 (orig r59856): dreiss | 2007-09-14 18:44:47 -0700
commitad047b3089c20e28523f71ba38be3d92fee6bc29
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 15 Sep 2007 01:31:54 +0000 (15 01:31 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Sat, 15 Sep 2007 01:31:54 +0000 (15 01:31 +0000)
tree02301766af0b034a2126cc6e46a1e37bcacbf242
parent3b6ea5f57284ff6375621139fd95132084435840
 r1188@dev030 (orig r59856):  dreiss | 2007-09-14 18:44:47 -0700
 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

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@579 41a61cd8-c433-0410-bb1c-e256eeef9e11
lib/cpp/Makefile.am
lib/cpp/aclocal/ax_event_base.m4
lib/cpp/aclocal/ax_lib_zlib.m4 [new file with mode: 0644]
lib/cpp/configure.ac
lib/cpp/src/Thrift.h
lib/cpp/src/transport/TTransportException.h
lib/cpp/src/transport/TZlibTransport.cpp [new file with mode: 0644]
lib/cpp/src/transport/TZlibTransport.h [new file with mode: 0644]
test/DebugProtoTest.thrift
test/ZlibTest.cpp [new file with mode: 0644]