aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-12-07easy: fix compiler warning: end-of-loop code not reachedYang Tse
2010-12-06disconnect: pass on the dead_connection argumentDaniel Stenberg
Cleanup fix after Kamil's commit 5c7c9a768d0093
2010-12-06sws: fix compier warning: external definition with no prior declarationYang Tse
2010-12-06ossl_connect_common: detect connection re-useHeinrich Ko
ossl_connect_common() now checks whether or not 'struct connectdata->state' is equal 'ssl_connection_complete' and if so, will return CURLE_OK with 'done' set to 'TRUE'. This check prevents ossl_connect_common() from creating a new ssl connection on an existing ssl session which causes openssl to fail when it tries to parse an encrypted TLS packet since the cipher data was effectively thrown away when the new ssl connection was created. Bug: http://curl.haxx.se/mail/lib-2010-11/0169.html
2010-12-06url: provide dead_connection flag in Curl_handler::disconnectKamil Dudka
It helps to prevent a hangup with some FTP servers in case idle session timeout has exceeded. But it may be useful also for other protocols that send any quit message on disconnect. Currently used by FTP, POP3, IMAP and SMTP.
2010-12-06ssh: fix a download resume point calculationYang Tse
2010-12-05Curl_wait_for_resolv: correct timeoutDaniel Stenberg
When looping in this function and checking for the timeout being expired, it was not updating the reference time when calculating the timediff since previous round which made it think each subsequent loop to have taken longer than it actually did. I also modified the function to use the generic Curl_timeleft() function instead of the custom logic. Bug: http://curl.haxx.se/bug/view.cgi?id=3112579
2010-12-05Curl_send/recv_plain: return errno on failureDaniel Stenberg
When send() and recv() fail, we now store the errno value to allow the app to access it. Bug: http://curl.haxx.se/bug/view.cgi?id=3128121 Reported by: Yuri
2010-12-05Updated OpenSSL version.Guenter Knauf
2010-12-04fix compiler warning: conversion may lose significant bitsYang Tse
2010-12-03fix compiler warning: assignment within conditional expressionYang Tse
2010-12-03fix getinfo CURLINFO_LOCAL* for reused connections (take 2) follow-upYang Tse
- Show address string from proper buffer in case of connection failure. - Try next address when inet_ntop() fails.
2010-12-03version-check: added brief documentationDaniel Stenberg
and the traditional source header
2010-12-03build: provide SIZEOF_SIZE_T DOS definitionYang Tse
2010-12-03build: lib/config.dos renamed to lib/config-dos.hYang Tse
2010-12-03build: provide SIZEOF_SIZE_T VMS definitionYang Tse
2010-12-03build: move config-vms.h from subdir 'packages/vms' into 'lib'Yang Tse
2010-12-02build: provide SIZEOF_SIZE_T definition for non-configure buildsYang Tse
2010-12-02build: provide SIZEOF_SIZE_T netware definitionYang Tse
2010-12-02configure: undo using autobuilds to temporarily verify strict aliasing warnings.Yang Tse
2010-12-02fix compiler warning: rounding, sign extension, or loss of accuracy may resultYang Tse
2010-12-02fix compiler warning: statement is not reachableYang Tse
2010-12-01fix compiler warning: conversion may lose significant bitsYang Tse
2010-12-01connect: fix compiler warning: unused variableYang Tse
2010-11-30fix getinfo CURLINFO_LOCAL* for reused connections (take 2)Yang Tse
2010-11-30fix getinfo CURLINFO_LOCAL* for reused connections follow-upYang Tse
Reinstate IPV6 build variable that got removed.
2010-11-30fix getinfo CURLINFO_LOCAL* for reused connectionsYang Tse
Failed to commit this file changes along with the others.
2010-11-30fix getinfo CURLINFO_LOCAL* for reused connectionsYang Tse
2010-11-28atoi: remove atoi usageYang Tse
2010-11-28multi: fix compiler warning: conversion may lose significant bits follow-upYang Tse
2010-11-26ftp: fix 'bool' data type implementation dependant usageYang Tse
2010-11-26multi: fix compiler warning: conversion may lose significant bitsYang Tse
2010-11-26multi: fix compiler warning: enumerated type mixed with another typeYang Tse
2010-11-26hostip: edit commentYang Tse
2010-11-26xattr: fix compiler warning: enumerated type mixed with another typeYang Tse
2010-11-26s/isspace/ISSPACEYang Tse
2010-11-25symbol-scan: use configure script knowledge about how to run the C preprocessorYang Tse
2010-11-25ignore file generated by configureYang Tse
2010-11-25curl_multi_info_read: fix compiler warning: conversion may lose significant bitsYang Tse
2010-11-25inet_pton: fix compiler warningYang Tse
warning C4146: unary minus operator applied to unsigned type, result still unsigned
2010-11-24Curl_getaddrinfo_ex: sanitize function results follow-up.Yang Tse
2010-11-23Curl_getaddrinfo_ex: sanitize function results.Yang Tse
Ensure that spurious results from system's getaddrinfo() ares not propagated by Curl_getaddrinfo_ex() into the library. Also ensure that the ai_addrlen member of Curl_getaddrinfo_ex()'s output linked list of Curl_addrinfo structures has appropriate family-specific address size.
2010-11-22openldap: use remote port in URL passed to ldap_init_fd()Kamil Dudka
... not the proxy port. It makes no difference unless a proxy is used.
2010-11-20gtls: define and use gtls_EAGAIN, gtls_EINTR and gtls_EIO.Yang Tse
Winsock builds clobber some errno.h defines in setup_once.
2010-11-19Added a couple examples that were missing from the tar ballDan Fandrich
2010-11-19Check for errors while preprocessing curl.h in test 1119Dan Fandrich
This showed a problem when running the test out-of-tree, so an include path is now being added to pick up the generated curlbuild.h file.
2010-11-19Use the 3-argument open for compatibility with older perlsDan Fandrich
2010-11-19Detect socket errors in GnuTLS on WindowsMatthias Bolte
On Windows, translate WSAGetLastError() to errno values as GNU TLS does it internally, too. This is necessary because send() and recv() on Windows don't set errno when they fail but GNU TLS expects a proper errno value. Bug: http://curl.haxx.se/bug/view.cgi?id=3110991
2010-11-19test servers: fix strict aliasing compiler warningsYang Tse
2010-11-18configure: use autobuilds to temporarily verify strict aliasing warnings.Yang Tse
Temporarily, When cross-compiling with gcc 3.0 or later, enable strict aliasing rules and warnings. Given that cross-compiled targets autobuilds do not run the