diff options
author | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-08 16:41:08 +0100 |
---|---|---|
committer | Vsevolod Stakhov <vsevolod@highsecure.ru> | 2014-10-08 16:41:08 +0100 |
commit | c087234efccdf5d613ffe94f2ba6b1ddbbdf836f (patch) | |
tree | 42c228d80575b7937741dba284415d4993ea617e /src/libutil | |
parent | 10acf9beeee22af3703f84315635dd51858a3290 (diff) | |
download | rspamd-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.c | 1 |
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); |