1
0
mirror of https://github.com/redis/go-redis.git synced 2025-08-01 16:06:54 +03:00

Rename BufioReader to ElasticBufReader

This commit is contained in:
Vladimir Mihailenco
2018-08-06 11:54:47 +03:00
parent bf3a84175e
commit 464daeb271
6 changed files with 38 additions and 31 deletions

View File

@ -24,7 +24,7 @@ func NewConn(netConn net.Conn) *Conn {
cn := &Conn{
netConn: netConn,
}
buf := proto.NewBufioReader(netConn)
buf := proto.NewElasticBufReader(netConn)
cn.Rd = proto.NewReader(buf)
cn.WB = proto.NewWriteBuffer(buf)
cn.SetUsedAt(time.Now())