tokio-rs / website

Website for the Tokio project
https://tokio.rs
MIT License
234 stars 335 forks source link

fix: make redis integer frame signed #756

Open cjshearer opened 9 months ago

cjshearer commented 9 months ago

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