]> granicus.if.org Git - curl/log
curl
9 years agogenerate.bat: Use buildconf.bat for prerequisite file generation
Steve Holme [Sun, 9 Aug 2015 16:59:31 +0000 (17:59 +0100)]
generate.bat: Use buildconf.bat for prerequisite file generation

9 years agobuildconf.bat: Tidy up of comments after recent commits
Steve Holme [Sun, 9 Aug 2015 16:57:40 +0000 (17:57 +0100)]
buildconf.bat: Tidy up of comments after recent commits

9 years agobuildconf.bat: Added full generation of src\tool_hugehelp.c
Steve Holme [Sun, 9 Aug 2015 16:54:09 +0000 (17:54 +0100)]
buildconf.bat: Added full generation of src\tool_hugehelp.c

Added support for generating the full man page based on code from
generate.bat.

9 years agobuildconf.bat: Added detection of groff, nroff, perl and gzip
Steve Holme [Sun, 9 Aug 2015 16:09:49 +0000 (17:09 +0100)]
buildconf.bat: Added detection of groff, nroff, perl and gzip

To allow for the full generation of tool_hugehelp.c added detection of
the required programs - based on code from generate.bat.

9 years agobuildconf.bat: Move DOS variable clean-up code to separate function
Steve Holme [Sun, 9 Aug 2015 16:02:27 +0000 (17:02 +0100)]
buildconf.bat: Move DOS variable clean-up code to separate function

Rather than duplicate future variables, during clean-up of both success
and error conditions, use a common function that can be called by both.

9 years agoRELEASE-NOTES: Synced with 39dcf352d2
Steve Holme [Sun, 9 Aug 2015 10:51:55 +0000 (11:51 +0100)]
RELEASE-NOTES: Synced with 39dcf352d2

9 years agobuildconf.bat: Added error messages on failure
Steve Holme [Sun, 9 Aug 2015 10:27:33 +0000 (11:27 +0100)]
buildconf.bat: Added error messages on failure

9 years agobuildconf.bat: Generate and clean files in the same order
Steve Holme [Sun, 9 Aug 2015 10:04:04 +0000 (11:04 +0100)]
buildconf.bat: Generate and clean files in the same order

9 years agobuildconf.bat: Maintain compatibility with DOS based systems
Steve Holme [Sun, 9 Aug 2015 10:00:07 +0000 (11:00 +0100)]
buildconf.bat: Maintain compatibility with DOS based systems

Commit f08e30d7bc broke compatibility with DOS and non Windows NT based
versions of Windows due to the use of the setlocal command.

9 years agoCURLOPT_RESOLVE.3: Note removal support was added in 7.42
Jay Satiro [Sun, 9 Aug 2015 06:33:25 +0000 (02:33 -0400)]
CURLOPT_RESOLVE.3: Note removal support was added in 7.42

Bug: http://curl.haxx.se/mail/lib-2015-08/0019.html
Reported-by: Inca R
9 years agochecksrc.bat: Fixed error when missing *.c and *.h files
Steve Holme [Sat, 8 Aug 2015 19:59:27 +0000 (20:59 +0100)]
checksrc.bat: Fixed error when missing *.c and *.h files

File Not Found

9 years agochecksrc.bat: Fixed incorrect 'lib\vtls' path check in commit 333c36b276
Steve Holme [Sat, 8 Aug 2015 19:48:31 +0000 (20:48 +0100)]
checksrc.bat: Fixed incorrect 'lib\vtls' path check in commit 333c36b276

9 years agochecksrc.bat: Fixed error when [directory] isn't a curl source directory
Steve Holme [Sat, 8 Aug 2015 10:35:59 +0000 (11:35 +0100)]
checksrc.bat: Fixed error when [directory] isn't a curl source directory

The system cannot find the file specified.

9 years agochecksrc.bat: Added check for unknown arguments
Steve Holme [Sat, 8 Aug 2015 10:21:49 +0000 (11:21 +0100)]
checksrc.bat: Added check for unknown arguments

