aboutsummaryrefslogtreecommitdiffstats
path: root/src/libutil
diff options
context:
space:
mode:
authorVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-08 16:41:08 +0100
committerVsevolod Stakhov <vsevolod@highsecure.ru>2014-10-08 16:41:08 +0100
commitc087234efccdf5d613ffe94f2ba6b1ddbbdf836f (patch)
tree42c228d80575b7937741dba284415d4993ea617e /src/libutil
parent10acf9beeee22af3703f84315635dd51858a3290 (diff)
downloadrspamd-c087234efccdf5d613ffe94f2ba6b1ddbbdf836f.tar.gz
rspamd-c087234efccdf5d613ffe94f2ba6b1ddbbdf836f.zip
Remove extra ref of http connection on error.
Diffstat (limited to 'src/libutil')
-rw-r--r--src/libutil/http.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libutil/http.c b/src/libutil/http.c
index debbad7bc..c2d103b4e 100644
--- a/src/libutil/http.c
+++ b/src/libutil/http.c
@@ -723,7 +723,6 @@ rspamd_http_event_handler (int fd, short what, gpointer ud)
else if (what == EV_TIMEOUT) {
err = g_error_new (HTTP_ERROR, ETIMEDOUT,
"IO timeout");
- rspamd_http_connection_ref (conn);
conn->error_handler (conn, err);
g_error_free (err);