]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
lmtp: proxy: Use client.event for SMTP client connection.
authorStephan Bosch <stephan.bosch@dovecot.fi>
Thu, 27 Dec 2018 21:39:20 +0000 (22:39 +0100)
committerVille Savolainen <ville.savolainen@dovecot.fi>
Fri, 28 Jun 2019 07:09:57 +0000 (10:09 +0300)
src/lmtp/lmtp-proxy.c

index c149430568d0ca4ea8c9cc583cb74f50d22442f3..c990f5b7b701cb94706d39c54d9cee4950e1d655 100644 (file)
@@ -123,6 +123,7 @@ lmtp_proxy_init(struct client *client,
                lmtp_set.proxy_data.ttl_plus_1 = LMTP_PROXY_DEFAULT_TTL + 1;
        else
                lmtp_set.proxy_data.ttl_plus_1--;
+       lmtp_set.event_parent = client->event;
 
        proxy->lmtp_client = smtp_client_init(&lmtp_set);