9 years agoscripts: Added missing comments
Steve Holme [Sat, 8 Aug 2015 10:11:46 +0000 (11:11 +0100)]
scripts: Added missing comments

9 years agoscripts: Always perform setlocal and endlocal calls in pairs
Steve Holme [Sat, 8 Aug 2015 10:09:08 +0000 (11:09 +0100)]
scripts: Always perform setlocal and endlocal calls in pairs

Ensure that there isn't a mismatch between setlocal and endlocal calls,
which could have happened due to setlocal being called after certain
error conditions were checked for.

9 years agoscripts: Allow -help to be specified in any argument
Steve Holme [Sat, 8 Aug 2015 10:04:55 +0000 (11:04 +0100)]
scripts: Allow -help to be specified in any argument

Allow the -help command line argument to be specified in any argument
and not just as the first.

9 years agocurl_multi_remove_handle.3: fix formatting
juef [Thu, 6 Aug 2015 14:28:05 +0000 (17:28 +0300)]
curl_multi_remove_handle.3: fix formatting

closes #366

9 years agoREADME: Added notes about 'Running DLL based configurations'
Steve Holme [Thu, 6 Aug 2015 19:57:05 +0000 (20:57 +0100)]
README: Added notes about 'Running DLL based configurations'

...as well as a TODO for a future enhancement to the project files.

Thanks-to: Jay Satiro
9 years agoRELEASE-NOTES: Synced with cf8975387f
Steve Holme [Thu, 6 Aug 2015 17:59:59 +0000 (18:59 +0100)]
RELEASE-NOTES: Synced with cf8975387f

9 years agobuildconf.bat: Synchronise no repository error with generate.bat
Steve Holme [Thu, 6 Aug 2015 16:39:20 +0000 (17:39 +0100)]
buildconf.bat: Synchronise no repository error with generate.bat

9 years agogenerate.bat: Added a check for the presence of a git repository
Steve Holme [Thu, 6 Aug 2015 16:33:02 +0000 (17:33 +0100)]
generate.bat: Added a check for the presence of a git repository

9 years agobuild: Added wolfSSL configurations to VC10+ project files
Jay Satiro [Thu, 6 Aug 2015 06:43:21 +0000 (07:43 +0100)]
build: Added wolfSSL configurations to VC10+ project files

URL: https://github.com/bagder/curl/pull/174

9 years agobuild: Added wolfSSL build script for Visual Studio projects
Jay Satiro [Thu, 6 Aug 2015 06:08:58 +0000 (02:08 -0400)]
build: Added wolfSSL build script for Visual Studio projects

Added the wolfSSL build script, based on build-openssl.bat, as well as
the property sheet and header file required for the upcoming additions
to the Visual Studio project files.

9 years agoCHANGES: refer to the online changelog
Daniel Stenberg [Thu, 6 Aug 2015 13:28:27 +0000 (15:28 +0200)]
CHANGES: refer to the online changelog

Suggested-by: mc0e
9 years agoNTLM: handle auth for only a single request
Isaac Boukris [Mon, 3 Aug 2015 23:20:23 +0000 (02:20 +0300)]
NTLM: handle auth for only a single request

Currently when the server responds with 401 on NTLM authenticated
connection (re-used) we consider it to have failed.  However this is
legitimate and may happen when for example IIS is set configured to
'authPersistSingleRequest' or when the request goes thru a proxy (with
'via' header).

Implemented by imploying an additional state once a connection is
re-used to indicate that if we receive 401 we need to restart
authentication.

Closes #363

9 years agoRELEASE-NOTES: Synced with 473807b95f
Steve Holme [Wed, 5 Aug 2015 18:34:47 +0000 (19:34 +0100)]
RELEASE-NOTES: Synced with 473807b95f

9 years agogenerate.bat: Use buildconf.bat for prerequisite file clean-up
Steve Holme [Wed, 5 Aug 2015 18:15:46 +0000 (19:15 +0100)]
generate.bat: Use buildconf.bat for prerequisite file clean-up

9 years agobuildconf.bat: Added support for file clean-up via -clean
Steve Holme [Wed, 5 Aug 2015 16:59:38 +0000 (17:59 +0100)]
buildconf.bat: Added support for file clean-up via -clean

9 years agobuildconf.bat: Added progress output
Steve Holme [Wed, 5 Aug 2015 16:40:28 +0000 (17:40 +0100)]
buildconf.bat: Added progress output

9 years agobuildconf.bat: Avoid using goto for file not in repository
Steve Holme [Wed, 5 Aug 2015 16:32:45 +0000 (17:32 +0100)]
buildconf.bat: Avoid using goto for file not in repository

9 years agocurl_slist_append.3: add error checking to the example
Daniel Stenberg [Wed, 5 Aug 2015 12:28:21 +0000 (14:28 +0200)]
curl_slist_append.3: add error checking to the example

9 years agobuildconf.bat: Added display of usage text with -help
Steve Holme [Wed, 5 Aug 2015 05:41:40 +0000 (06:41 +0100)]
buildconf.bat: Added display of usage text with -help

9 years agobuildconf.bat: Added exit codes for error handling
Steve Holme [Wed, 5 Aug 2015 05:36:42 +0000 (06:36 +0100)]
buildconf.bat: Added exit codes for error handling

9 years agobuildconf.bat: Added our standard copyright header
Steve Holme [Wed, 5 Aug 2015 05:26:19 +0000 (06:26 +0100)]
buildconf.bat: Added our standard copyright header

9 years agobuildconf.bat: Use lower-case for commands and reserved keywords
Steve Holme [Wed, 5 Aug 2015 05:22:06 +0000 (06:22 +0100)]
buildconf.bat: Use lower-case for commands and reserved keywords

9 years agogenerate.bat: Only clean prerequisite files when in ALL mode
Steve Holme [Mon, 3 Aug 2015 21:49:56 +0000 (22:49 +0100)]
generate.bat: Only clean prerequisite files when in ALL mode

9 years agogenerate.bat: Moved error messages out of sub-routines
Steve Holme [Mon, 3 Aug 2015 21:45:04 +0000 (22:45 +0100)]
generate.bat: Moved error messages out of sub-routines

9 years agogenerate.bat: More use of lower-case for commands and reserved keywords
Steve Holme [Mon, 3 Aug 2015 21:38:56 +0000 (22:38 +0100)]
generate.bat: More use of lower-case for commands and reserved keywords

9 years agolibcurl.3: fix a single typo
Daniel Stenberg [Mon, 3 Aug 2015 21:28:31 +0000 (23:28 +0200)]
libcurl.3: fix a single typo

Closes #361

9 years agoRELEASE-NOTES: synced with c4eb10e2f06f
Daniel Stenberg [Mon, 3 Aug 2015 12:50:18 +0000 (14:50 +0200)]
RELEASE-NOTES: synced with c4eb10e2f06f

9 years agoSSH: three state machine fixups
Daniel Stenberg [Sun, 2 Aug 2015 20:50:31 +0000 (22:50 +0200)]
SSH: three state machine fixups

The SSH state machine didn't clear the 'rc' variable appropriately in a
two places which prevented it from looping the way it should. And it
lacked an 'else' statement that made it possible to erroneously get
stuck in the SSH_AUTH_AGENT state.

Reported-by: Tim Stack
Closes #357

9 years agocurl_gssapi: remove 'const' to fix compiler warnings
Daniel Stenberg [Sat, 1 Aug 2015 22:24:38 +0000 (00:24 +0200)]
curl_gssapi: remove 'const' to fix compiler warnings

initialization discards 'const' qualifier from pointer target type

9 years agodocs: formpost needs the full size at start of upload
Daniel Stenberg [Sat, 1 Aug 2015 22:14:23 +0000 (00:14 +0200)]
docs: formpost needs the full size at start of upload

Closes #360

9 years agosspi: Fix typo from left over from old code which referenced NTLM
Steve Holme [Sat, 1 Aug 2015 21:53:18 +0000 (22:53 +0100)]
sspi: Fix typo from left over from old code which referenced NTLM

References to NTLM in the identity generation should have been removed
in commit c469941293 but not all were.

9 years agowin32: Fix compilation warnings from commit 40c921f8b8
Steve Holme [Sat, 1 Aug 2015 21:50:42 +0000 (22:50 +0100)]
win32: Fix compilation warnings from commit 40c921f8b8

connect.c:953:5: warning: initializer element is not computable at load
                 time
connect.c:953:5: warning: missing initializer for field 'dwMinorVersion'
                 of 'OSVERSIONINFOEX'
curl_sspi.c:97:5: warning: initializer element is not computable at load
                  time
curl_sspi.c:97:5: warning: missing initializer for field 'szCSDVersion'
                  of 'OSVERSIONINFOEX'

9 years agoschannel: Fix compilation warning from commit 7a8e861a56
Steve Holme [Sat, 1 Aug 2015 21:46:21 +0000 (22:46 +0100)]
schannel: Fix compilation warning from commit 7a8e861a56

schannel.c:1125:5: warning: missing initializer for field 'dwMinorVersion'
                   of 'OSVERSIONINFOEX' [-Wmissing-field-initializers

9 years agolibcurl-thread.3: minor reformatting
Daniel Stenberg [Fri, 31 Jul 2015 21:19:02 +0000 (23:19 +0200)]
libcurl-thread.3: minor reformatting

9 years agocurl_global_init_mem.3: Warn threaded resolver needs thread safe funcs
Jay Satiro [Fri, 31 Jul 2015 06:38:44 +0000 (02:38 -0400)]
curl_global_init_mem.3: Warn threaded resolver needs thread safe funcs

Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge
9 years agolibcurl-thread.3: Warn memory functions must be thread safe
Jay Satiro [Fri, 31 Jul 2015 05:58:03 +0000 (01:58 -0400)]
libcurl-thread.3: Warn memory functions must be thread safe

Bug: http://curl.haxx.se/mail/lib-2015-07/0149.html
Reported-by: Eric Ridge
9 years agoRELEASE-NOTES: Synced with 8b1d00ac1a
Steve Holme [Fri, 31 Jul 2015 05:24:35 +0000 (06:24 +0100)]
RELEASE-NOTES: Synced with 8b1d00ac1a

9 years agoINSTALL: Minor formatting correction in 'Legacy Windows and SSL' section
Steve Holme [Thu, 30 Jul 2015 15:59:55 +0000 (16:59 +0100)]
INSTALL: Minor formatting correction in 'Legacy Windows and SSL' section

...as well as some rewording.

9 years agohttp: move HTTP/2 cleanup code off http_disconnect()
Kamil Dudka [Thu, 30 Jul 2015 10:01:20 +0000 (12:01 +0200)]
http: move HTTP/2 cleanup code off http_disconnect()

Otherwise it would never be called for an HTTP/2 connection, which has
its own disconnect handler.

I spotted this while debugging <https://bugzilla.redhat.com/1248389>
where the http_disconnect() handler was called on an FTP session handle
causing 'dnf' to crash.  conn->data->req.protop of type (struct FTP *)
was reinterpreted as type (struct HTTP *) which resulted in SIGSEGV in
Curl_add_buffer_free() after printing the "Connection cache is full,
closing the oldest one." message.

A previously working version of libcurl started to crash after it was
recompiled with the HTTP/2 support despite the HTTP/2 protocol was not
actually used.  This commit makes it work again although I suspect the
root cause (reinterpreting session handle data of incompatible protocol)
still has to be fixed.  Otherwise the same will happen when mixing FTP
and HTTP/2 connections and exceeding the connection cache limit.

Reported-by: Tomas Tomecek
Bug: https://bugzilla.redhat.com/1248389

9 years agoABI doc: use secure URL
Viktor Szakats [Thu, 30 Jul 2015 13:01:06 +0000 (15:01 +0200)]
ABI doc: use secure URL

9 years agoABI: remove the ascii logo
Daniel Stenberg [Thu, 30 Jul 2015 10:16:14 +0000 (12:16 +0200)]
ABI: remove the ascii logo

and made the indent level to 1

9 years agolibcurl-multi.3: mention curl_multi_wait
Daniel Stenberg [Thu, 30 Jul 2015 08:17:37 +0000 (10:17 +0200)]
libcurl-multi.3: mention curl_multi_wait

... and some general rewordings to improve this docs.

Reported-by: Tim Stack
Closes #356

9 years agomaketgz: Fixed some VC makefiles missing from the release tarball
Steve Holme [Thu, 30 Jul 2015 05:34:03 +0000 (06:34 +0100)]
maketgz: Fixed some VC makefiles missing from the release tarball

VC7, VC11, VC12 and VC14 makefiles were missing from the release
tarball.

9 years agoRELEASE-NOTES: Synced with 2d7e165761
Steve Holme [Wed, 29 Jul 2015 18:17:18 +0000 (19:17 +0100)]
RELEASE-NOTES: Synced with 2d7e165761

9 years agobuild: Added VC14 project files to Makefile.am
Steve Holme [Sun, 26 Jul 2015 20:47:25 +0000 (21:47 +0100)]
build: Added VC14 project files to Makefile.am

9 years agobuild: Added VC14 project files
Steve Holme [Sun, 26 Jul 2015 20:35:45 +0000 (21:35 +0100)]
build: Added VC14 project files

Updates to Makefile.am for the generation of the project files in
the tarball to follow.

9 years agolibcurl-thread.3: Clarify CURLOPT_NOSIGNAL takes long value 1L
Jay Satiro [Wed, 29 Jul 2015 06:05:32 +0000 (02:05 -0400)]
libcurl-thread.3: Clarify CURLOPT_NOSIGNAL takes long value 1L

9 years agogenerate.bat: Use lower-case for commands and reserved keywords
Steve Holme [Sun, 26 Jul 2015 19:59:56 +0000 (20:59 +0100)]
generate.bat: Use lower-case for commands and reserved keywords

Whilst there are no coding standards for the batch files used in curl,
most tend to use lower-case for keywords and upper-case for variables.

9 years agobuild: Added initial VC14 support to generate.bat
Steve Holme [Sun, 26 Jul 2015 19:59:16 +0000 (20:59 +0100)]
build: Added initial VC14 support to generate.bat

Visual Studio project files and updates to makefile.am to follow.

9 years agobuild: Fixed missing .opensdf files from VC10+ .gitignore files
Steve Holme [Sun, 26 Jul 2015 19:47:39 +0000 (20:47 +0100)]
build: Fixed missing .opensdf files from VC10+ .gitignore files

9 years agobuild: Use $(ProjectName) macro for curl.exe and curld.exe filenames
Steve Holme [Sun, 26 Jul 2015 19:44:17 +0000 (20:44 +0100)]
build: Use $(ProjectName) macro for curl.exe and curld.exe filenames

This wasn't possible with the old curlsrc project filenames, but like
commit 2a615a2b64 and 11397eb6dd for libcurl use the built in Visual
Studio macros for the output filenames.

9 years agobuild: Renamed curl src Visual Studio project files
Steve Holme [Sun, 26 Jul 2015 19:22:25 +0000 (20:22 +0100)]
build: Renamed curl src Visual Studio project files

Following commit 957fcd9049 and in preparation for adding the VC14
project files renamed the curl source project files.

9 years agolibcurl-thread.3: Revert to stricter handle wording
Jay Satiro [Sat, 18 Jul 2015 07:09:16 +0000 (03:09 -0400)]
libcurl-thread.3: Revert to stricter handle wording

.. also update formatting and add WinSSL and wolfSSL to the SSL/TLS
handlers list.

9 years agolibcurl-thread.3: Consolidate thread safety info
Jay Satiro [Mon, 13 Jul 2015 20:15:55 +0000 (16:15 -0400)]
libcurl-thread.3: Consolidate thread safety info

This is a new document to consolidate our thread safety information from
several documents (curl-www:features, libcurl.3, libcurl-tutorial.3).
Each document's section on multi-threading will now point to this one.

9 years agoREADME: Corrected formatting for 'Legacy Windows and SSL' section
Steve Holme [Sun, 26 Jul 2015 18:50:03 +0000 (19:50 +0100)]
README: Corrected formatting for 'Legacy Windows and SSL' section

...as well as some wording.

9 years agobuild-openssl.bat: Added support for VC14
Steve Holme [Sun, 26 Jul 2015 18:43:50 +0000 (19:43 +0100)]
build-openssl.bat: Added support for VC14

9 years agoRELEASE-NOTES: synced with 0f645adc95390e8
Daniel Stenberg [Sun, 26 Jul 2015 20:33:17 +0000 (22:33 +0200)]
RELEASE-NOTES: synced with 0f645adc95390e8

9 years agotest1902: attempt to make the test more reliable
Daniel Stenberg [Sun, 26 Jul 2015 20:20:26 +0000 (22:20 +0200)]
test1902: attempt to make the test more reliable

Closes #355

9 years agocomment: fix comment about adding new option support
Daniel Stenberg [Sun, 26 Jul 2015 12:15:07 +0000 (14:15 +0200)]
comment: fix comment about adding new option support

9 years agobuild-openssl.bat: Show syntax if required args are missing
Jay Satiro [Sat, 25 Jul 2015 23:03:20 +0000 (19:03 -0400)]
build-openssl.bat: Show syntax if required args are missing

9 years agoTODO: improve how curl works in a windows console window
Daniel Stenberg [Sat, 25 Jul 2015 22:48:55 +0000 (00:48 +0200)]
TODO: improve how curl works in a windows console window

Closes #322 for now

9 years ago1.11 minimize dependencies with dynamicly loaded modules
Daniel Stenberg [Sat, 25 Jul 2015 22:45:22 +0000 (00:45 +0200)]
1.11 minimize dependencies with dynamicly loaded modules

Closes #349 for now

9 years agotool_operate: Fix CURLOPT_SSL_OPTIONS for builds without HTTPS
Jay Satiro [Sat, 25 Jul 2015 20:32:15 +0000 (16:32 -0400)]
tool_operate: Fix CURLOPT_SSL_OPTIONS for builds without HTTPS

- Set CURLOPT_SSL_OPTIONS only if the tool enabled an SSL option.

Broken by me several days ago in 172b2be.
https://github.com/bagder/curl/commit/172b2be#diff-70b44ee478e58d4e1ddcf9c9a73d257b

Bug: http://curl.haxx.se/mail/lib-2015-07/0119.html
Reported-by: Dan Fandrich
9 years agoconfigure: check if OpenSSL linking wants -ldl
Daniel Stenberg [Sat, 25 Jul 2015 08:52:49 +0000 (10:52 +0200)]
configure: check if OpenSSL linking wants -ldl

To make it easier to link with static versions of OpenSSL, the configure
script now checks if -ldl is needed for linking.

Help-by: TJ Saunders
9 years agoHTTP: ignore "Content-Encoding: compress"
Michael Kaufmann [Fri, 24 Jul 2015 22:46:01 +0000 (00:46 +0200)]
HTTP: ignore "Content-Encoding: compress"

Currently, libcurl rejects responses with "Content-Encoding: compress"
when CURLOPT_ACCEPT_ENCODING is set to "". I think that libcurl should
treat the Content-Encoding "compress" the same as other
Content-Encodings that it does not support, e.g. "bzip2". That means
just ignoring it.

9 years agoopenssl: work around MSVC warning
Marcel Raad [Thu, 16 Jul 2015 07:09:02 +0000 (09:09 +0200)]
openssl: work around MSVC warning

MSVC 12 complains:

lib\vtls\openssl.c(1554): warning C4701: potentially uninitialized local
variable 'verstr' used It's a false positive, but as it's normally not,
I have enabled warning-as-error for that warning.

9 years agoconfigure: add --disable-rt option
Michał Fita [Thu, 23 Jul 2015 09:38:49 +0000 (10:38 +0100)]
configure: add --disable-rt option

This option disables any attempts in configure to create dependency on
stuff requiring linking to librt.so and libpthread.so, in this case this
means clock_gettime(CLOCK_MONOTONIC, &mt).

We were in need to build curl which doesn't link libpthread.so to avoid
the following bug:
https://sourceware.org/bugzilla/show_bug.cgi?id=16628.

9 years agohttp2: verify success of strchr() in http2_send()
Kamil Dudka [Thu, 23 Jul 2015 09:51:53 +0000 (11:51 +0200)]
http2: verify success of strchr() in http2_send()

Detected by Coverity.

Error: NULL_RETURNS:
lib/http2.c:1301: returned_null: "strchr" returns null (checked 103 out of 109 times).
lib/http2.c:1301: var_assigned: Assigning: "hdbuf" = null return value from "strchr".
lib/http2.c:1302: dereference: Incrementing a pointer which might be null: "hdbuf".
1300|
1301|     hdbuf = strchr(hdbuf, 0x0a);
1302|->   ++hdbuf;
1303|
1304|     authority_idx = 0;

9 years agoWindows: Fix VerifyVersionInfo calls
Jay Satiro [Wed, 22 Jul 2015 05:52:17 +0000 (01:52 -0400)]
Windows: Fix VerifyVersionInfo calls

- Fix the VerifyVersionInfo calls, which we use to test for the OS major
version, to also test for the minor version as well as the service pack
major and minor versions.

MSDN: "If you are testing the major version, you must also test the
minor version and the service pack major and minor versions."

https://msdn.microsoft.com/en-us/library/windows/desktop/ms725492.aspx

Bug: https://github.com/bagder/curl/pull/353#issuecomment-123493098
Reported-by: Marcel Raad <MarcelRaad@users.noreply.github.com>
9 years agoschannel: Replace deprecated GetVersion with VerifyVersionInfo
Marcel Raad [Tue, 21 Jul 2015 21:23:07 +0000 (17:23 -0400)]
schannel: Replace deprecated GetVersion with VerifyVersionInfo

9 years agomakefile: Added support for VC14
Steve Holme [Tue, 21 Jul 2015 17:52:43 +0000 (18:52 +0100)]
makefile: Added support for VC14

9 years agoos400: ebcdic wrappers for new functions. Upgrade ILE/RPG bindings.
Patrick Monnerat [Tue, 21 Jul 2015 14:36:34 +0000 (16:36 +0200)]
os400: ebcdic wrappers for new functions. Upgrade ILE/RPG bindings.

9 years agolibcurl: VERSIONINFO update
Patrick Monnerat [Tue, 21 Jul 2015 12:01:19 +0000 (14:01 +0200)]
libcurl: VERSIONINFO update
Addition of new procedures curl_pushheader_bynum and curl_pushheader_byname
requires VERSIONINFO updating.

9 years agohttp2: satisfy external references even if http2 is not compiled in.
Patrick Monnerat [Tue, 21 Jul 2015 11:55:39 +0000 (13:55 +0200)]
http2: satisfy external references even if http2 is not compiled in.

9 years agohttp2: add stream != NULL checks for reliability
Daniel Stenberg [Mon, 20 Jul 2015 19:35:15 +0000 (21:35 +0200)]
http2: add stream != NULL checks for reliability

They should not trigger, but in case of internal problems we at least
avoid crashes this way.

9 years agosymbols-in-versions: Add new CURLSSLOPT_NO_REVOKE symbol
Jay Satiro [Sat, 18 Jul 2015 19:27:48 +0000 (15:27 -0400)]
symbols-in-versions: Add new CURLSSLOPT_NO_REVOKE symbol

9 years agoSSL: Add an option to disable certificate revocation checks
Jay Satiro [Fri, 17 Jul 2015 06:40:16 +0000 (02:40 -0400)]
SSL: Add an option to disable certificate revocation checks

New tool option --ssl-no-revoke.
New value CURLSSLOPT_NO_REVOKE for CURLOPT_SSL_OPTIONS.

Currently this option applies only to WinSSL where we have automatic
certificate revocation checking by default. According to the
ssl-compared chart there are other backends that have automatic checking
(NSS, wolfSSL and DarwinSSL) so we could possibly accommodate them at
some later point.

Bug: https://github.com/bagder/curl/issues/264
Reported-by: zenden2k <zenden2k@gmail.com>
9 years agoruntests: Allow for spaces in curl custom path
Jay Satiro [Fri, 17 Jul 2015 02:19:43 +0000 (22:19 -0400)]
runtests: Allow for spaces in curl custom path

.. also fix some typos in test's FILEFORMAT spec.

9 years agontlm_wb: Fix theoretical memory leak
David Woodhouse [Thu, 16 Jul 2015 18:17:33 +0000 (14:17 -0400)]
ntlm_wb: Fix theoretical memory leak

Static analysis indicated that my commit 9008f3d564 ("ntlm_wb: Fix
hard-coded limit on NTLM auth packet size") introduced a potential
memory leak on an error path, because we forget to free the buffer
before returning an error.

Fix this.

Although actually, it never happens in practice because we never *get*
here with state == NTLMSTATE_TYPE1. The state is always zero. That
might want cleaning up in a separate patch.

Reported-by: Terri Oda
9 years agostrerror: Add CRYPT_E_REVOKED to SSPI error strings
Jay Satiro [Thu, 16 Jul 2015 02:19:20 +0000 (22:19 -0400)]
strerror: Add CRYPT_E_REVOKED to SSPI error strings

9 years agolibtest: call PR_Cleanup() on exit if NSPR is used
Kamil Dudka [Tue, 14 Jul 2015 15:08:44 +0000 (17:08 +0200)]
libtest: call PR_Cleanup() on exit if NSPR is used

This prevents valgrind from reporting possibly lost memory that NSPR
uses for file descriptor cache and other globally allocated internal
data structures.

Reported-by: Štefan Kremeň
9 years agoopenssl: VMS support for SHA256
John Malmberg [Thu, 2 Jul 2015 01:54:09 +0000 (20:54 -0500)]
openssl: VMS support for SHA256

setup-vms.h: More symbols for SHA256, hacks for older VAX

openssl.h: Use OpenSSL OPENSSL_NO_SHA256 macro to allow building on VAX.

openssl.c: Use OpenSSL version checks and OPENSSL_NO_SHA256 macro to
allow building on VAX and 64 bit VMS.

9 years agoexamples: Fix typo in multi-single.c
Jay Satiro [Sat, 11 Jul 2015 06:32:53 +0000 (02:32 -0400)]
examples: Fix typo in multi-single.c

9 years agohttp2: Fix memory leak in push header array
Tatsuhiro Tsujikawa [Mon, 6 Jul 2015 13:16:27 +0000 (22:16 +0900)]
http2: Fix memory leak in push header array

9 years agotest2041: fixed line endings in protocol part
Dan Fandrich [Thu, 2 Jul 2015 06:32:18 +0000 (08:32 +0200)]
test2041: fixed line endings in protocol part

9 years agocyassl: fixed mismatched sha256sum function prototype
Dan Fandrich [Thu, 2 Jul 2015 06:29:22 +0000 (08:29 +0200)]
cyassl: fixed mismatched sha256sum function prototype