DiceDB / dice

DiceDB is a redis-compliant, reactive, scalable, highly-available, unified cache optimized for modern hardware.
https://dicedb.io/
Other
6.83k stars 1.08k forks source link

Inconsistency in RESP parser when string has multiple \r #1245

Closed c-harish closed 1 week ago

c-harish commented 2 weeks ago

RESP parser doesn't parse the bytes after it encounters first \r and skips the bytes following it. Ideally we should continue parsing, until we encounter a \r immediately followed by a \n

Fix for this issue will unblock #1089

@AshwinKul28

image