Fix protocol error caused by redis-benchmark (#10236)
Fix protocol error caused by redis-benchmark (#10236)

The protocol error was caused by the buggy `writeHandler` in `redis-benchmark.c`,
which didn't handle one of the cases, thereby repeating data, leading to protocol errors
when the values being sent are very long.

This PR fixes #10233, issue introduced by #7959
oranagra/redis,neomantra/redis,neomantra/redis,yossigo/redis,PKRoma/redis,yossigo/redis,charsyam/redis,ofirluzon/redis,charsyam/redis,oranagra/redis,ofirluzon/redis,PKRoma/redis,PKRoma/redis,ofirluzon/redis,neomantra/redis,soloestoy/redis,oranagra/redis,soloestoy/redis,soloestoy/redis,charsyam/redis,oranagra/redis,yossigo/redis,antirez/redis,PKRoma/redis,charsyam/redis,PKRoma/redis,ofirluzon/redis,neomantra/redis,antirez/redis,antirez/redis,charsyam/redis,yossigo/redis,soloestoy/redis,neomantra/redis,ofirluzon/redis,soloestoy/redis,oranagra/redis,yossigo/redis,antirez/redis