2
0
Fork 0

memcached.c: fix GET response parsing

personal/stbuehler/wip
Stefan Bühler 2010-07-18 20:43:04 +02:00
parent e10df4ed77
commit 0b5a67b2a6
1 changed files with 2 additions and 0 deletions

View File

@ -587,6 +587,8 @@ static void handle_read(liMemcachedCon *con) {
/* wait for header line */
if (!try_read_line(con)) return;
con->get_have_header = TRUE;
if (3 == con->line->used && 0 == memcmp("END", con->line->addr, 3)) {
/* key not found */
if (cur->req.callback) {