disabling EPSV is now possible

This commit is contained in:
Daniel Stenberg 2001-11-29 12:49:10 +00:00
parent 6a9697387a
commit 533c24a471
2 changed files with 2 additions and 1 deletions

View File

@ -584,7 +584,7 @@ CURLcode curl_global_init(long flags);
void curl_global_cleanup(void);
/* This is the version number */
#define LIBCURL_VERSION "7.9.2-pre3"
#define LIBCURL_VERSION "7.9.2-pre6"
#define LIBCURL_VERSION_NUM 0x070902
/* linked-list structure for the CURLOPT_QUOTE option (and other) */

View File

@ -1945,6 +1945,7 @@ static CURLcode CreateConnection(struct SessionHandle *data,
struct sigaction sigact;
sigaction(SIGALRM, NULL, &sigact);
keep_sigact = sigact;
keep_copysig = TRUE; /* yes, we have a copy */
sigact.sa_handler = alarmfunc;
#ifdef SA_RESTART
/* HPUX doesn't have SA_RESTART but defaults to that behaviour! */