From: Manuel Nickschas Date: Sat, 15 Feb 2014 20:58:46 +0000 (+0100) Subject: Don't select the DataStream protocol by default for now X-Git-Tag: 0.10-beta1~19 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=02cfb595a6b78faf332ddbe2d7b997eb0e0293fb;ds=sidebyside 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. --- 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; }