aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2010-11-17configure: Prevent link errors with --librtmp.Julien Chaffraix
If --librtmp was specified but pkg-config could not find the librtmp file, we would have undefined symbols when linking curl. We prevent this error by disabling this case as suggested on the mailing list.
2010-11-15RELEASE-NOTES: synced with cbf4961bf3e4Daniel Stenberg
2010-11-14gnutls->handshake: improved timeout handlingDaniel Stenberg
When no timeout is set, we call the socket_ready function with a timeout value of 0 during handshake, which makes it loop too much/fast in this function. It also made this function return CURLE_OPERATION_TIMEDOUT wrongly on a slow handshake. However, the particular bug report that highlighted this problem is not solved by this fix, as this fix only makes the more proper error get reported instead. Bug: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=594150 Reported by: Johannes Ernst
2010-11-13urldata: Capitalize enum protect_level values.Julien Chaffraix
This makes it easier to spot the enum values from the variables. Removed some unneeded DEBUGASSERT added in the previous commit.
2010-11-13security: tighten enum protection_level usage.Julien Chaffraix
While changing Curl_sec_read_msg to accept an enum protection_level instead of an int, I went ahead and fixed the usage of the associated fields. Some code was assuming that prot_clear == 0. Fixed those to use the proper value. Added assertions prior to any code that would set the protection level.
2010-11-13configure: fix autoconf 2.68 warning: no AC_LANG_SOURCE call detected in bodyYang Tse
2010-11-12curl.1: "a file", not anDaniel Stenberg
2010-11-12version-check.pl: display version number for symbolsDaniel Stenberg
This script is the start of a helper tool that scans a source code and outputs the most recent libcurl version it finds symbols for. Meaning that if there's no conditions in the code, that's the earliest libcurl version the scanned code requires. It is not added to the Makefile.am yet as it is still a bit crude, but I'm committing it to keep it and allow us to work on it.
2010-11-12Makefile.vc6: fixed the xattr.c compileAdam Light
2010-11-12krb5: Use GSS_ERROR to check for error.Julien Chaffraix
This is the advised way of checking for errors in the GSS-API RFC. Also added some '\n' to the error message so that they are not mixed with other outputs.
2010-11-12security: Pass the right parameter to init.Julien Chaffraix
init is expecting app_data. Passing it the struct connecdata would make us crash later.
2010-11-11HTTP Auth: Add CURLAUTH_ONLYDaniel Stenberg
This is a meta symbol. OR this value together with a single specific auth value to force libcurl to probe for un-restricted auth and if not, only that single auth algorithm is acceptable. For example you can use CURLAUTH_DIGEST|CURLAUTH_ONLY to make libcurl first probe for what method to use, but yet only consider Digest to be acceptable. Using _only_ CURLAUTH_DIGEST without the CURLAUTH_ONLY field, will make libcurl explicitly use Digest right away and not do any probing.
2010-11-11ip_version: moved to connection structDaniel Stenberg
The IP version choice was previously only in the UserDefined struct within the SessionHandle, but since we sometimes alter that option during a request we need to have it on a per-connection basis. I also moved more "init conn" code into the allocate_conn() function which is designed for that purpose more or less.