projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80172bd
)
control when not first chunk.
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 15 Feb 2014 14:47:56 +0000
(14:47 +0000)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 15 Feb 2014 14:47:56 +0000
(14:47 +0000)
webcit/tcp_sockets.c
patch
|
blob
|
history
diff --git
a/webcit/tcp_sockets.c
b/webcit/tcp_sockets.c
index 4a60fed494853a913bd325b4c7ce11ae107977b6..730bb8c69cc2e217af0ed2061d6a18e88fb7b794 100644
(file)
--- 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;
}