From 02cfb595a6b78faf332ddbe2d7b997eb0e0293fb Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Sat, 15 Feb 2014 21:58:46 +0100 Subject: [PATCH] Don't select the DataStream protocol by default for now Until we have streaming compression implemented, using the DataStream is not such a brilliant idea compared to the legacy protocol which at least individually compresses messages. Thus, we should not select the DataStream protocol by default. Clients wanting to play around with the new protocol are still free to negotiate this during handshake. --- src/common/peerfactory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/peerfactory.cpp b/src/common/peerfactory.cpp index 0dc0140d..655a6e11 100644 --- a/src/common/peerfactory.cpp +++ b/src/common/peerfactory.cpp @@ -27,8 +27,8 @@ PeerFactory::ProtoList PeerFactory::supportedProtocols() { ProtoList result; - result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures())); result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0)); + result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures())); return result; } -- 2.20.1