Rob Crittenden fixed bug #1705802
(http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel Black identifying several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.
This commit is contained in:
parent
9d904ee41b
commit
fe1fe64fd4
6
CHANGES
6
CHANGES
@ -5,6 +5,12 @@
|
|||||||
\___|\___/|_| \_\_____|
|
\___|\___/|_| \_\_____|
|
||||||
|
|
||||||
Changelog
|
Changelog
|
||||||
|
Daniel S (25 May 2007)
|
||||||
|
- Rob Crittenden fixed bug #1705802
|
||||||
|
(http://curl.haxx.se/bug/view.cgi?id=1705802), which was filed by Daniel
|
||||||
|
Black identifying several FTP-SSL test cases fail when we build libcurl with
|
||||||
|
NSS for TLS/SSL. Listed as #42 in KNOWN_BUGS.
|
||||||
|
|
||||||
Daniel S (24 May 2007)
|
Daniel S (24 May 2007)
|
||||||
- Song Ma filed bug report #1724016
|
- Song Ma filed bug report #1724016
|
||||||
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
|
(http://curl.haxx.se/bug/view.cgi?id=1724016) noticing that downloading
|
||||||
|
@ -47,6 +47,7 @@ This release includes the following bugfixes:
|
|||||||
o improved curl -w for TFTP transfers
|
o improved curl -w for TFTP transfers
|
||||||
o memory leak when failed OpenSSL certificate CN field checking
|
o memory leak when failed OpenSSL certificate CN field checking
|
||||||
o memory leak when OpenSSL failed PKCS #12 parsing
|
o memory leak when OpenSSL failed PKCS #12 parsing
|
||||||
|
o FPL-SSL when built with NSS
|
||||||
|
|
||||||
This release includes the following known bugs:
|
This release includes the following known bugs:
|
||||||
|
|
||||||
@ -72,6 +73,6 @@ advice from friends like these:
|
|||||||
James Housley, Daniel Black, Steve Little, Sonia Subramanian, Peter O'Gorman,
|
James Housley, Daniel Black, Steve Little, Sonia Subramanian, Peter O'Gorman,
|
||||||
Frank Hempel, Michael Wallner, Jeff Pohlmeyer, Tobias Rundström,
|
Frank Hempel, Michael Wallner, Jeff Pohlmeyer, Tobias Rundström,
|
||||||
Anders Gustafsson, James Bursa, Kristian Gunstone, Feng Tu,
|
Anders Gustafsson, James Bursa, Kristian Gunstone, Feng Tu,
|
||||||
Andre Guibert de Bruet
|
Andre Guibert de Bruet, Rob Crittenden
|
||||||
|
|
||||||
Thanks! (and sorry if I forgot to mention someone)
|
Thanks! (and sorry if I forgot to mention someone)
|
||||||
|
@ -3,10 +3,6 @@ join in and help us correct one or more of these! Also be sure to check the
|
|||||||
changelog of the current development status, as one or more of these problems
|
changelog of the current development status, as one or more of these problems
|
||||||
may have been fixed since this was written!
|
may have been fixed since this was written!
|
||||||
|
|
||||||
42. Daniel Black filed bug report #1705802 where he accurately mentions that
|
|
||||||
several FTP-SSL test cases fail when we build libcurl with NSS for TLS/SSL:
|
|
||||||
http://curl.haxx.se/bug/view.cgi?id=1705802
|
|
||||||
|
|
||||||
41. When doing an operation over FTP that requires the ACCT command (but not
|
41. When doing an operation over FTP that requires the ACCT command (but not
|
||||||
when logging in), the operation will fail since libcurl doesn't detect this
|
when logging in), the operation will fail since libcurl doesn't detect this
|
||||||
and thus fails to issue the correct command:
|
and thus fails to issue the correct command:
|
||||||
|
@ -74,6 +74,8 @@ PRFileDesc *PR_ImportTCPSocket(PRInt32 osfd);
|
|||||||
static int initialized = 0;
|
static int initialized = 0;
|
||||||
static int noverify = 0;
|
static int noverify = 0;
|
||||||
|
|
||||||
|
#define HANDSHAKE_TIMEOUT 30
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
PRInt32 retryCount;
|
PRInt32 retryCount;
|
||||||
struct SessionHandle *data;
|
struct SessionHandle *data;
|
||||||
@ -513,6 +515,12 @@ CURLcode Curl_nss_connect(struct connectdata * conn, int sockindex)
|
|||||||
|
|
||||||
SSL_SetURL(connssl->handle, conn->host.name);
|
SSL_SetURL(connssl->handle, conn->host.name);
|
||||||
|
|
||||||
|
/* Force the handshake now */
|
||||||
|
if (SSL_ForceHandshakeWithTimeout(connssl->handle,
|
||||||
|
PR_SecondsToInterval(HANDSHAKE_TIMEOUT))
|
||||||
|
!= SECSuccess)
|
||||||
|
goto error;
|
||||||
|
|
||||||
return CURLE_OK;
|
return CURLE_OK;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user