diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-05-17 08:02:23 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-05-17 08:02:23 +0000 |
commit | e11710714c64f90a254dbd804f6bbf2380a28f2b (patch) | |
tree | 482a63631b06db18a97e561d29fa9ef7269676ad /lib/getinfo.c | |
parent | 5b0bfc298ff7eb72e6c4a27d6153821240cd4138 (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 'lib/getinfo.c')
0 files changed, 0 insertions, 0 deletions