diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-19 19:55:25 +0400 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2010-07-19 19:55:25 +0400 |
commit | e7f25690a5c13c2dc084aab4b5bd7dc8e052332e (patch) | |
tree | 7cde0034381450dc4ed87a7d78cc1a906e171ed9 /src/worker.c | |
parent | f5bc6840a7db6034eeec338454105814fabbfb32 (diff) | |
download | rspamd-e7f25690a5c13c2dc084aab4b5bd7dc8e052332e.tar.gz rspamd-e7f25690a5c13c2dc084aab4b5bd7dc8e052332e.zip |
* Handle cases of broken requests
Diffstat (limited to 'src/worker.c')
-rw-r--r-- | src/worker.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/worker.c b/src/worker.c index 8edf2ccce..15b73e2c7 100644 --- a/src/worker.c +++ b/src/worker.c @@ -351,6 +351,10 @@ read_socket (f_str_t * in, void *arg) return write_socket (task); } break; + case WRITE_REPLY: + case WRITE_ERROR: + return write_socket (task); + break; default: debug_task ("invalid state on reading stage"); break; |