Support RESP2 NULL
Open
- Dominant language
- C++
- Stars
- 282
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
This is encoded as `*-1\r\n` or `$-1\r\n`. When we encounter this, we currently fail with `error::not_a_number`. I think we could support this to soften the RESP3 requirement (I'd say this is the only RESP2 feature we don't support).
For the record, I've encountered this with SENTINEL, as it sends a NULL array if you forget to upgrade the connection to RESP3 with HELLO.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.