@@ -433,7 +433,7 @@ PHP_REDIS_API zval *
433
433
redis_sock_read_multibulk_reply_zval (INTERNAL_FUNCTION_PARAMETERS ,
434
434
RedisSock * redis_sock , zval * z_tab )
435
435
{
436
- char inbuf [1024 ];
436
+ char inbuf [4096 ];
437
437
int numElems ;
438
438
size_t len ;
439
439
@@ -500,7 +500,7 @@ redis_sock_read_bulk_reply(RedisSock *redis_sock, int bytes TSRMLS_DC)
500
500
PHP_REDIS_API char *
501
501
redis_sock_read (RedisSock * redis_sock , int * buf_len TSRMLS_DC )
502
502
{
503
- char inbuf [1024 ];
503
+ char inbuf [4096 ];
504
504
size_t len ;
505
505
506
506
* buf_len = 0 ;
@@ -1251,7 +1251,7 @@ static int
1251
1251
redis_mbulk_reply_zipped (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock ,
1252
1252
zval * z_tab , int unserialize , int decode )
1253
1253
{
1254
- char inbuf [1024 ];
1254
+ char inbuf [4096 ];
1255
1255
int numElems ;
1256
1256
size_t len ;
1257
1257
@@ -1688,7 +1688,7 @@ PHP_REDIS_API int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS,
1688
1688
RedisSock * redis_sock , zval * z_tab ,
1689
1689
void * ctx )
1690
1690
{
1691
- char inbuf [1024 ];
1691
+ char inbuf [4096 ];
1692
1692
int numElems ;
1693
1693
size_t len ;
1694
1694
@@ -1731,7 +1731,7 @@ PHP_REDIS_API int redis_sock_read_multibulk_reply(INTERNAL_FUNCTION_PARAMETERS,
1731
1731
PHP_REDIS_API int
1732
1732
redis_mbulk_reply_raw (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock , zval * z_tab , void * ctx )
1733
1733
{
1734
- char inbuf [1024 ];
1734
+ char inbuf [4096 ];
1735
1735
int numElems ;
1736
1736
size_t len ;
1737
1737
@@ -1808,7 +1808,7 @@ redis_mbulk_reply_loop(INTERNAL_FUNCTION_PARAMETERS, RedisSock *redis_sock,
1808
1808
* keys with their returned values */
1809
1809
PHP_REDIS_API int redis_mbulk_reply_assoc (INTERNAL_FUNCTION_PARAMETERS , RedisSock * redis_sock , zval * z_tab , void * ctx )
1810
1810
{
1811
- char inbuf [1024 ], * response ;
1811
+ char inbuf [4096 ], * response ;
1812
1812
int response_len ;
1813
1813
int i , numElems ;
1814
1814
size_t len ;
@@ -2147,7 +2147,7 @@ redis_read_variant_line(RedisSock *redis_sock, REDIS_REPLY_TYPE reply_type,
2147
2147
zval * z_ret TSRMLS_DC )
2148
2148
{
2149
2149
// Buffer to read our single line reply
2150
- char inbuf [1024 ];
2150
+ char inbuf [4096 ];
2151
2151
size_t line_size ;
2152
2152
2153
2153
/* Attempt to read our single line reply */
0 commit comments