]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
Remove extra ref of http connection on error.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Oct 2014 15:41:08 +0000 (16:41 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Wed, 8 Oct 2014 15:41:08 +0000 (16:41 +0100)
src/libutil/http.c

index debbad7bcc2f273885fc6244c7c640c23a71d687..c2d103b4ef8eb8bc2464a97d5c0a5c478b78a1c0 100644 (file)
@@ -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);