Browse Source

Be more generous with socket connect timeouts

master
Con Kolivas 11 years ago
parent
commit
251ac7e7fe
  1. 2
      src/libckpool.c

2
src/libckpool.c

@ -410,7 +410,7 @@ int connect_socket(char *url, char *port)
* we can connect to quickly. */
noblock_socket(sockd);
if (connect(sockd, p->ai_addr, p->ai_addrlen) == -1) {
struct timeval tv_timeout = {1, 0};
struct timeval tv_timeout = {5, 0};
int selret;
fd_set rw;

Loading…
Cancel
Save