Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: read/write multi-bulk inside of a multi-bulk #1

Open
inkel opened this issue Jun 4, 2013 · 1 comment
Open

Bug: read/write multi-bulk inside of a multi-bulk #1

inkel opened this issue Jun 4, 2013 · 1 comment

Comments

@inkel
Copy link
Owner

inkel commented Jun 4, 2013

Currently I haven't found a way to read/write multi-bulk messages inside another multi-bulk message without much duplication and effort.

An example of multi-bulk inside multi-bulk message:

MULTI
GET nonexisting
HGETALL hash
INCR counter
SMEMBERS set
EXEC

This should return a multi-bulk message with:

  • a nil
  • a multi-bulk message for each field & value in the hash
  • an integer
  • a multi-bulk message for each member of the set
inkel added a commit that referenced this issue Jul 14, 2013
This commit addresses reading multi-bulk replies inside a multi-bulk
reply, as stated in issue #1.

The implementation wasn't changed, though now we have a test that proves
that reading multi-bulk in multi-bulk is possible. Writing multi-bulk in
multi-bulk, on the other hand, hasn't been addressed yet.
@inkel
Copy link
Owner Author

inkel commented Jul 14, 2013

Reading multi-bulk replies inside a multi-bulk reply was already possible, as proved by the test introduced in 3021173.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant