msg->method = HTTP_GET;
rspamd_http_connection_write_message_shared (bk_conn->backend_conn,
- msg, NULL, NULL, bk_conn,
+ msg, rspamd_upstream_name(bk_conn->up), NULL, bk_conn,
bk_conn->timeout);
}
else {
}
rspamd_http_connection_write_message (bk_conn->backend_conn,
- msg, NULL, NULL, bk_conn,
+ msg, rspamd_upstream_name(bk_conn->up), NULL, bk_conn,
bk_conn->timeout);
}
rspamd_http_connection_write_message_shared (
session->master_conn->backend_conn,
- msg, NULL, NULL, session->master_conn,
+ msg, rspamd_upstream_name(session->master_conn->up),
+ NULL, session->master_conn,
session->master_conn->timeout);
}
else {
rspamd_http_connection_write_message (
session->master_conn->backend_conn,
- msg, NULL, NULL, session->master_conn,
+ msg, rspamd_upstream_name(session->master_conn->up),
+ NULL, session->master_conn,
session->master_conn->timeout);
}
}