Fix bug: hdr_get_len()

Signed-off-by: Jianhui Zhao <jianhuizhao329@gmail.com>
main
Jianhui Zhao 2017-12-30 17:28:36 +08:00
parent b1cf13013e
commit b5517eda7e
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ static void dispatch_done(struct uh_client *cl)
static inline int hdr_get_len(struct kvlist *kv, const void *data)
{
return strlen(data);
return strlen(data) + 1;
}
static void client_request_done(struct uh_client *cl)