]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Another fix to streaming handle.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 6 Jun 2013 16:21:26 +0000 (17:21 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 6 Jun 2013 16:21:26 +0000 (17:21 +0100)
src/worker.c

index f040729f1e8233cbbec0208fc5b45fcd07d3d440..e00ec8d4d44081f34b0dd55c31c731b983ede20b 100644 (file)
@@ -316,6 +316,7 @@ read_socket (f_str_t * in, void *arg)
                                task->dispatcher->want_read = FALSE;
                                return TRUE;
                        }
+                       task->dispatcher->want_read = FALSE;
                        if (in->len > 0) {
                                if (task->msg->begin == NULL) {
                                        /* Allocate buf */