Skip to content

Conversation

leibale
Copy link
Contributor

@leibale leibale commented Feb 23, 2023

@fast-facts it actually is a bug in the decoder that happens in a very rare edge case: an array that contains an empty array, and the inner array data comes in 2 chunks, and the split is exactly between the 0 and the \r\n (i.e *1\r\n*0 \r\n).

@fast-facts
Copy link
Contributor

fast-facts commented Feb 23, 2023

Thanks for troubleshooting this. I figured it was something having to do with chunks splitting data in an "improper" place since the frequency of the hangs increased with the number of chunks that came through.

@leibale leibale merged commit e95b258 into redis:master Feb 24, 2023
@leibale leibale deleted the fix-2419-resp2-decoder branch February 24, 2023 22:34
florian-schunk pushed a commit to florian-schunk/node-redis that referenced this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants