DataStreamPeer: Use UTF-8 QByteArrays instead of QString for message headers
authorManuel Nickschas <sputnick@quassel-irc.org>
Fri, 24 Jan 2014 22:54:25 +0000 (23:54 +0100)
committerManuel Nickschas <sputnick@quassel-irc.org>
Sat, 15 Feb 2014 21:01:01 +0000 (22:01 +0100)
commit9d3e44edbdbe5b7937e1d375afcd9e2f1941b80c
tree0114ac14afe81249c97fc118e70ca5df6e2c2b68
parent2dca302472ee44923e164784191891711eff626a
DataStreamPeer: Use UTF-8 QByteArrays instead of QString for message headers

This affects the objectName in SyncMessage, InitRequest and InitData.
While the savings should be rather small in particular with compression
enabled, we shouldn't skip this opportunity; while introspecting all
serialized data for QStrings would be too invasive, we can easily do
it for those clearly defined message fields.
src/common/protocols/datastream/datastreampeer.cpp