aboutsummaryrefslogtreecommitdiff
path: root/ares/ares_gethostbyname.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-05-17 08:02:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-05-17 08:02:23 +0000
commite11710714c64f90a254dbd804f6bbf2380a28f2b (patch)
tree482a63631b06db18a97e561d29fa9ef7269676ad /ares/ares_gethostbyname.c
parent5b0bfc298ff7eb72e6c4a27d6153821240cd4138 (diff)
When waiting for the second connect, we now use alarm to timeout the waiting.
This is necessary in case the client never connects or somehow fails to do it timely. The timeout used now is only 2 seconds, which might cause problems on really slow hosts but longer times are painful when doing torture testing on FTP test cases. I'm not sure how this 'alarm' functionality works on Windows or other systems that don't actually have the alarm() function.
Diffstat (limited to 'ares/ares_gethostbyname.c')
0 files changed, 0 insertions, 0 deletions