From 8295b2b3bc80219658818862f9cb0d22e09d04bd Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Mon, 12 Jul 2010 16:11:17 +0400 Subject: [PATCH] * Set resolver inside task --- src/smtp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/smtp.c b/src/smtp.c index 4108d56e4..e8b6023bb 100644 --- a/src/smtp.c +++ b/src/smtp.c @@ -373,6 +373,7 @@ process_smtp_data (struct smtp_session *session) session->temp_size = st.st_size; if (session->ctx->max_size == 0 || st.st_size < session->ctx->max_size) { session->task = construct_task (session->worker); + session->task->resolver = session->resolver; session->task->fin_callback = smtp_write_socket; session->task->fin_arg = session; session->task->msg = memory_pool_alloc (session->pool, sizeof (f_str_t)); -- 2.39.5