1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2025-12-30 22:15:27 -05:00

rename cached to buffered

This commit is contained in:
Darien Raymond
2016-12-27 21:41:44 +01:00
parent 7d1426ff7f
commit c347e50c28
9 changed files with 43 additions and 40 deletions

View File

@@ -126,7 +126,7 @@ func (v *Client) Dispatch(destination v2net.Destination, payload *buf.Buffer, ra
}
}()
bufferedWriter.SetCached(false)
bufferedWriter.SetBuffered(false)
if err := buf.PipeUntilEOF(ray.OutboundInput(), bodyWriter); err != nil {
log.Info("Shadowsocks|Client: Failed to trasnport all TCP request: ", err)
}