From f05303fe01cf7afea39270f4acc3811a3a2082c3 Mon Sep 17 00:00:00 2001 From: hyung-hwan Date: Wed, 14 Mar 2018 10:39:36 +0000 Subject: [PATCH] added .DATA to the chunked output --- hcl/lib/hcl-s.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hcl/lib/hcl-s.c b/hcl/lib/hcl-s.c index ebef423..ada6c21 100644 --- a/hcl/lib/hcl-s.c +++ b/hcl/lib/hcl-s.c @@ -1023,8 +1023,8 @@ static int write_reply_chunk (hcl_server_proto_t* proto) if (proto->reply.nchunks <= 0) { /* this is the first chunk */ - iov[count].iov_base = ".OK\n.ENCODING chunked\n"; - iov[count++].iov_len = 22; + iov[count].iov_base = ".OK\n.ENCODING chunked\n.DATA\n"; + iov[count++].iov_len = 28; } iov[count].iov_base = cl,