Daniel Stenberg
eb8283bb1a
configure: check for HMAC_Update in openssl
...
Turns out HMAC_Init is now deprecated in openssl master (and I spelled
HMAC_Init_ex wrong in previous commit)
2015-08-30 23:21:30 +02:00
Steve Holme
415f0370ea
win32: Use DES_set_odd_parity() from OpenSSL/BoringSSL by default
...
Set HAVE_DES_SET_ODD_PARITY when using OpenSSL/BoringSSL as native
Windows builds don't use the autoconf tools.
2015-08-30 22:06:10 +01:00
Steve Holme
347a6ee597
des: Fixed compilation warning from commit 613e5022fe
...
curl_ntlm_core.c:150: warning 'Curl_des_set_odd_parity' undefined;
assuming extern returning int
2015-08-30 21:45:30 +01:00
Steve Holme
2a59fb25cc
buildconf.bat: Fixed double blank line in 'curl manual' warning output
2015-08-30 15:09:43 +01:00
Steve Holme
fb0825cb0a
makefiles: Added our standard copyright header
...
But kept the original author, when they were specified in a comment, as
the initial copyright holder.
2015-08-30 14:51:13 +01:00
Jay Satiro
dfeb85a187
CURLOPT_FILETIME.3: CURLINFO_FILETIME has its own manpage now
2015-08-29 23:23:58 -04:00
Daniel Stenberg
96a3488eae
CURLINFO_RESPONSE_CODE.3: added short description
2015-08-29 13:55:00 +02:00
Daniel Stenberg
45e918564a
opts: 7 initial CURLINFO_* options as stand-alone man pages
2015-08-28 22:58:00 +02:00
Nikolai Kondrashov
1abb218fe0
libcurl.m4: Put braces around empty if body
...
Put braces around empty "if" body in libcurl.m4 check to avoid warning:
suggest braces around empty body in an 'if' statement
and make it work with -Werror builds.
Closes #402
2015-08-28 22:51:55 +02:00
Svyatoslav Mishyn
ac7be02e69
curl_easy_escape.3: escape '\n'
...
Closes #398
2015-08-25 22:44:22 +02:00
Svyatoslav Mishyn
37f173cfd0
curl_easy_{escape,setopt}.3: fix example
...
remove redundant '}'
2015-08-25 22:44:14 +02:00
Sergei Nikulov
2132708ac2
cmake: added Windows SSL support
...
Closes #399
2015-08-25 22:42:28 +02:00
Daniel Stenberg
4a889441d3
curl: point out the conflicting HTTP methods if used
...
It isn't always clear to the user which options that cause the HTTP
methods to conflict so by spelling them out it should hopefully be
easier to understand why curl complains.
2015-08-25 09:20:56 +02:00
Daniel Stenberg
ce034356d2
curl: clarify that users can only specify one _METHOD_
2015-08-25 00:04:03 +02:00
Svyatoslav Mishyn
f21408132a
curl_easy_{escape,unescape}.3: "char *" vs. "const char *"
...
Closes #395
2015-08-24 23:58:57 +02:00
Patrick Monnerat
aec249f89f
os400: include new options in wrappers and update ILE/RPG binding.
2015-08-24 14:20:34 +02:00
Daniel Stenberg
e7d171da6b
KNOWN_BUGS: #2 , not reading a HEAD response-body is not a bug
...
... since HTTP is forbidden to return any such.
2015-08-24 12:56:20 +02:00
Daniel Stenberg
874413b3e1
KNOWN_BUGS: #78 zero-length files is already fixed!
2015-08-24 12:53:38 +02:00
Razvan Cojocaru
62f306ff34
getinfo: added CURLINFO_ACTIVESOCKET
...
This patch addresses known bug #76 , where on 64-bit Windows SOCKET is 64
bits wide, but long is only 32, making CURLINFO_LASTSOCKET unreliable.
Signed-off-by: Razvan Cojocaru <rcojocaru@bitdefender.com>
2015-08-24 12:34:17 +02:00
Daniel Stenberg
36f6f6f4f2
http2: remove dead code
...
Leftovers from when we removed the private socket hash.
Coverity CID 1317365, "Logically dead code"
2015-08-24 11:31:45 +02:00
Daniel Stenberg
a78534794e
ntlm: mark deliberate switch case fall-through
...
Coverity CID 1317367, "Missing break in switch"
2015-08-24 11:29:22 +02:00
Daniel Stenberg
110d99c661
http2: on_frame_recv: get a proper 'conn' for the debug logging
...
"Explicit null dereferenced (FORWARD_NULL)"
Coverity CID 1317366
2015-08-24 11:26:30 +02:00
Daniel Stenberg
6d91b70d8b
RELEASE-NOTES: synced with 2acaf3c804
2015-08-24 00:21:08 +02:00
Dan Fandrich
2acaf3c804
tool: fix memory leak with --proto-default option
2015-08-23 20:57:17 +02:00
Nathaniel Waisbrot
9756d1da76
CURLOPT_DEFAULT_PROTOCOL: added
...
- Add new option CURLOPT_DEFAULT_PROTOCOL to allow specifying a default
protocol for schemeless URLs.
- Add new tool option --proto-default to expose
CURLOPT_DEFAULT_PROTOCOL.
In the case of schemeless URLs libcurl will behave in this way:
When the option is used libcurl will use the supplied default.
When the option is not used, libcurl will follow its usual plan of
guessing from the hostname and falling back to 'http'.
2015-08-22 21:57:14 -04:00
Jay Satiro
22cb631198
runtests: Allow for spaces in server-verify curl custom path
2015-08-22 21:19:34 -04:00
Daniel Stenberg
613e5022fe
NTLM: recent boringssl brought DES_set_odd_parity back
...
... so improve the #ifdefs for using our local implementation.
2015-08-22 23:59:18 +02:00
Daniel Stenberg
2c12ac8de2
configure: detect latest boringssl
...
Since boringssl brought back DES_set_odd_parity again, it cannot be used
to differentiate from boringssl. Using the OPENSSL_IS_BORINGSSL define
seems better anyway.
URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/
Original-patch-by: Bertrand Simonnet
Closes #393
2015-08-22 00:08:03 +02:00
Daniel Stenberg
30aa38c818
configure: change functions to detect openssl (clones)
...
... since boringssl moved the former ones and the check started to fail.
URL: https://android.googlesource.com/platform/external/curl/+/f551028d5caab29d4b4a4ae8c159c76c3cfd4887%5E!/
Original-patch-by: Bertrand Simonnet
2015-08-22 00:03:56 +02:00
Alessandro Ghedini
8363656cb4
openssl: handle lack of server cert when strict checking disabled
...
If strict certificate checking is disabled (CURLOPT_SSL_VERIFYPEER
and CURLOPT_SSL_VERIFYHOST are disabled) do not fail if the server
doesn't present a certificate at all.
Closes #392
2015-08-21 15:32:51 +02:00
Daniel Stenberg
38ef1b3e7f
ftp: clear the do_more bit when the server has connected
...
The multi state machine would otherwise go into the DO_MORE state after
DO, even for the case when the FTP state machine had already performed
those duties, which caused libcurl to get stuck in that state and fail
miserably. This occured for for active ftp uploads.
Reported-by: Patricia Muscalu
2015-08-21 13:30:08 +02:00
Jactry Zeng
1d89fd983a
travis.yml: Add OS X testbot.
2015-08-21 12:48:52 +02:00
Rémy Léone
b3c7f5159a
travis: Upgrading to container based build
...
http://docs.travis-ci.com/user/migrating-from-legacy
Closes #388
2015-08-20 23:28:05 +02:00
Daniel Stenberg
1cea72bfde
RELEASE-NOTES: synced with 14ff86256b
2015-08-20 23:12:21 +02:00
Erik Janssen
14ff86256b
rtsp: stop reading empty DESCRIBE responses
...
Based-on-patch-by: Jim Hollinger
2015-08-20 23:07:03 +02:00
Erik Janssen
e4fb5f2f61
rtsp: support basic/digest authentication
2015-08-20 23:02:28 +02:00
Sam Roth
e67e71d62b
CURLMOPT_PUSHFUNCTION.3: fix argument types
...
Closes #389
Closes #386
2015-08-19 10:35:24 +02:00
Marcel Raad
618dfd65e4
inet_pton.c: Fix MSVC run-time check failure
...
Visual Studio complains with a message box:
"Run-Time Check Failure #1 - A cast to a smaller data type has caused a
loss of data. If this was intentional, you should mask the source of
the cast with the appropriate bitmask.
For example:
char c = (i & 0xFF);
Changing the code in this way will not affect the quality of the
resulting optimized code."
This is because only 'val' is cast to unsigned char, so the "& 0xff" has
no effect.
Closes #387
2015-08-19 09:31:45 +02:00
Jay Satiro
1f1f131e09
docs: Update the redirect protocols disabled by default
...
- Clarify that FILE and SCP are disabled by default since 7.19.4
- Add that SMB and SMBS are disabled by default since 7.40.0
- Add CURLPROTO_SMBS to the list of protocols
2015-08-18 01:38:07 -04:00
Jay Satiro
9518139c73
gitignore: Sort for readability
...
find . -name .gitignore -print0 | xargs -i -0 sort -o '{}' '{}'
2015-08-18 01:03:05 -04:00
Daniel Stenberg
5a136398ed
curl_easy_getinfo.3: fix superfluous space
...
... and changed "oriented" to "related"
Closes #378
2015-08-15 23:56:28 +02:00
Daniel Stenberg
7166d91a03
CURLOPT_HTTP_VERSION.3: connection re-use goes before version
2015-08-15 23:36:28 +02:00
Daniel Kahn Gillmor
31673ff517
curl.1: Document weaknesses in SSLv2 and SSLv3
...
Acknowledge that SSLv3 is also widely considered to be insecure.
Also, provide references for people who want to know more about why it's
insecure.
2015-08-15 22:53:46 +02:00
Steve Holme
bedf0a588e
generate.bat: Added support for generating only the prerequisite files
2015-08-14 20:59:48 +01:00
Steve Holme
6ba9a1b952
generate.bat: Only call buildconf.bat if it exists
2015-08-14 20:46:11 +01:00
Steve Holme
bc66c21c23
generate.bat: Fixed issues when ran in directories with special chars
2015-08-14 20:38:57 +01:00
Brad King
a9c97fba81
cmake: Fix CurlTests check for gethostbyname_r with 5 arguments
...
Fix the check code to pass 5 arguments instead of 6. This typo was
introduced by commit aebfd4cfbf (cmake: fix gethostby{addr,name}_r in
CurlTests, 2014-10-31).
2015-08-14 16:12:27 +02:00
Steve Holme
1a85c8ef15
* buildconf.bat: Fixed issues when ran in directories with special chars
...
Bug: https://github.com/bagder/curl/pull/379
Reported-by: Daniel Seither
2015-08-14 07:34:37 +01:00
Jay Satiro
9e1b1ca606
curl_global_init_mem.3: Stronger thread safety warning
...
Bug: http://curl.haxx.se/mail/lib-2015-08/0016.html
Reported-by: Eric Ridge
2015-08-13 23:29:27 -04:00
Svyatoslav Mishyn
15da07d2f2
curl_multi_add_handle.3: fix a typo
...
"can not" => "cannot"
closes #377
2015-08-12 15:23:59 +02:00