commit | 3df580066b432d2fa7f68e3498ac1827f1b653a9 | [log] [tgz] |
---|---|---|
author | Andy Green <andy.green@linaro.org> | Fri Dec 25 12:44:12 2015 +0800 |
committer | Andy Green <andy.green@linaro.org> | Fri Dec 25 14:34:20 2015 +0800 |
tree | 857c0791fa12de018b98b9fcc5fa1d4ababbd156 | |
parent | b3d21f164df44ed64a1b4c726eb534cd85cc2e7c [diff] [blame] |
http header malloc pool implement pool Signed-off-by: Andy Green <andy.green@linaro.org>
diff --git a/lib/hpack.c b/lib/hpack.c index f311d70..2c5b1d9 100644 --- a/lib/hpack.c +++ b/lib/hpack.c
@@ -221,7 +221,7 @@ ah->data[ah->pos++] = c; ah->frags[ah->nfrag].len++; - return ah->pos >= sizeof(ah->data); + return ah->pos >= wsi->context->max_http_header_data; } static int lws_frag_end(struct lws *wsi)