summaryrefslogtreecommitdiffstats
path: root/src/openvpn/snappy.h
diff options
context:
space:
mode:
authorGert Doering <gert@greenie.muc.de>2015-10-10 18:34:49 +0200
committerGert Doering <gert@greenie.muc.de>2015-10-11 10:25:06 +0200
commit9403e3f4b510fbc4187044f31be8f7dccbde1cf1 (patch)
treee4d0fe330a98c29b9ead343ec854891d849e3852 /src/openvpn/snappy.h
parentc67acea173dc9ee37220f5b9ff14ede081181992 (diff)
downloadopenvpn-9403e3f4b510fbc4187044f31be8f7dccbde1cf1.tar.gz
openvpn-9403e3f4b510fbc4187044f31be8f7dccbde1cf1.tar.xz
openvpn-9403e3f4b510fbc4187044f31be8f7dccbde1cf1.zip
Remove support for snappy compression.
LZ4 is using less CPU at similar performance, and it is easier to build and support for binary installs (as it does not require C++ and a C++ runtime). Since it was never supported in any formally released OpenVPN version, just drop it again. This leaves in the compression opcode for Snappy for documentation purposes. trac #617 Signed-off-by: Gert Doering <gert@greenie.muc.de> Acked-by: Arne Schwabe <arne@rfc2549.org> Message-Id: <1444494889-28925-1-git-send-email-gert@greenie.muc.de> URL: http://article.gmane.org/gmane.network.openvpn.devel/10251
Diffstat (limited to 'src/openvpn/snappy.h')
-rw-r--r--src/openvpn/snappy.h39
1 files changed, 0 insertions, 39 deletions
diff --git a/src/openvpn/snappy.h b/src/openvpn/snappy.h
deleted file mode 100644
index 361a631..0000000
--- a/src/openvpn/snappy.h
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * OpenVPN -- An application to securely tunnel IP networks
- * over a single UDP port, with support for SSL/TLS-based
- * session authentication and key exchange,
- * packet encryption, packet authentication, and
- * packet compression.
- *
- * Copyright (C) 2002-2012 OpenVPN Technologies, Inc. <sales@openvpn.net>
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2
- * as published by the Free Software Foundation.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program (see the file COPYING included with this
- * distribution); if not, write to the Free Software Foundation, Inc.,
- * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
- */
-
-#ifndef OPENVPN_SNAPPY_H
-#define OPENVPN_SNAPPY_H
-
-#if defined(ENABLE_SNAPPY)
-
-#include "buffer.h"
-
-extern const struct compress_alg snappy_alg;
-
-struct snappy_workspace
-{
-};
-
-#endif /* ENABLE_SNAPPY */
-#endif