diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-14 10:27:13 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2017-06-14 10:27:13 +0100 |
commit | 99886642f9a7570895a41287d2d5908a325b32c4 (patch) | |
tree | 17ca796ef9cbff4d0f8f01bd3d1754f3acf8d35d /src/rspamd_proxy.c | |
parent | 34a8c93ce30342a01f0f5ba6b88d625c45974332 (diff) | |
download | rspamd-99886642f9a7570895a41287d2d5908a325b32c4.tar.gz rspamd-99886642f9a7570895a41287d2d5908a325b32c4.zip |
[Fix] Fix abstract context layout
Diffstat (limited to 'src/rspamd_proxy.c')
-rw-r--r-- | src/rspamd_proxy.c | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/src/rspamd_proxy.c b/src/rspamd_proxy.c index fdad35f2d..f96e008b7 100644 --- a/src/rspamd_proxy.c +++ b/src/rspamd_proxy.c @@ -99,13 +99,15 @@ static const guint64 rspamd_rspamd_proxy_magic = 0xcdeb4fd1fc351980ULL; struct rspamd_proxy_ctx { guint64 magic; - gdouble timeout; - struct timeval io_tv; - struct rspamd_config *cfg; - /* DNS resolver */ - struct rspamd_dns_resolver *resolver; /* Events base */ struct event_base *ev_base; + /* DNS resolver */ + struct rspamd_dns_resolver *resolver; + /* Config */ + struct rspamd_config *cfg; + /* END OF COMMON PART */ + gdouble timeout; + struct timeval io_tv; /* Encryption key for clients */ struct rspamd_cryptobox_keypair *key; /* Keys cache */ |