]> granicus.if.org Git - curl/commit
When waiting for the second connect, we now use alarm to timeout the waiting.
authorDaniel Stenberg <daniel@haxx.se>
Mon, 17 May 2004 08:02:23 +0000 (08:02 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 17 May 2004 08:02:23 +0000 (08:02 +0000)
commite11710714c64f90a254dbd804f6bbf2380a28f2b
tree482a63631b06db18a97e561d29fa9ef7269676ad
parent5b0bfc298ff7eb72e6c4a27d6153821240cd4138
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.
tests/ftpserver.pl