From 365a99155c179e97c4321ceaee936d9729609cf3 Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Mon, 17 Feb 2014 22:21:29 +0100 Subject: [PATCH] Enable the DataStream protocol by default Now that compression works, let's use the DataStream protocol by default if both sides claim support for it. --- 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 655a6e11..0dc0140d 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::LegacyProtocol, 0)); result.append(ProtoDescriptor(Protocol::DataStreamProtocol, DataStreamPeer::supportedFeatures())); + result.append(ProtoDescriptor(Protocol::LegacyProtocol, 0)); return result; } -- 2.20.1