aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/surbl.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-21 17:24:48 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-21 17:24:48 +0100
commitbaa0aa0242b34d036cadcbf9f65dee311898d054 (patch)
treee9511691b6b1a077aa85bba10c87535414b1ce7a /src/plugins/surbl.h
parentea6b0baf7a349c4ca41b4bf41bed3c7764f414cf (diff)
downloadrspamd-baa0aa0242b34d036cadcbf9f65dee311898d054.tar.gz
rspamd-baa0aa0242b34d036cadcbf9f65dee311898d054.zip
Use normal HTTP library for surbl.
Diffstat (limited to 'src/plugins/surbl.h')
-rw-r--r--src/plugins/surbl.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/plugins/surbl.h b/src/plugins/surbl.h
index 0412192b9..74fdb24fd 100644
--- a/src/plugins/surbl.h
+++ b/src/plugins/surbl.h
@@ -57,12 +57,7 @@ struct redirector_param {
struct rspamd_url *url;
struct rspamd_task *task;
struct upstream *redirector;
- enum {
- STATE_CONNECT,
- STATE_READ
- } state;
- GString *buf;
- struct event ev;
+ struct rspamd_http_connection *conn;
gint sock;
GHashTable *tree;
struct suffix_item *suffix;