This manifests itself when run under noip, which uses Unix-domain sockets
instead. The problem is to do with the timer, which isn't active at the
the that conn_init is called.
goto fail;
gettimeofday(&tv, 0);
TV_ADD(&tv, &tv, &ctv);
goto fail;
gettimeofday(&tv, 0);
TV_ADD(&tv, &tv, &ctv);
+ sel_addtimer(&sel, &b->t, &tv, timeout, b);
if (conn_init(&b->c, &sel, fd, (struct sockaddr *)&sin, sizeof(sin),
connected, b))
goto fail;
if (conn_init(&b->c, &sel, fd, (struct sockaddr *)&sin, sizeof(sin),
connected, b))
goto fail;
- sel_addtimer(&sel, &b->t, &tv, timeout, b);