Skip to main content

config_get_domain_host_failure_retry

Last updated March 2020

Name

config_get_domain_host_failure_retry — Determine whether there should be another delivery attempt

Synopsis

#include "hooks/auto/host_failure_retry.h"

| int **core_config_get_host_failure_retry** ( | closure, |   | |   | caller_scope, |   | |   | value); |   |

void * <var class="pdparam">closure</var>; generic_module_infrastructure * <var class="pdparam">caller_scope</var>; int * <var class="pdparam">value</var>;

Description

This hook is called to determine whether a delivery should be attempted after a connection failure. The wait period before attempting a retry is determined by the configuration option host_failure_retry.

Parameters

closure

The closure function. This parameter can be NULL.

caller_scope

The module infrastructure. For more information see generic_module_infrastructure.

value

The value of host_failure_retry that is returned to the operating system. This parameter is optional.

Return Values

When this hook returns non-zero, no further hook providers are called, and the value that the hook provider returned is returned to the caller of the hook.

Threading

This hook will be invoked in any thread.

See Also

Was this page helpful?