aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-06-28lib582.c: fix conversion warningYang Tse
2012-06-28nss.c: #include warnless.h for curlx_uztosi and curlx_uztoui prototypesYang Tse
2012-06-28nss.c: Fixed size_t conversion warningsMarc Hoersken
2012-06-28sslgen.c: cleanup temporary compile-time SSL-backend checkYang Tse
2012-06-28schannel: provide two additional (dummy) API definesDaniel Stenberg
2012-06-28Metalink: message updatesTatsuhiro Tsujikawa
Print "parsing (...) OK" only when no warnings are generated. If no file is found in Metalink, treat it FAILED. If no digest is provided, print WARNING in parse_metalink(). Also print validating FAILED after download. These changes make tests 2012 to 2016 pass.
2012-06-27sslgen: avoid compiler error in SSPI buildsDaniel Stenberg
2012-06-27ssluse.c: fix compiler warning: conversion to 'int' from 'size_t'Yang Tse
Reported by Tatsuhiro Tsujikawa http://curl.haxx.se/mail/lib-2012-06/0371.html
2012-06-27sslgen.c: add compile-time check for SSL-backend completenessYang Tse
2012-06-27build: add our standard includes to curl_darwinssl.c and curl_multibyte.cYang Tse
2012-06-27build: add curl_schannel and curl_darwinssl files to other build systemsYang Tse
2012-06-27tests: add five more Metalink test casesYang Tse
2012-06-27tests: update Metalink message formatYang Tse
2012-06-27Metalink: updated message formatTatsuhiro Tsujikawa
2012-06-27DarwinSSL: allow using NTLM authenticationNick Zitzmann
Allow NTLM authentication when building using SecureTransport (Darwin) for SSL. This uses CommonCrypto, a cryptography library that ships with all versions of iOS and Mac OS X. It's like OpenSSL's libcrypto, except that it's missing a few less-common cyphers and doesn't have a big number data structure.
2012-06-27curl_darwinssl.h: add newline at end of fileYang Tse
2012-06-26ossl_seed: remove leftover RAND_screen checkDaniel Stenberg
Before commit 2dded8fedba (dec 2010) there was logic that used RAND_screen() at times and now I remove the leftover #ifdef check for it. The seeding code that uses Curl_FormBoundary() in ossl_seed() is dubious to keep since it hardly increases randomness but I fear I'll break something if I remove it now...
2012-06-26DarwinSSL: several adjustmentsNick Zitzmann
- Renamed st_ function prefix to darwinssl_ - Renamed Curl_st_ function prefix to Curl_darwinssl_ - Moved the duplicated ssl_connect_done out of the #ifdef in lib/urldata.h - Fixed a teensy little bug that made non-blocking connection attempts block - Made it so that it builds cleanly against the iOS 5.1 SDK
2012-06-26curl-compilers.m4: -Wstrict-aliasing=3 for warning enabled gcc and clang buildsYang Tse
2012-06-26sockaddr.h: Fixed dereferencing pointer breakin strict-aliasingMarc Hoersken
Fixed warning: dereferencing pointer does break strict-aliasing rules by using a union inside the struct Curl_sockaddr_storage declaration.
2012-06-26SSL cleanup: use crypto functions through the sslgen layerDaniel Stenberg
curl_ntlm_msgs.c would previously use an #ifdef maze and direct SSL-library calls instead of using the SSL layer we have for this purpose.
2012-06-26darwinssl: add support for native Mac OS X/iOS SSLNick Zitzmann
2012-06-25RELEASE-NOTES: link to more metalink infoDaniel Stenberg
2012-06-25RELEASE-NOTES: synced with d025af9bb576Daniel Stenberg
2012-06-25curl_schannel.c: Remove redundant NULL assignments following Curl_safefree()Yang Tse
2012-06-25curl_schannel.c: Replace free() with Curl_safefree()Marc Hoersken
2012-06-25curl.1: Updated Metalink description in man pageTatsuhiro Tsujikawa
Documented that --include will be ignored if both --metalink and --include are specified. Also documented that a Metalink file in the local file system cannot be used if FILE protocol is disabled.
2012-06-24DOCS: Added clarification to CURLOPT_CUSTOMREQUEST for the POP3 protocolSteve Holme
Bug: http://curl.haxx.se/mail/lib-2012-06/0302.html Reported by: Nagai H
2012-06-24smtp: Corrected result code for MAIL, RCPT and DATA commandsSteve Holme
Bug: http://curl.haxx.se/mail/lib-2012-06/0094.html Reported by: Dan
2012-06-24test: Added test HTTP receive cookies over IPv6Ghennadi Procopciuc
2012-06-22tests: add another Metalink test caseYang Tse
2012-06-22tests: Enable test2010 and fixed hash valueTatsuhiro Tsujikawa
2012-06-22Metalink: ignore --include if --metalink is used.Tatsuhiro Tsujikawa
Including headers in response body will break Metalink XML parser. If it is included in the file described in Metalink XML, hash check will fail. Therefore, --include should be ignored if --metalink is used.
2012-06-21tests: add six Metalink test casesYang Tse
2012-06-21test 2005: add verification of hash checking outcomeYang Tse
2012-06-21getpart.pm: remove misleading commentYang Tse
2012-06-21curl: Prefixed all Metalink related messages with "Metalink: "Tatsuhiro Tsujikawa
2012-06-21tests: Added Metalink test case # 2005Tatsuhiro Tsujikawa
2012-06-21curl: Restore noprogress and isatty config values.Tatsuhiro Tsujikawa
The noprogress and isatty in Configurable are global, in a sense that they persist in one curl invocation. Currently once one download writes its response data to tty, they are set to FALSE and they are not restored on successive downloads. This change first backups the current noprogress and isatty, and restores them when download does not write its data to tty.
2012-06-21curl: Made --metalink option toggle Metalink functionalityTatsuhiro Tsujikawa
In this change, --metalink option no longer takes argument. If it is specified, given URIs are processed as Metalink XML file. If given URIs are remote (e.g., http URI), curl downloads it first. Regardless URI is local file (e.g., file URI scheme) or remote, Metalink XML file is not written to local file system and the received data is fed into Metalink XML parser directly. This means with --metalink option, filename related options like -O and -o are ignored. Usage examples: $ curl --metalink http://example.org/foo.metalink This will download foo.metalink and parse it and then download the URI described there. $ curl --metalink file://foo.metalink This will parse local file foo.metalink and then download the URI described there.
2012-06-21curl: Refactored metalink_checksumTatsuhiro Tsujikawa
When creating metalink_checksum from metalink_checksum_t, first check hex digest is valid for the given hash function. We do this check in the order of digest_aliases so that first good match will be chosen (strongest hash function available). As a result, the metalinkfile now only contains at most one metalink_checksum because other entries are just redundant.
2012-06-20tool_doswin.c: fix djgpp function _use_lfn() used without a prototypeGisle Vanem
http://curl.haxx.se/mail/archive-2012-06/0028.html
2012-06-20build: fix RESOURCE bug in lib/Makefile.vc*Yang Tse
Removed two, not intended to exist, RESOURCE declarations. Bug: http://curl.haxx.se/bug/view.cgi?id=3535977 And sorted configuration hunks to reflect same internal order as the one shown in the usage message.
2012-06-20schannel: Implement new buffer size strategyMarc Hoersken
Increase decrypted and encrypted cache buffers using limitted doubling strategy. More information on the mailinglist: http://curl.haxx.se/mail/lib-2012-06/0255.html It updates the two remaining reallocations that have already been there and fixes the other one to use the same "do we need to increase the buffer"-condition as the other two. CURL_SCHANNEL_BUFFER_STEP_SIZE was renamed to CURL_SCHANNEL_BUFFER_FREE_SIZE since that is actually what it is now. Since we don't know how much more data we are going to read during the handshake, CURL_SCHANNEL_BUFFER_FREE_SIZE is used as the minimum free space required in the buffer for the next operation. CURL_SCHANNEL_BUFFER_STEP_SIZE was used for that before, too, but since we don't have a step size now, the define was renamed.
2012-06-20schannel SSL: fix compiler warningYang Tse
2012-06-20schannel SSL: fix for renegotiate problemMark Salisbury
In schannel_connect_step2() doread should be initialized based on connssl->connecting_state.
2012-06-20runtests.pl: make it support metalink featureTatsuhiro Tsujikawa
2012-06-20getpart.pm: make test definition section/part parser more robustYang Tse
Test definition section parts which needed to include xml-lingo as contents of that part required that the xml-blurb was written as a single line. Now the xml-data inside the part can be written multiline making it more readable. Tested with <client><file> part which is written to disk before <command> runs.
2012-06-20schannel_connect_step2: checksrc whitespace fixDaniel Stenberg
2012-06-20schannel SSL: changes in schannel_connect_step2Mark Salisbury
Process extra data buffer before returning from schannel_connect_step2. Without this change I've seen WinCE hang when schannel_connect_step2 returns and calls Curl_socket_ready. If the encrypted handshake does not fit in the intial buffer (seen with large certificate chain), increasing the encrypted data buffer is necessary. Fixed warning in curl_schannel.c line 1215.