1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-04-14 01:29:17 -04:00

remove NewMultiBufferValue

This commit is contained in:
Darien Raymond
2018-11-16 11:08:12 +01:00
parent db5259e75b
commit a01fdc29a6
21 changed files with 33 additions and 38 deletions

View File

@@ -76,7 +76,7 @@ func (server *Server) handleConnection(conn net.Conn) {
return err
}
copy(b.Bytes(), server.MsgProcessor(b.Bytes()))
if err := pWriter.WriteMultiBuffer(buf.NewMultiBufferValue(b)); err != nil {
if err := pWriter.WriteMultiBuffer(buf.MultiBuffer{b}); err != nil {
return err
}
}