projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
* do linebuffered reading from server
[citadel.git]
/
webcit
/
webcit.c
diff --git
a/webcit/webcit.c
b/webcit/webcit.c
index 1974b2e1e117c1902a4eeda0d040f0291a774757..8647deec2b3fc7aefb5a8b24963b41b4b5462ebb 100644
(file)
--- a/
webcit/webcit.c
+++ b/
webcit/webcit.c
@@
-788,6
+788,7
@@
void session_loop(HashList *HTTPHeaders, StrBuf *ReqLine, StrBuf *request_method
* connection now.
*/
if (!WCC->connected) {
+ WCC->ReadBuf = NewStrBuf();
if (!strcasecmp(ctdlhost, "uds")) {
/* unix domain socket */
snprintf(buf, SIZ, "%s/citadel.socket", ctdlport);