Dan Fandrich
145c4692ff
dict: rename byte to avoid compiler shadowed declaration warning
...
This conflicted with a WolfSSL typedef.
2015-03-23 10:16:10 +01:00
Dan Fandrich
430006c5e2
cyassl: include version.h to ensure the version macros are defined
2015-03-23 10:10:03 +01:00
Dan Fandrich
148207e2d7
test1513: eliminated race condition in test run
...
It seems that some systems (e.g. fairly consistently in some recent
Solaris autobuilds) would manage to get to the connect phase before the
progress callback was called, resulting in a CURLE_COULDNT_CONNECT
error. Reworked the test to point at a test server that never returns a
full result so the progress callback always gets a chance to be called
before the transfer can complete in some other way.
2015-03-22 00:03:44 +01:00
Nick Zitzmann
7f5a170442
darwinsssl: add support for TLS False Start
...
TLS False Start support requires iOS 7.0 or later, or OS X 10.9 or later.
2015-03-21 12:22:56 -05:00
Daniel Stenberg
ed429b72d7
gtls: add check of return code
...
Coverity CID 1291167 pointed out that 'rc' was received but never used when
gnutls_credentials_set() was used. Added return code check now.
2015-03-21 16:53:43 +01:00
Daniel Stenberg
fea13a17d8
gtls: dereferencing NULL pointer
...
Coverity CID 1291165 pointed out 'chainp' could be dereferenced when
NULL if gnutls_certificate_get_peers() had previously failed.
2015-03-21 16:53:23 +01:00
Daniel Stenberg
5f6f9e8b59
gtls: avoid uninitialized variable.
...
Coverity CID 1291166 pointed out that we could read this variable
uninitialized.
2015-03-21 16:53:09 +01:00
Dan Fandrich
f9251a5c86
tests/certs: rebuild certificates with modified key usage bits
...
The certificates were missing the digitalSignature and keyAgreement
usage types, of which at least digitalSignature was checked by CyaSSL.
This caused the test server in test 310 (among others) to fail the
startup verification and therefore run (see
http://curl.haxx.se/mail/lib-2014-07/0303.html ).
2015-03-21 16:33:58 +01:00
Dan Fandrich
38c304a58f
tests/certs: added make target to rebuild certificates
...
The certificate generation scripts were also updated to better match the
format of the certificates currently checked in.
2015-03-21 16:33:58 +01:00
Daniel Stenberg
9cd4d6518f
x509asn1: add /* fallthrough */ in switch() case
2015-03-21 16:29:58 +01:00
Daniel Stenberg
e6917d3b77
x509asn1: minor edit to unconfuse Coverity
...
CID 1202732 warns on the previous use, although I cannot fine any
problems with it. I'm doing this change only to make the code use a more
familiar approach to accomplish the same thing.
2015-03-21 16:21:01 +01:00
Dagobert Michelsen
57dc2f7e40
testcurl: Allow '=' in values given on command line
2015-03-21 15:57:08 +01:00
Daniel Stenberg
b734518371
nss: error: unused variable 'connssl'
2015-03-21 15:47:03 +01:00
Dan Fandrich
61ff197a27
test938: added missing closing tags
2015-03-21 01:27:44 +01:00
Dan Fandrich
6779c50e26
cyassl: use new library version macro when available
2015-03-20 23:49:53 +01:00
Alessandro Ghedini
1f651d1d4d
curl: add --false-start option
2015-03-20 20:14:35 +01:00
Alessandro Ghedini
185914fd31
nss: add support for TLS False Start
2015-03-20 20:14:35 +01:00
Alessandro Ghedini
4dcd25e138
url: add CURLOPT_SSL_FALSESTART option
...
This option can be used to enable/disable TLS False Start defined in the RFC
draft-bmoeller-tls-falsestart.
2015-03-20 20:14:33 +01:00
Alessandro Ghedini
a332922a52
gtls: implement CURLOPT_CERTINFO
2015-03-20 19:03:53 +01:00
Alessandro Ghedini
8854f8d45a
openssl: try to avoid accessing OCSP structs when possible
2015-03-20 15:36:05 +01:00
Daniel Stenberg
9e8f9dbdd3
CURLOPT_URL.3: spelling!
...
Reported-by: Frank Gevaerts
2015-03-20 13:49:45 +01:00
Daniel Stenberg
620e0b23c8
CURLOPT_URL.3: Added "SECURITY CONCERNS"
2015-03-20 12:14:40 +01:00
Daniel Stenberg
2b7ac4e710
CURLOPT_HTTPHEADER.3: add a "SECURITY CONCERNS" section
2015-03-20 12:03:09 +01:00
Dan Fandrich
7868dc7103
cyassl: detect the library as renamed wolfssl
...
This change was made in CyaSSL/WolfSSL ver. 3.4.0
2015-03-19 23:51:40 +01:00
Daniel Stenberg
abfab1786e
HTTP: don't switch to HTTP/2 from 1.1 until we get the 101
...
We prematurely changed protocol handler to HTTP/2 which made things very
slow (and wrong).
Reported-by: Stefan Eissing
Bug: https://github.com/bagder/curl/issues/169
2015-03-19 13:44:18 +01:00
Dan Fandrich
9e66d3f4d3
axtls: version 1.5.2 now requires that config.h be manually included
2015-03-19 10:11:17 +01:00
Daniel Stenberg
1977ff811d
metalink: fix resource leak in OOM
...
Coverity CID 1288826
2015-03-19 09:08:08 +01:00
Dan Fandrich
8ecfaad2cc
docs/libcurl: clean up libcurl-symbols.3
2015-03-18 23:54:36 +01:00
Dan Fandrich
431c5261d2
docs/libcurl: check that all options with man pages are referenced
...
If a man page exists in the opts/ directory, it must also be referenced
either in curl_easy_setopt.3 or curl_multi_setopt.3
2015-03-18 23:44:45 +01:00
Dan Fandrich
d260a0aeeb
curl_easy_setopt.3: added a few missing options
2015-03-18 23:20:49 +01:00
Kamil Dudka
e3fbdc7c8a
nss: explicitly tell NSS to disable NPN/ALPN
...
... if disabled at libcurl level. Otherwise, we would allow to
negotiate NPN despite curl was invoked with the --no-npn option.
2015-03-18 19:43:14 +01:00
Jay Satiro
28de58504e
mkhelp: Remove trailing carriage return from every line of input
...
- Get rid of this flood of warnings in Windows mingw build:
warning: missing terminating " character
The warning is due to the carriage return. When msysgit checks out files
from the repo by default it converts the line endings to CRLF. Prior to
this change when mkhelp.pl processed the MANUAL and curl.1 in CRLF
format the trailing carriage returns caused unnecessary CR in the
output.
2015-03-18 13:48:36 +01:00
Daniel Stenberg
7e16aa936f
RELEASE-NOTES: synced with e539f01567
2015-03-18 08:37:54 +01:00
Christian Weisgerber
e539f01567
docs/libcurl: make portability fix
...
Using $< in a non-suffix rule context is a GNU make idiom. This bug was
introduced in 7.41.0.
2015-03-18 08:31:06 +01:00
Dan Fandrich
252e9acd50
checksrc: Fix whitelist on out-of-tree builds
2015-03-17 23:26:48 +01:00
Stefan Bühler
4d6e079dd2
Curl_sh_entry: remove unused 'timestamp'
2015-03-17 16:29:36 +01:00
Daniel Stenberg
ef1c3b4648
HTTP: don't use Expect: headers when on HTTP/2
...
Reported-by: Stefan Eissing
Bug: https://github.com/bagder/curl/issues/169
2015-03-17 15:09:34 +01:00
Daniel Stenberg
2dc1a5ce93
checksrc: detect and remove space before trailing semicolons
2015-03-17 14:06:48 +01:00
Daniel Stenberg
0037eb5805
checksrc: introduce a whitelisting concept
2015-03-17 13:57:37 +01:00
Daniel Stenberg
9395999543
checksrc: use space after comma
2015-03-17 13:57:37 +01:00
Daniel Stenberg
a6b8fe2a5f
checksrc: use space before paren in "return (expr);"
2015-03-17 13:05:01 +01:00
Daniel Stenberg
3dbe12a1e9
CONTRIBUTE: refer to git log instead of deprecated CHANGES file
2015-03-17 09:09:41 +01:00
Daniel Stenberg
40914fd544
CURLOPT_*.3: more examples and edits
2015-03-17 08:57:31 +01:00
Daniel Stenberg
8c41f368f5
CURLOPT_*.3: added lots of small example sections
2015-03-17 08:03:46 +01:00
Daniel Stenberg
6105029b23
CURLOPT_PRIVATE.3: provide an example
2015-03-16 23:56:11 +01:00
Daniel Stenberg
9c518a7d95
CURLOPT_*TIMEOUT.3: provide examples
2015-03-16 23:51:22 +01:00
Daniel Stenberg
8644a88202
CURLOPT_USERAGENT.3: added an example
2015-03-16 23:41:45 +01:00
Daniel Stenberg
76afe14584
CURLOPT_STDERR.3: added an example
2015-03-16 23:40:52 +01:00
Daniel Stenberg
fe02d132e2
curl_easy_perform.3: remove superfluous close brace from example
2015-03-16 23:28:23 +01:00
Daniel Stenberg
0f4a03cbb6
free: instead of Curl_safefree()
...
Since we just started make use of free(NULL) in order to simplify code,
this change takes it a step further and:
- converts lots of Curl_safefree() calls to good old free()
- makes Curl_safefree() not check the pointer before free()
The (new) rule of thumb is: if you really want a function call that
frees a pointer and then assigns it to NULL, then use Curl_safefree().
But we will prefer just using free() from now on.
2015-03-16 15:01:15 +01:00