rediska icon indicating copy to clipboard operation
rediska copied to clipboard

Why you add Rediska::EOL after command?

Open maxgu opened this issue 11 years ago • 0 comments

in Rediska_Connection.php:175:

$needToWrite = (string) $string . Rediska::EOL;

and result:

"*3\r\n$3\r\nSET\r\n$5\r\nmykey\r\n$7\r\nmyvalue\r\n\r\n"

twemproxy throws error "Invalid argument"

without EOL - all ok:

$needToWrite = (string) $string;// . Rediska::EOL;

maxgu avatar Dec 16 '13 16:12 maxgu