* operate blobreader so it will search \n000\n if we're server reading and just end...
[citadel.git] / webcit / webserver.c
index ed9188ffa913a4f3a3fd92d8f9220596abed9fdb..ac21038e7bd1a1d11a156b900624ea6412f43404 100644 (file)
@@ -235,6 +235,7 @@ int client_read_to(int *sock, StrBuf *Target, StrBuf *Buf, const char **Pos, int
                                        sock, 
                                        1, 
                                        bytes,
+                                       O_TERM,
                                        &Error);
        if (retval < 0) {
                lprintf(2, "client_read() failed: %s\n",