Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0987d08

Browse files
committed
Merge pull request phpredis#13 from Mikushi/master
Fixing the "protocol error, got '*' as reply type byte"
2 parents 906e462 + cf144cc commit 0987d08

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

library.c

+1
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,7 @@ PHPAPI char *redis_sock_read(RedisSock *redis_sock, int *buf_len TSRMLS_DC)
152152
return resp;
153153

154154
case '+':
155+
case '*':
155156
case ':':
156157
// Single Line Reply
157158
/* :123\r\n */

0 commit comments

Comments
 (0)