From 2d232cfc36501a6a40700e59d994307b3be14d0e Mon Sep 17 00:00:00 2001 From: Wilfried Goesgens Date: Sat, 15 Feb 2014 14:47:56 +0000 Subject: [PATCH] control when not first chunk. --- webcit/tcp_sockets.c | 1 + 1 file changed, 1 insertion(+) diff --git a/webcit/tcp_sockets.c b/webcit/tcp_sockets.c index 4a60fed49..730bb8c69 100644 --- a/webcit/tcp_sockets.c +++ b/webcit/tcp_sockets.c @@ -644,6 +644,7 @@ void serv_read_binary_to_http(StrBuf *MimeType, size_t total_len, int is_static, StrBufPrintf(BufHeader, "%s%x\r\n", (first)?"":"\r\n", StrLength (WCC->WBuf)); + first = 0; if (send_http(BufHeader) < 0) break; } -- 2.30.2