push-notification-driver-ox.c (dovecot-2.3.16) | : | push-notification-driver-ox.c (dovecot-2.3.17) | ||
---|---|---|---|---|
skipping to change at line 76 | skipping to change at line 76 | |||
if (ox_global->http_client == NULL) { | if (ox_global->http_client == NULL) { | |||
/* This is going to use the first user's settings, but these are | /* This is going to use the first user's settings, but these are | |||
unlikely to change between users so it shouldn't matter much. | unlikely to change between users so it shouldn't matter much. | |||
*/ | */ | |||
i_zero(&http_set); | i_zero(&http_set); | |||
http_set.debug = user->mail_debug; | http_set.debug = user->mail_debug; | |||
http_set.max_attempts = config->http_max_retries+1; | http_set.max_attempts = config->http_max_retries+1; | |||
http_set.request_timeout_msecs = config->http_timeout_msecs; | http_set.request_timeout_msecs = config->http_timeout_msecs; | |||
http_set.event_parent = user->event; | http_set.event_parent = user->event; | |||
i_zero(&ssl_set); | ||||
mail_user_init_ssl_client_settings(user, &ssl_set); | mail_user_init_ssl_client_settings(user, &ssl_set); | |||
http_set.ssl = &ssl_set; | http_set.ssl = &ssl_set; | |||
ox_global->http_client = http_client_init(&http_set); | ox_global->http_client = http_client_init(&http_set); | |||
} | } | |||
} | } | |||
static int | static int | |||
push_notification_driver_ox_init(struct push_notification_driver_config *config, | push_notification_driver_ox_init(struct push_notification_driver_config *config, | |||
struct mail_user *user, pool_t pool, | struct mail_user *user, pool_t pool, | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 0 lines changed or added |