mirror of
https://github.com/predis/predis.git
synced 2026-10-10 22:07:31 +00:00
0195a7488a
When PHP's fwrite() ends up writing only a part of $buffer over the network, this method attempts to automatically write the rest of $buffer. Due to this bug, the data being already sent to the server was not discarded from $buffer. Usually fwrite() writes the whole $buffer in one go, but anyway this bug would not have passed unnoticed since it results in malformed requests and Redis would have surely returned a -ERR reply.