aboutsummaryrefslogtreecommitdiffstats
path: root/src/fuzzy_storage.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:13:24 +0400
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-08-25 15:13:24 +0400
commitab8f97db48ceefef5fdf47ea8a5954da635ffa31 (patch)
tree41fcd689903bbc215f168d0db7ff3ca697197da4 /src/fuzzy_storage.h
parent034d3a91d5c60328bd99fc279f2a0ffa89d258d1 (diff)
downloadrspamd-ab8f97db48ceefef5fdf47ea8a5954da635ffa31.tar.gz
rspamd-ab8f97db48ceefef5fdf47ea8a5954da635ffa31.zip
* Migrate fuzzy storage to use UDP instead of TCP
Diffstat (limited to 'src/fuzzy_storage.h')
-rw-r--r--src/fuzzy_storage.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fuzzy_storage.h b/src/fuzzy_storage.h
index 533ecaf13..b03acfacb 100644
--- a/src/fuzzy_storage.h
+++ b/src/fuzzy_storage.h
@@ -18,11 +18,11 @@ struct fuzzy_cmd {
struct fuzzy_session {
struct rspamd_worker *worker;
- struct event ev;
struct fuzzy_cmd cmd;
- struct timeval tv;
int fd;
u_char *pos;
+ int salen;
+ struct sockaddr sa;
};
void start_fuzzy_storage (struct rspamd_worker *worker);