Skip to content
Commit e1171071 authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

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.
parent 5b0bfc29
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment