wuxibin89 / redis-go-cluster

redis cluster client implementation in Go
Apache License 2.0
488 stars 145 forks source link

When the value has the “/r/n” inside, the readLine Method in node.go work incorrect #26

Open YCLX opened 6 years ago

YCLX commented 6 years ago

Code use the string "/r/n" to decide the end of the response, but when I set a bytes to the cluster and read it, I got an ERROR because the bytes has a "/r/n" inside.

link1st commented 5 years ago

FixBug:Read string including line breaks Solution