Displaying 1 result from an estimated 1 matches for "connect_retry_count".
2017 Apr 14
0
Test error: net_connect_ip(127.0.0.1:0) failed: Can't assign requested address
...c_client_settings test_imapc_default_settings = {
.host = "127.0.0.1",
.username = "testuser",
.password = "testpass",
.dns_client_socket_path = "",
.temp_path_prefix = ".test-tmp/",
.rawlog_dir = "",
.connect_timeout_msecs = 500,
.connect_retry_count = 3,
.connect_retry_interval_msecs = 10,
.max_idle_time = 10000,
};
The client fails if the server is not listening...
Is the test server listening?
static int test_open_server_fd(in_port_t *bind_port)
{
int fd = net_listen(&bind_ip, bind_port, 128);
if (debug)
i_debug("server lis...