diff options
author | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-10 14:59:25 +0300 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@rambler-co.ru> | 2009-03-10 14:59:25 +0300 |
commit | f209c7c4f6d8e50a5328a720ab05a6079c15d00e (patch) | |
tree | 5e719211a45e5aa9971fca4689d820da33df1f63 /src/url.c | |
parent | db2aa89316d180d8137f4f8f96b5193fd627e894 (diff) | |
download | rspamd-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |