summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Reinstate "WIN32 MemoryTracking: track wcsdup() _wcsdup() and _tcsdup() usage".Yang Tse2013-07-187-3/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | This reverts commit 7ed25cc, reinstating commit 8ec2cb5. As of 18-jul-2013 we still do have code in libcurl that makes use of these memory functions. Commit 8ec2cb5 comment still applies and is yet valid. These memory functions are solely used in Windows builds, so all related code is protected with '#ifdef WIN32' preprocessor conditional compilation directives. Specifically, wcsdup() _wcsdup() are used when building a Windows target with UNICODE and USE_WINDOWS_SSPI preprocessor symbols defined. This is the case when building a Windows UNICODE target with Windows native SSL/TLS support enabled. Realizing that wcsdup() _wcsdup() are used is a bit tricky given that usage of these is hidden behind _tcsdup() which is MS way of dealing with code that must tolerate UNICODE and non-UNICODE compilation. Additionally, MS header files and those compatible from other compilers use this preprocessor conditional compilation directive in order to select at compilation time whether 'wide' or 'ansi' MS API functions are used. Without this code, Windows build targets with Windows native SSL/TLS support enabled and MemoryTracking support enabled misbehave in tracking memory usage, regardless of being a UNICODE enabled build or not.
* xc-am-iface.m4: comments refinementYang Tse2013-07-181-6/+19
|
* configure: fix 'subdir-objects' distclean related issueYang Tse2013-07-182-0/+167
| | | | See XC_AMEND_DISTCLEAN comments for details.
* curl_multi_wait: set revents for extra fdsEvgeny Turnaev2013-07-181-1/+4
| | | | | Pass back the revents that happened for the user-provided file descriptors.
* asyn-ares: Don't blank ares servers if none configured.Ben Greear2013-07-171-2/+13
| | | | | | | Best to just let c-ares use it's defaults if none are configured in (lib)curl. Signed-off-by: Ben Greear <greearb@candelatech.com>
* cmake: Fix for MSVC2010 project generationSergei Nikulov2013-07-174-31/+4
| | | | | | | | | | | | | | | | | | Fixed issue with static build for MSVC2010. After some investigation I've discovered known issue http://public.kitware.com/Bug/view.php?id=11240 When .rc file is linked to static lib it fails with following linker error LINK : warning LNK4068: /MACHINE not specified; defaulting to X86 file.obj : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86' Fix add target property /MACHINE: for MSVC generation. Also removed old workarounds - it caused errors during msvc build. Bug: http://curl.haxx.se/mail/lib-2013-07/0046.html
* mk-ca-bundle.1: point out certdata.txt format docsDaniel Stenberg2013-07-171-2/+7
|
* slist.c: Curl_slist_append_nodup() OOM handling fixYang Tse2013-07-161-2/+1
|
* test1414: FTP PORT download without SIZE supportDaniel Stenberg2013-07-162-1/+58
|
* tests/Makefile.am: add configurehelp.pm to DISTCLEANFILESYang Tse2013-07-161-0/+2
|
* curl_slist_append(): fix error detectionPatrick Monnerat2013-07-151-1/+1
|
* slist.c: fix indentationPatrick Monnerat2013-07-151-4/+4
|
* OS400: new SSL backend GSKitPatrick Monnerat2013-07-1515-30/+1530
|
* OS400: add slist and certinfo EBCDIC supportPatrick Monnerat2013-07-153-138/+226
|
* config-os400.h: enable system strdup(), strcmpi(), etc.Patrick Monnerat2013-07-152-6/+13
|
* x509asn1.c,x509asn1.h: new module to support ASN.1/X509 parsing & info extractPatrick Monnerat2013-07-156-17/+1319
| | | | Use from qssl backend
* ssluse.c,sslgen.c,sslgen.h: move certinfo support to generic SSLPatrick Monnerat2013-07-153-86/+90
|
* Merge branch 'master' of github.com:bagder/curlPatrick Monnerat2013-07-151-31/+29
|\ | | | | | | Merge for resync
| * sslgen.c: fix Curl_rand() compiler warningYang Tse2013-07-151-31/+29
| | | | | | | | Use simple seeding method upon RANDOM_FILE seeding method failure.
* | slist.c, slist.h, cookie.c: new internal procedure Curl_slist_append_nodup()Patrick Monnerat2013-07-153-25/+50
|/
* sslgen.c: fix unreleased Curl_rand() infinite recursionYang Tse2013-07-151-3/+4
|
* src/tool: allow timeouts to accept decimal valuesDave Reisner2013-07-146-8/+58
| | | | | | | | | | | Implement wrappers around strtod to convert the user argument to a double with sane error checking. Use this to allow --max-time and --connect-timeout to accept decimal values instead of strictly integers. The manpage is updated to make mention of this feature and, additionally, forewarn that the actual timeout of the operation can vary in its precision (particularly as the value increases in its decimal precision).
* curl.1: fix long line, found by checksrc.plDave Reisner2013-07-141-1/+4
|
* src/tool_paramhlp: try harder to catch negativesDave Reisner2013-07-141-3/+7
| | | | | | strto* functions happily chomp off leading whitespace, so simply checking for str[0] can lead to false negatives. Do the full parse and check the out value instead.
* build_vms.com: detect and use zlib shared imageJohn E. Malmberg2013-07-141-258/+324
| | | | | | | | | | | Update the build_vms.com to detect and use zlib shared image installed by the ZLIB kit produced by Jean-Francois Pieronne, and the also the future ZLIB 1.2.8 kit in addition to the older ZLIB kits. Also fix the indentation to match one of the common standards used for VMS DCL command files and removed the hard tab characters. Tested on OpenVMS 8.4 Alpha and IA64, and OpenVMS 7.3 VAX.
* url.c: fix parse_url_login() OOM handlingYang Tse2013-07-141-3/+15
|
* http_digest.c: SIGSEGV and OOM handling fixesYang Tse2013-07-121-47/+17
|
* url.c: fix parse_login_details() OOM handlingYang Tse2013-07-121-2/+7
|
* setup-vms.h: sk_pop symbol tweakJohn E. Malmberg2013-07-121-0/+1
| | | | | Newer versions of curl are referencing a sk_pop symbol while the HP OpenSSL library has the symbol in uppercase only.
* getinfo.c: fix enumerated type mixed with another typeYang Tse2013-07-111-5/+5
|
* test 1511: fix enumerated type mixed with another typeYang Tse2013-07-112-14/+24
|
* url.c: fix SIGSEGVYang Tse2013-07-111-0/+2
|
* dotdot.c: fix global declaration shadowingYang Tse2013-07-111-13/+13
|
* easy.c: fix global declaration shadowingYang Tse2013-07-111-12/+13
|
* Revert "curl.1: document the --time-cond option in the man page"Kamil Dudka2013-07-091-4/+1
| | | | | | | This reverts commit 3a0e931fc715a80004958794a96b12cf90503f99 because the documentation of --time-cond was duplicated by mistake. Reported by: Dave Reisner
* curl.1: document the --sasl-ir option in the man pageKamil Dudka2013-07-091-0/+3
|
* curl.1: document the --post303 option in the man pageKamil Dudka2013-07-091-0/+7
|
* curl.1: document the --time-cond option in the man pageKamil Dudka2013-07-091-0/+3
|
* configure: automake 1.14 compatibility tweak (use XC_AUTOMAKE)Yang Tse2013-07-091-1/+1
|
* xc-am-iface.m4: provide XC_AUTOMAKE macroYang Tse2013-07-091-0/+75
|
* Added winssl-zlib target to VC builds.Guenter Knauf2013-07-083-17/+55
|
* Synced Makefile.vc6 with recent changes.Guenter Knauf2013-07-081-1/+1
| | | | Issue posted to the list by malinowsky AT FTW DOT at.
* Added libmetalink URL; added Android versions.Guenter Knauf2013-07-041-1/+2
|
* examples: Moved usercertinmem.c to COMPLICATED_EXAMPLESDan Fandrich2013-07-031-3/+2
| | | | | This prevents it from being built during a "make check" since it depends on OpenSSL.
* Merge branch 'master' of https://github.com/bagder/curlNick Zitzmann2013-07-021-4/+7
|\
| * lib506.c: Fixed possible use of uninitialized variablesMarc Hoersken2013-07-011-4/+7
| |
* | darwinssl: SSLv2 connections are aborted if unsupported by the OSNick Zitzmann2013-07-021-3/+15
|/ | | | | | | | | I just noticed that OS X no longer supports SSLv2. Other TLS engines return an error if the requested protocol isn't supported by the underlying engine, so we do that now for SSLv2 if the framework returns an error when trying to turn on SSLv2 support. (Note: As always, SSLv2 support is only enabled in curl when starting the app with the -2 argument; it's off by default. SSLv2 is really old and insecure.)
* url: restore the functionality of 'curl -u :'Kamil Dudka2013-06-302-0/+9
| | | | | | | | This commit fixes a regression introduced in fddb7b44a79d78e05043e1c97e069308b6b85f79. Reported by: Markus Moeller Bug: http://curl.haxx.se/mail/archive-2013-06/0052.html
* digest: append the timer to the random for the nonceDaniel Stenberg2013-06-251-2/+5
|
* digest: improve nonce generationDaniel Stenberg2013-06-251-6/+3
| | | | | Use the new improved Curl_rand() to generate better random nonce for Digest auth.