diff options
-rw-r--r-- | src/smtp.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)); |