website icon indicating copy to clipboard operation
website copied to clipboard

fix: make redis integer frame signed

Open cjshearer opened this issue 1 year ago • 0 comments

The documentation for the Frame enum in framing.md claims the Redis protocol frame for an integer is unsigned, which doesn't match the protocol spec: https://redis.io/docs/reference/protocol-spec/#integers

This type is a CRLF-terminated string that represents a signed, base-10, 64-bit integer.

see also tokio-rs/mini-redis#128

cjshearer avatar Mar 09 '24 23:03 cjshearer