--- ./pan-0.13.3.ref/pan/sockets.c Fri Dec 20 20:36:15 2002 +++ ./pan-0.13.3/pan/sockets.c Mon Jan 6 01:11:02 2003 @@ -230,9 +230,9 @@ FD_ZERO (&read_fds); FD_SET (ps->sockfd, &read_fds); - /* wait 60 seconds for an OK to read */ + /* wait 300 seconds for an OK to read good for distant connections */ errno = 0; - tv.tv_sec = 60; + tv.tv_sec = 300; tv.tv_usec = 0; select (ps->sockfd+1, &read_fds, NULL, NULL, &tv); my_errno = errno;