boostorg / boostorg/redis

Support RESP2 NULL

Open
#348 5 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.