]> git.ipfire.org Git - thirdparty/rspamd.git/commitdiff
[Fix] Include slave cluster name into http request
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 May 2016 15:08:12 +0000 (16:08 +0100)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Mon, 23 May 2016 15:08:12 +0000 (16:08 +0100)
src/fuzzy_storage.c

index 2f7ba06968f523e4ba6f2065117f39d087129ce1..b233fccd6ab1b74df2a1c17feb7c01d70169e92a 100644 (file)
@@ -358,7 +358,7 @@ rspamd_fuzzy_send_update_mirror (struct rspamd_fuzzy_storage_ctx *ctx,
        }
 
        msg = rspamd_http_new_message (HTTP_REQUEST);
-       rspamd_printf_fstring (&msg->url, "/update_v1");
+       rspamd_printf_fstring (&msg->url, "/update_v1/%s", m->name);
 
        conn->http_conn = rspamd_http_connection_new (
                        NULL,