Displaying 1 result from an estimated 1 matches for "ourset".
2000 Jun 06
0
connection timeout
...connection_timeout,
int anonymous, uid_t original_real_uid,
const char *proxy_command)
{
@@ -230,6 +232,9 @@
/* Loop through addresses for this host, and try each one in
sequence until the connection succeeds. */
for (ai = aitop; ai; ai = ai->ai_next) {
+ fd_set ourset;
+ struct timeval timeout;
+
if (ai->ai_family != AF_INET && ai->ai_family != AF_INET6)
continue;
if (getnameinfo(ai->ai_addr, ai->ai_addrlen,
@@ -253,7 +258,15 @@
* the remote uid as root.
*/
temporarily_use_uid(original_real_uid);
- if (connect(s...