aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-05-27DOCS: Corrected the "Added in" version number for CURLOPT_MAIL_AUTHSteve Holme
Additionally corrected another RFC link that I missed yesterday.
2012-05-27pop3: Added support for SASL based authentication mechanism detectionSteve Holme
Added support for detecting the supported SASL authentication mechanisms via the AUTH command. There are two ways of detecting them, either by using the AUTH command, that will return -ERR if not supported or by using the CAPA command which will return SASL and the list of mechanisms if supported, not include SASL if SASL authentication is not supported or -ERR if the CAPA command is not supported. As such it seems simpler to use the AUTH command and fallback to normal clear text authentication if the the command is not supported. Additionally updated the test cases to return -ERR when the AUTH command is encountered. Additional test cases will be added when support for the individual authentication mechanisms is added.
2012-05-27pop3: remove trailing whitespaceDaniel Stenberg
2012-05-27pop3: Code tidy up before the introduction of authentication codeSteve Holme
Moved EOB definition into header file. Switched the logic around in pop3_endofresp() to allow for the introduction of auth-mechanism detection. Repositioned second and third function variables where they will fit within the 78 character line limit. Tidied up some comments.
2012-05-27Enabled OpenSSL static linkage.Guenter Knauf
2012-05-27Enabled OpenSSL static linkage.Guenter Knauf
2012-05-27Try to detect OpenSSL build type automatically.Guenter Knauf
2012-05-26metalink: fix build errors when disabledDaniel Stenberg
2012-05-26Reduced #ifdef HAVE_METALINKTatsuhiro Tsujikawa
2012-05-26Disable hash check if neither OpenSSL nor GNUTLS is installed.Tatsuhiro Tsujikawa
2012-05-26Format GETOUT_METALINK nicelyTatsuhiro Tsujikawa
2012-05-26Minimize usage of structs from libmetalinkTatsuhiro Tsujikawa
2012-05-26Check checksum of downloaded file if checksum is availableTatsuhiro Tsujikawa
Metalink file contains several hash types of checksums, such as md5, sha-1, sha-256, etc. To deal with these checksums, I created abstraction layer based on lib/curl_md5.h and lib/md5.c. Basically, they are almost the same but I changed the code so that it is not hash type dependent. Currently, GNUTLS(nettle or gcrypt) and OpenSSL functions are supported. Checksum checking is done by reopening download file. If there is an I/O error, the current implementation just prints error message and does not try next resource. In this patch, the supported hash types are: md5, sha-1 and sha-256.
2012-05-26Always create directory hierarchy for Metalink.Tatsuhiro Tsujikawa
Filenames contained in Metalink file can include directory information. Filenames are unique in Metalink file, taking into account the directory information. So we need to create the directory hierarchy. Curl has --create-dirs option, but we create directory hierarchy for Metalink downloads regardless of the option value. This patch also put metalink int variable outside of HAVE_LIBMETALINK guard. This reduces the number of #ifdefs.
2012-05-26Fixed segmentation fault when Metalink has no valid file or no resource.Tatsuhiro Tsujikawa
2012-05-26Support media-type parameter in Content-TypeTatsuhiro Tsujikawa
2012-05-26Print "Metalink" in Features if Metalink support is enabled.Tatsuhiro Tsujikawa
2012-05-26Removed trailing spaceTatsuhiro Tsujikawa
2012-05-26Add --metalink to --helpant
2012-05-26Add Metalink information and --metalink option to man pageant
2012-05-26Add Metalink information and --metalink option to man pageant
2012-05-26Adds Metalink information to INSTALLant
2012-05-26--metalink option is available regardless of Metalink support.Tatsuhiro Tsujikawa
2012-05-26metalink: parse downloaded Metalink fileTatsuhiro Tsujikawa
Parse downloaded Metalink file and add downloads described there. Fixed compile error without metalink support.
2012-05-26Fixed HAVE_LIBMETALINK conditional is always trueTatsuhiro Tsujikawa
2012-05-26metalink: minor metalinkfile fixTatsuhiro Tsujikawa
Don't update config->metalinkfile_last in operate(). Use local variable to point to the current metalinkfile.
2012-05-26metalink: show help message even if disabledTatsuhiro Tsujikawa
Print message if --metalink is used while metalink support is not enabled. Migrated Metalink support in tool_operate.c and removed operatemetalink().
2012-05-26Applied patches from DanielTatsuhiro Tsujikawa
2012-05-26Support Metalink.Tatsuhiro Tsujikawa
This change adds experimental Metalink support to curl. To enable Metalink support, run configure with --with-libmetalink. To feed Metalink file to curl, use --metalink option like this: $ curl -O --metalink foo.metalink We use libmetalink to parse Metalink files.
2012-05-26DOCS: Fixed line spacing of authentication examples in CURLOPT_URLSteve Holme
2012-05-26DOCS: Changed domain names in various examples to example.comSteve Holme
Updated various references of real domain names to example.com as per RFC-2606.
2012-05-26DOCS: Fixed meaning of bit 2 in CURLOPT_POSTREDIRSteve Holme
Setting bit 2 for this value was documented as having a constant value defined as CURL_REDIR_POST_303 yet referenced a 302 request. Additionally corrected the meaning of CURL_REDIR_POST_ALL for all three bits and fixed problems with the bolding of keywords in this section.
2012-05-26DOCS: Standardised how RFCs are referenced.Steve Holme
Standardised how RFCs are referenced so that the website may autolink to the correct documentation on ietf.org. Additionally removed the one link to RFC3986 on curl.haxx.se.
2012-05-26Fix libcurl.pc and curl-config generation for static MingW* cross buildsYang Tse
2012-05-25Made -D option work with -O and -J.Tatsuhiro Tsujikawa
To achieve this, first new structure HeaderData is defined to hold necessary data to perform header-related work. Then tool_header_cb now receives HeaderData pointer as userdata. All header-related work (currently, dumping header and Content-Disposition inspection) are done in this callback function. HeaderData.outs->config is used to determine whether each work is done. Unit tests were also updated because after this change, curl code always sets CURLOPT_HEADERFUNCTION and CURLOPT_HEADERDATA. Tested with -O -J -D, -O -J -i and -O -J -D -i and all worked fine.
2012-05-25sasl: Re-factored auth-mechanism constants to be more genericSteve Holme
2012-05-25smtp: Moved auth-mechanism constants into a separate header fileSteve Holme
Move the SMTP_AUTH constants into a separate header file in preparation for adding SASL based authentication to POP3 as the two protocols will need to share them.
2012-05-25nss: avoid using explicit casts of code pointersKamil Dudka
2012-05-24DOCS: Added LDAP to the CURLOPT_URL sectionSteve Holme
2012-05-24TODO: Removed DIGEST-MD5 authentication from SMTP to do listSteve Holme
Removed DIGEST-MD5 from Section 9.1 Other authentication mechanisms as the feature was added to SMTP in 7.26.0. Also corrected small spelling mistake.
2012-05-24bump to 7.26.1: start working towards next releaseDaniel Stenberg
2012-05-24RELEASE-NOTES: synced with ef60fdbd73Daniel Stenberg
Just before 7.26.0 is about to ship
2012-05-22smtp: Fixed an issue with the multi-interface always sending postdataSteve Holme
Due to the result code being reset to CURLE_OK when smtp_dophase_done() was called, postdata would incorrectly be sent to the server when the MAIL FROM or RCPT command was rejected. As such, libcurl would return the wrong result code from performing the operation and additionally set CURLINFO_RESPONSE_CODE to be that returned by the postdata command. Bug: http://curl.haxx.se/mail/lib-2012-05/0108.html Reported by: Gokhan Sengun
2012-05-22DOCS: Updated version number for features added in the pending releaseSteve Holme
2012-05-22Fixed compile error with GNUTLS+NETTLETatsuhiro Tsujikawa
In nettle/md5.h, md5_init and md5_update are defined as macros to nettle_md5_init and nettle_md5_update respectively. This causes error when using MD5_params.md5_init and md5_update. This patch renames these members as md5_init_func and md5_update_func to avoid name conflict. For completeness, MD5_params.md5_final was also renamed as md5_final_func. The changes in curl_ntlm_core.c is conversion error and fixed by casting to proper type.
2012-05-22TODO-RELEASE: mention the pending biggies for 7.27.0Daniel Stenberg
2012-05-22winbuild: fix IPv6 enabled buildJan Ehrhardt
The existing check was wrong so IPv6 support would never be enabled
2012-05-227.26.0: will be the next release versionDaniel Stenberg
2012-05-22RELEASE-NOTES: synced with 8ae1e657e82aDaniel Stenberg
And mention that this will become 7.26.0
2012-05-22Updated dependency libary versions.Guenter Knauf