Skip to content

Can not decode resp3's big number type #123

@synodriver

Description

@synodriver

According to the spec, b"(123456\r\n" is a valid big number type, but I just got a ProtocolError, says Protocol error, got "(" as reply type byte, meanwhile, the pure python parser works well.

Step to reproduce:

import hiredis
reader = hiredis.Reader()
reader.feed(b"(123456\r\n")
print(reader.gets())

Maybe it's related to hiredis itself?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions