Use protobuf’s Gzip{Input,Output}Stream wrapper around zlib
This removes our direct zlib dependency (although of course protobuf still uses it internally), removes a fixed 4 MiB buffer and its corresponding limit on the terminal size, reduces some string copying, and deletes some code. Signed-off-by: Anders Kaseorg <andersk@mit.edu> (Closes #230.)
This commit is contained in:
committed by
Keith Winstein
parent
76f5b593d9
commit
b6736eb0a5
@@ -3,4 +3,4 @@ AM_CXXFLAGS = $(WARNING_CXXFLAGS) $(PICKY_CXXFLAGS) $(HARDEN_CFLAGS) $(MISC_CXXF
|
||||
|
||||
noinst_LIBRARIES = libmoshnetwork.a
|
||||
|
||||
libmoshnetwork_a_SOURCES = network.cc network.h networktransport.cc networktransport.h transportfragment.cc transportfragment.h transportsender.cc transportsender.h transportstate.h compressor.cc compressor.h
|
||||
libmoshnetwork_a_SOURCES = network.cc network.h networktransport.cc networktransport.h transportfragment.cc transportfragment.h transportsender.cc transportsender.h transportstate.h
|
||||
|
||||
Reference in New Issue
Block a user