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:
Anders Kaseorg
2012-04-17 02:50:29 -04:00
committed by Keith Winstein
parent 76f5b593d9
commit b6736eb0a5
7 changed files with 30 additions and 71 deletions
-1
View File
@@ -11,7 +11,6 @@ Source0: https://github.com/downloads/keithw/mosh/mosh-%{version}.tar.gz
BuildRequires: protobuf-compiler
BuildRequires: protobuf-devel
BuildRequires: libutempter-devel
BuildRequires: zlib-devel
BuildRequires: ncurses-devel
Requires: openssh-clients
Requires: perl-IO-Tty