aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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.
2010-11-11buildconf: MAC OS X requires libtool version 1.5.26 or newerYang Tse
MAC OS X requires libtool version 1.5.26 or newer, otherwise configure will mishandle *.dSYM directories when it runs.
2010-11-11configure: remove temporary autobuilds exercising of xattr function testsYang Tse
2010-11-10configure: use autobuilds to temporarily exercise xattr function testsYang Tse
2010-11-10xattr: portability fixYang Tse
2010-11-10curl-functions: provide xattr function tests that also check number of argumentsYang Tse
2010-11-10test1120: verify FTP response 421Daniel Stenberg
curl mustn't try to use the control connection after the 421 is received
2010-11-10ftpserver.pl: spellfix commentDaniel Stenberg
2010-11-10TFTP: resend the correct dataRutger Hofman
I found a bug in tftp_tx() in tftp.c. If a data resend is done after reception of an ACK/OACK, the call to sendto is wrong.
2010-11-10write extended attributes by using fsetxattrStefan Tomanek
Instead of reopening the downloaded file, fsetxattr uses the (already open) file descriptor to attach extended attributes. This makes the procedure more robust against errors caused by moved or deleted files.
2010-11-09Check for getinfo errors before setting attributesDan Fandrich
2010-11-09ftp: treat server's response 421 as CURLE_OPERATION_TIMEDOUTKamil Dudka
Bug: https://bugzilla.redhat.com/650255 Reported by: Simon H.
2010-11-09symbols-in-version: add CURL_SOCKET_BADDaniel Stenberg
I also documented the filtering logic in the symbol-scan.pl function to clarify why not all CURL_* symbols are included.
2010-11-09serial number bumpYang Tse
2010-11-08ftp: close connection as soon as ABOR has been sentKamil Dudka
... and do not send ABOR unless really necessary. Bug: https://bugzilla.redhat.com/649347 Reported by: Simon H.
2010-11-08RELEASE-NOTES: synced with fc6c4c10f9faab08Daniel Stenberg
I also recounted and updated the command line and libcurl options.
2010-11-08help: indent the --xattr option like the othersDaniel Stenberg
2010-11-08curl.1: --resolve documentedDaniel Stenberg
2010-11-08CURLOPT_RESOLVE: documentedDaniel Stenberg
2010-11-08CURLOPT_USE_SSL: move from FTP options to connection optionsDaniel Stenberg
2010-11-08xattr-check: correct the comment as wellDaniel Stenberg
2010-11-08xattr: use const char * for const stringsDaniel Stenberg
2010-11-08setxattr: fix the checksDaniel Stenberg
My copy and paste job was a little too much copy and I missed to adjust it properly to sys/xattr.h all over and this is a fix to cure that.
2010-11-08CURLOPT_RESOLVE: addedDaniel Stenberg
CURLOPT_RESOLVE is a new option that sends along a curl_slist with name:port:address sets that will populate the DNS cache with entries so that request can be "fooled" to use another host than what otherwise would've been used. Previously we've encouraged the use of Host: for that when dealing with HTTP, but this new feature has the added bonus that it allows the name from the URL to be used for TLS SNI and server certificate name checks as well. This is a first change. Surely more will follow to make it decent.
2010-11-08fix compiler warningYang Tse
2010-11-07Added os-specific.c and xattr.c to the Symbian build filesDan Fandrich
2010-11-07xattr: fix VisualStudio buildsYang Tse
2010-11-07fix snapshot generationYang Tse
2010-11-05--libcurl: simplify outputDaniel Stenberg
Removed the code that was needed for libcurl before 7.19.0 which now is more than two years old. Simplified the top comment and corrected the URL.
2010-11-05LDAP: detect non-binary attributes properlyAlfred Gebert
If the query result has a binary attribute, the binary attribute is base64 encoded. But all following non binary attributes are also base64 encoded which is wrong. This is a test (LDAP server is public). curl ldap://x500.bund.de:389/o=Bund,c=DE?userCertificate,certificateSerialNumber?sub ?cn=*Woehleke*
2010-11-05xattr: add configure check and #ifdefsDaniel Stenberg
setxattr is a glibc call to set extended attributes, so configure now checks for it and the code is adapted to only build when the functionality is present.
2010-11-05save metadata to extended file attributesStefan Tomanek
It is often convinient to track back the source of a once downloaded file; this patch makes curl store the source URL and other metadata alongside the retrieved file by using the extended attributes (if supported by the file system and enabled by --xattr).
2010-11-05test: remove test 580Daniel Stenberg
Test 580 is removed again for two reasons: 1) Some compilers aren't satisfied by just a data variable called 'test' when first.o wants a function called 'test'. The Solaris compiler says "ld: warning: symbol `test' has differing types:" while the AIX compiler downright rejects it. 2) Test case 1119 that was added after this test is way more complete and cover everything test 580 does and more without introducing the same problems.
2010-11-05Revert: use Host: name for SNI and cert name checksDaniel Stenberg
This reverts commit b0fd03f5b8d4520dd232a9d13567d16bd0ad8951, 4b2fbe1e97891f, afecd1aa13b4f, 68cde058f66b3
2010-11-04TODO-RELEASE: "TLS SNI use Host:" is doneDaniel Stenberg
262 - Manual setting of TLS Server Name Indication - use Host:
2010-11-04RELEASE-NOTES: synced with 7b823badbcab9d330Daniel Stenberg
2010-11-04curl.1: added a few missing exit codesDaniel Stenberg
2010-11-04certcheck: use the custom Host: name for checksDaniel Stenberg
If you use a custom Host: name in a request to a SSL server, libcurl will now use that given name when it verifies the server certificate to be correct rather than using the host name used in the actual URL.
2010-11-04SNI: simplify the custom host name useDaniel Stenberg
The redirect check is already done at the position where the customhost field is assigned so there's no point in doing that a second time.