From 37a713c217d132df89dc3726c33e4e96456d4433 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Tue, 16 Jan 2018 11:48:38 +0300 Subject: HTTP: fixed chunked response on 32-bit platforms. --- src/nxt_h1proto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nxt_h1proto.c b/src/nxt_h1proto.c index e5141757..4057b082 100644 --- a/src/nxt_h1proto.c +++ b/src/nxt_h1proto.c @@ -790,7 +790,7 @@ nxt_h1p_request_send(nxt_task_t *task, nxt_http_request_t *r, nxt_buf_t *out) static nxt_buf_t * nxt_h1p_chunk_create(nxt_task_t *task, nxt_http_request_t *r, nxt_buf_t *out) { - size_t size; + nxt_off_t size; nxt_buf_t *b, **prev, *header, *tail; const size_t chunk_size = 2 * (sizeof("\r\n") - 1) + NXT_OFF_T_HEXLEN; -- cgit