aboutsummaryrefslogtreecommitdiffstats
path: root/src/url.c
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-10 14:59:25 +0300
committerVsevolod Stakhov <vsevolod@rambler-co.ru>2009-03-10 14:59:25 +0300
commitf209c7c4f6d8e50a5328a720ab05a6079c15d00e (patch)
tree5e719211a45e5aa9971fca4689d820da33df1f63 /src/url.c
parentdb2aa89316d180d8137f4f8f96b5193fd627e894 (diff)
downloadrspamd-f209c7c4f6d8e50a5328a720ab05a6079c15d00e.tar.gz
rspamd-f209c7c4f6d8e50a5328a720ab05a6079c15d00e.zip
* Avoid extra requests to surbls saving them into requests cache
* Lower debug level for some errors (INFO to DEBUG)
Diffstat (limited to 'src/url.c')
-rw-r--r--src/url.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/url.c b/src/url.c
index c2575f3c8..ff08615aa 100644
--- a/src/url.c
+++ b/src/url.c
@@ -878,7 +878,7 @@ url_parse_text (struct worker_task *task, GByteArray *content)
if (new != NULL) {
rc = parse_uri (new, url_str, task->task_pool);
if (rc != URI_ERRNO_OK) {
- msg_info ("url_parse_html: error while parsing url %s: %s", url_str, url_strerror (rc));
+ msg_debug ("url_parse_html: error while parsing url %s: %s", url_str, url_strerror (rc));
}
if (rc != URI_ERRNO_EMPTY && rc != URI_ERRNO_NO_HOST) {
TAILQ_INSERT_TAIL (&task->urls, new, next);
@@ -928,7 +928,7 @@ url_parse_html (struct worker_task *task, GByteArray *content)
if (new != NULL) {
rc = parse_uri (new, url_str, task->task_pool);
if (rc != URI_ERRNO_OK) {
- msg_info ("url_parse_html: error while parsing url %s: %s", url_str, url_strerror (rc));
+ msg_debug ("url_parse_html: error while parsing url %s: %s", url_str, url_strerror (rc));
}
if (rc != URI_ERRNO_EMPTY && rc != URI_ERRNO_NO_HOST) {
TAILQ_INSERT_TAIL (&task->urls, new, next);