aboutsummaryrefslogtreecommitdiffstats
path: root/src/libserver/url.h
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-15 15:09:59 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2015-04-15 15:09:59 +0100
commit055c4b9f6fb365c80a4075b26fb3b5d005e79cc4 (patch)
treed7e112372caa678b29f77da36db0c0c6776a9bae /src/libserver/url.h
parent1259f3bb95bb5b450cc1543f9dae701bf4fe7fcb (diff)
downloadrspamd-055c4b9f6fb365c80a4075b26fb3b5d005e79cc4.tar.gz
rspamd-055c4b9f6fb365c80a4075b26fb3b5d005e79cc4.zip
Remove some of unused url fields.
Diffstat (limited to 'src/libserver/url.h')
-rw-r--r--src/libserver/url.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/src/libserver/url.h b/src/libserver/url.h
index 1c76294cd..664f1a945 100644
--- a/src/libserver/url.h
+++ b/src/libserver/url.h
@@ -12,8 +12,6 @@ struct rspamd_url {
gchar *string;
gint protocol;
- gint ip_family;
-
gchar *user;
gchar *password;
gchar *host;
@@ -21,7 +19,6 @@ struct rspamd_url {
gchar *data;
gchar *query;
gchar *fragment;
- gchar *post;
gchar *surbl;
struct rspamd_url *phished_url;
@@ -30,15 +27,13 @@ struct rspamd_url {
guint userlen;
guint passwordlen;
guint hostlen;
- guint portlen;
guint datalen;
guint querylen;
guint fragmentlen;
guint surbllen;
- /* Flags */
- gboolean ipv6; /* URI contains IPv6 host */
- gboolean form; /* URI originated from form */
+ guint urllen;
+
gboolean is_phished; /* URI maybe phishing */
};