Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
a1f6fa5e
Commit
a1f6fa5e
authored
May 26, 2009
by
antirez
Browse files
max bytes of a received command enlarged from 1k to 16k
parent
a56785f7
Changes
1
Hide whitespace changes
Inline
Side-by-side
redis.c
View file @
a1f6fa5e
...
...
@@ -1421,7 +1421,7 @@ again:
* on the query buffer try to process the next command. */
if
(
processCommand
(
c
)
&&
sdslen
(
c
->
querybuf
))
goto
again
;
return
;
}
else
if
(
sdslen
(
c
->
querybuf
)
>=
1024
)
{
}
else
if
(
sdslen
(
c
->
querybuf
)
>=
1024
*
32
)
{
redisLog
(
REDIS_DEBUG
,
"Client protocol error"
);
freeClient
(
c
);
return
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment