Open Yury-Fridlyand opened 2 hours ago
I'd like to do a fix for that if you can give me some guidelines on which files/classes to start with and how to debug the server.
Thanks for the report. The place to look (and start) is execCommand, we need to modify array len based on the client flags. During the looking, i have fixed and verified it locally. Let me know if you need more infomation or need me to take over.
Describe the bug
Server returns malformed response.
Server replies with RESP array of declared size 6, but it contains only 2 elements: "before" and "after". That is correct to receive 2 elements, but size should be declared as 2. Wireshark helps to track this.
In case if transaction is "reply off;; reply on; end", received RESP array is empty, but declared size reflects the number of commands.
See Wireshark screenshot:
To reproduce
See above
Expected behavior
Declared RESP array lenght should be valid (match number of elements in it, regardless of real transaction size)
Additional information
A low priority issue.
CLI tool also fails to process the response. Use Wireshark to see what happens on the wire.