rouzier
b1d55997e5
hiperfifo: fix the pointer passed to WRITEDATA
...
Closes https://github.com/bagder/curl/pull/471
2015-10-04 17:16:14 -04:00
Maksim Stsepanenka
2eb4f5efe9
tool_setopt: fix c_escape truncated octal
...
Closes https://github.com/bagder/curl/pull/469
2015-10-02 02:45:28 -04:00
Orange Tsai
5bf36ea30d
gopher: don't send NUL byte
...
Closes #466
2015-10-01 18:15:11 +02:00
Jay Satiro
c6ff538ebd
runtests: Fix pid check in checkdied
...
Because the 'not' operator has a very low precedence and as a result the
entire statement was erroneously negated and could never be true.
2015-09-29 22:08:57 -04:00
Thorsten Schöning
8fd190c04f
win32: make recent Borland compilers use long long
2015-09-30 00:03:35 +02:00
Daniel Stenberg
ec9cbb1757
RELEASE-NOTES: synced with 69b89050d4
2015-09-29 10:57:42 +02:00
Michael Kalinin
69b89050d4
openssl: Fix algorithm init
...
- Change algorithm init to happen after OpenSSL config load.
Additional algorithms may be available due to the user's config so we
initialize the algorithms after the user's config is loaded.
Bug: https://github.com/bagder/curl/issues/447
Reported-by: Denis Feklushkin
2015-09-28 22:47:25 -04:00
Svyatoslav Mishyn
963b7bd4f7
docs: fix unescaped '\n' in man pages
...
Closes https://github.com/bagder/curl/pull/459
2015-09-27 23:45:41 -04:00
Daniel Stenberg
af90becf4b
http2: set TCP_NODELAY unconditionally
...
For a single-stream download from localhost, we managed to increase
transfer speed from 1.6MB/sec to around 400MB/sec, mostly because of
this single fix.
2015-09-27 23:23:58 +02:00
Daniel Stenberg
46ad4f7f93
http2: avoid superfluous Curl_expire() calls
...
... only call it when there is data arriving for another handle than the
one that is currently driving it.
Improves single-stream download performance quite a lot.
Thanks-to: Tatsuhiro Tsujikawa
Bug: http://curl.haxx.se/mail/lib-2015-09/0097.html
2015-09-27 23:23:33 +02:00
Daniel Stenberg
790d6de485
readwrite_data: set a max number of loops
...
... as otherwise a really fast pipe can "lock" one transfer for some
protocols, like with HTTP/2.
2015-09-27 20:48:35 +02:00
Sergei Nikulov
4f037367ed
CI: Added AppVeyor-CI for curl
...
Closes #439
2015-09-26 23:57:36 +02:00
Daniel Stenberg
32fc638ddf
FTP: fix uploading ASCII with unknown size
...
... don't try to increase the supposed file size on newlines if we don't
know what file size it is!
Patch-by: lzsiga
2015-09-26 23:36:25 +02:00
Tatsuhiro Tsujikawa
119037325d
build: fix failures with -Wcast-align and -Werror
...
Closes #457
2015-09-26 23:10:20 +02:00
Tatsuhiro Tsujikawa
710bb89cf3
curl-confopts.m4: Add missing ')'
...
... for CURL_CHECK_OPTION_RT
Closes #456
2015-09-26 23:09:40 +02:00
Jay Satiro
095fe60e27
curl_easy_getinfo.3: Add brief description for each CURLINFO
2015-09-25 02:37:42 -04:00
Jakub Zakrzewski
4d60e125de
CMake: Ensure discovered include dirs are considered
...
...during header checks. Otherwise some following header tests
(incorrectly) fail.
Closes #436
2015-09-23 15:19:54 +02:00
Jakub Zakrzewski
7c478cad57
CMake: Put "winsock2.h" before "windows.h" during configure checks
...
"windows.h" includes "winsock.h" what causes many redefinition errors
if "winsock2.h" is included afterwards and can cause build to fail.
2015-09-23 15:18:38 +02:00
Daniel Stenberg
0110cced2a
tests: disable 1510 due to CI-problems on github
2015-09-23 13:53:38 +02:00
Mike Crowe
5f87906e0e
gnutls: Report actual GnuTLS error message for certificate errors
...
If GnuTLS fails to read the certificate then include whatever reason it
provides in the failure message reported to the client.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
2015-09-23 13:44:40 +02:00
Daniel Stenberg
684bf30802
RELEASE-NOTES: synced with 6b56901b56
2015-09-22 22:21:58 +02:00
Mike Crowe
6b56901b56
gnutls: Support CURLOPT_KEYPASSWD
...
The gnutls vtls back-end was previously ignoring any password set via
CURLOPT_KEYPASSWD. Presumably this was because
gnutls_certificate_set_x509_key_file did not support encrypted keys.
gnutls now has a gnutls_certificate_set_x509_key_file2 function that
does support encrypted keys. Let's determine at compile time whether the
available gnutls supports this new function. If it does then use it to
pass the password. If it does not then emit a helpful diagnostic if a
password is set. This is preferable to the previous behaviour of just
failing to read the certificate without giving a reason in that case.
Signed-off-by: Mike Crowe <mac@mcrowe.com>
2015-09-22 17:30:33 +02:00
Daniel Stenberg
7362008c1c
CURLINFO_TLS_SESSION: always return backend info
...
... even for those that don't support providing anything in the
'internals' struct member since it offers a convenient way for
applications to figure this out.
2015-09-22 17:21:37 +02:00
Daniel Hwang
1467dec147
tool: remove redundant libcurl check
...
The easysrc generation is run only when --libcurl is initialized.
Ref: https://github.com/bagder/curl/issues/429
Closes #448
2015-09-22 17:06:28 +02:00
Richard van den Berg
0583ed3e48
CURLOPT_PROXY.3: A proxy given as env variable gets no special treatment
...
Closes #449
2015-09-22 16:54:28 +02:00
Daniel Stenberg
67ae07c2e0
TODO: 5.7 More compressions
...
Like for example brotli, as being implemented in Firefox now.
2015-09-22 10:53:55 +02:00
Jay Satiro
3f8d4e264d
tool_operate: Don't call easysrc cleanup unless --libcurl
...
- Review of 4d95491
.
The author changed it so easysrc only initializes when --libcurl but did
not do the same for the call to easysrc cleanup.
Ref: https://github.com/bagder/curl/issues/429
2015-09-21 02:21:38 -04:00
Viktor Szakats
bb72b9453d
CURLOPT_PINNEDPUBLICKEY.3: replace test.com with example.com
...
closes #443
2015-09-20 18:41:23 +02:00
Daniel Stenberg
5fde69cdc3
KNOWN_BUGS: 91 "curl_easy_perform hangs with imap and PolarSSL"
...
Closes #334
2015-09-20 13:34:16 +02:00
Daniel Stenberg
443014e905
KNOWN_BUGS: add link to #85
2015-09-20 13:31:22 +02:00
Daniel Stenberg
37af1766e9
tests: disable 1801 until fixed
...
It is unreliable and causes CI problems on github
Closes #380
2015-09-20 13:12:44 +02:00
Daniel Stenberg
67dbf8aa9c
RELEASE-NOTES: synced with 4d95491636
2015-09-20 13:00:19 +02:00
Daniel Lee Hwang
4d95491636
tool: generate easysrc only on --libcurl
...
Code should only be generated when --libcurl is used.
Bug: https://github.com/bagder/curl/issues/429
Reported-by: @greafhe, Jay Satiro
Closes #429
Closes #442
2015-09-20 12:54:18 +02:00
Jay Satiro
47b7d658b4
vtls: Change designator name for server's pubkey hash
...
- Change the designator name we use to show the base64 encoded sha256
hash of the server's public key from 'pinnedpubkey' to
'public key hash'.
Though the server's public key hash is only shown when comparing pinned
public key hashes, the server's hash may not match one of the pinned.
2015-09-19 22:40:40 -04:00
Isaac Boukris
f65e07ca59
NTLM: Reset auth-done when using a fresh connection
...
With NTLM a new connection will always require authentication.
Fixes #435
2015-09-19 23:21:05 +02:00
Daniel Hwang
30c131f51f
ssl: add server cert's "sha256//" hash to verbose
...
Add a "pinnedpubkey" section to the "Server Certificate" verbose
Bug: https://github.com/bagder/curl/issues/410
Reported-by: W. Mark Kubacki
Closes #430
Closes #410
2015-09-19 23:17:39 +02:00
Jakub Zakrzewski
c979a3d0c4
openldap: only part of LDAP query results received
...
Introduced with commit 65d141e6da
Closes #440
2015-09-19 23:06:03 +02:00
Alessandro Ghedini
c184a5c6bc
openssl: don't output certinfo data
2015-09-19 22:53:31 +02:00
Alessandro Ghedini
c00cec9864
openssl: refactor certificate parsing to use OpenSSL memory BIO
...
Fixes #427
2015-09-19 22:53:31 +02:00
Kamil Dudka
958d2ffb19
nss: prevent NSS from incorrectly re-using a session
...
Without this workaround, NSS re-uses a session cache entry despite the
server name does not match. This causes SNI host name to differ from
the actual host name. Consequently, certain servers (e.g. github.com)
respond by 400 to such requests.
Bug: https://bugzilla.mozilla.org/1202264
2015-09-18 17:38:51 +02:00
Kamil Dudka
a9fd53887b
nss: check return values of NSS functions
2015-09-18 17:07:22 +02:00
Daniel Stenberg
65ca3b083c
CURLOPT_PINNEDPUBLICKEY.3: mention error code
2015-09-17 08:54:32 +02:00
Daniel Stenberg
82e3e8e31f
openssl: build with < 0.9.8
...
... without sha256 support and no define saying so.
Reported-by: Rajkumar Mandal
2015-09-17 08:54:04 +02:00
Daniel Stenberg
887a4a19aa
libcurl-errors.3: add two missing error codes
...
CURLE_SSL_PINNEDPUBKEYNOTMATCH and CURLE_SSL_INVALIDCERTSTATUS
2015-09-17 08:49:06 +02:00
Jay Satiro
b550a1c067
CURLOPT_PINNEDPUBLICKEY.3: Improve pubkey extraction example
...
- Show how a certificate can be obtained using OpenSSL.
Bug: https://github.com/bagder/curl/pull/430
Reported-by: Daniel Hwang
2015-09-14 03:16:04 -04:00
Daniel Stenberg
202162daeb
http2: removed unused function
2015-09-13 16:33:51 +02:00
Daniel Stenberg
a7cb6a28e2
CURLINFO_ACTIVESOCKET.3: mention it replaces *LASTSOCKET
2015-09-12 23:37:52 +02:00
Daniel Stenberg
3d4ffa71f7
opts: add CURLINFO_* man pages to dist
2015-09-12 23:22:33 +02:00
Daniel Stenberg
cdba82e1c2
opts: 19 more CURLINFO_* options made into stand-alone man pages
2015-09-12 23:13:47 +02:00
Daniel Stenberg
68c620fdc7
RELEASE-NOTES: synced with fad9604613
2015-09-12 12:54:58 +02:00