Commit 23312944 authored by Kirill Smelkov's avatar Kirill Smelkov

.

parent b7fde840
......@@ -417,7 +417,7 @@ func pktEncodeZ(m msg) *pktBuf {
// pktEncodeM encodes message into raw M (msgpack) packet.
func pktEncodeM(m msg) *pktBuf {
pkb := allocPkb()
// XXX better use msgp.Append for msgid, flags, method ?
// XXX better use msgp.Append for msgid, flags, method (but not arg) ?
data, err := msgpack.Encode(tuple{m.msgid, m.flags, m.method, m.arg})
if err != nil {
panic(err) // all our types are expected to be supported by msgpack
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment