ProxyAddress: config.ProxyAddress,
ProxyUsername: config.ProxyUsername,
ProxyPassword: config.ProxyPassword,
- MConfig: connection.DefaultMConnConfig(),
+ MConfig: connection.DefaultMConnConfig(config.Compression),
}
}
"peer": p.Addr(),
"msg": msg,
"type": reflect.TypeOf(msg),
- }).Info("send message to peer")
+ }).Debug("send message to peer")
return p.mconn.TrySend(chID, msg)
}