diff --git a/src/common/memcached.c b/src/common/memcached.c index ab08945..f18f75c 100644 --- a/src/common/memcached.c +++ b/src/common/memcached.c @@ -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) {