diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-21 17:24:48 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2015-04-21 17:24:48 +0100 |
commit | baa0aa0242b34d036cadcbf9f65dee311898d054 (patch) | |
tree | e9511691b6b1a077aa85bba10c87535414b1ce7a /src/plugins/surbl.h | |
parent | ea6b0baf7a349c4ca41b4bf41bed3c7764f414cf (diff) | |
download | rspamd-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.h | 7 |
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; |