Kamil Dudka
ce2c3ebda2
curl --socks5-{basic,gssapi}: control socks5 auth
...
Closes https://github.com/curl/curl/pull/1454
2017-06-28 08:03:00 +02:00
Kamil Dudka
8924f58c37
CURLOPT_SOCKS5_AUTH: allowed methods for SOCKS5 proxy auth
...
If libcurl was built with GSS-API support, it unconditionally advertised
GSS-API authentication while connecting to a SOCKS5 proxy. This caused
problems in environments with improperly configured Kerberos: a stock
libcurl failed to connect, despite libcurl built without GSS-API
connected fine using username and password.
This commit introduces the CURLOPT_SOCKS5_AUTH option to control the
allowed methods for SOCKS5 authentication at run time.
Note that a new option was preferred over reusing CURLOPT_PROXYAUTH
for compatibility reasons because the set of authentication methods
allowed by default was different for HTTP and SOCKS5 proxies.
Bug: https://curl.haxx.se/mail/lib-2017-01/0005.html
Closes https://github.com/curl/curl/pull/1454
2017-06-28 08:02:58 +02:00
Daniel Stenberg
924cd3e25b
CURLINFO_REDIRECT_URL.3: mention the CURLOPT_MAXREDIRS case
...
... supported since 7.54.1
2017-06-24 00:59:10 +02:00
Daniel Stenberg
b4043706eb
CONTRIBUTE.md: mention the out-of-tree build test too
2017-06-22 10:31:03 +02:00
Daniel Stenberg
9b167fd090
--request-target: instead of --strip-path-slash
...
... and CURLOPT_REQUEST_TARGET instead of CURLOPT_STRIP_PATH_SLASH.
This option instead provides the full "alternative" target to use in the
request, instead of extracting the path from the URL.
Test 1298 and 1299 updated accordingly.
Idea-by: Evert Pot
Suggestion: https://daniel.haxx.se/blog/2017/06/19/options-with-curl/comment-page-1/#comment-18373
Closes #1593
2017-06-21 23:39:10 +02:00
Daniel Stenberg
b778ae4c5e
http: add --strip-path-slash and CURLOPT_STRIP_PATH_SLASH
...
... to enable sending "OPTIONS *" which wasn't possible previously.
This option currently only works for HTTP.
Added test cases 1298 + 1299 to verify
Fixes #1280
Closes #1462
2017-06-19 16:39:22 +02:00
Daniel Stenberg
3b80d3ca46
getinfo: return sizes as curl_off_t
...
This change introduces new alternatives for the existing six
curl_easy_getinfo() options that return sizes or speeds as doubles. The
new versions are named like the old ones but with an appended '_T':
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T
CURLINFO_CONTENT_LENGTH_UPLOAD_T
CURLINFO_SIZE_DOWNLOAD_T
CURLINFO_SIZE_UPLOAD_T
CURLINFO_SPEED_DOWNLOAD_T
CURLINFO_SPEED_UPLOAD_T
Closes #1511
2017-06-19 09:27:42 +02:00
Daniel Stenberg
7b3b4722be
CURLOPT_PREQUOTE.3: spellfix man page reference
2017-06-18 17:06:51 +02:00
Daniel Stenberg
c095d7b590
TODO: update the TOC too
2017-06-18 00:30:16 +02:00
Daniel Stenberg
8bc9cabd7f
TODO: implement support for CURLOPT_PREQUOTE with SFTP
...
... also updated the CURLOPT_PREQUOTE.3 man page to mention the correct
protocol support.
Closes #1514
2017-06-18 00:25:09 +02:00
Daniel Stenberg
5385450afd
curl: prevent binary output spewed to terminal
...
... unless "--output -" is used. Binary detection is done by simply
checking for a binary zero in early data.
Added test 1425 1426 to verify.
Closes #1512
2017-06-16 23:38:13 +02:00
Marcel Raad
ce2cc568f8
Makefile.m32: enable -W for MinGW32 build
...
The configure-based build also has this in addition to -Wall.
Closes https://github.com/curl/curl/pull/1578
2017-06-16 22:32:22 +02:00
Daniel Stenberg
4d1147ae20
TODO: the generated include file is gone
...
... since commit 73a2fcea0b
2017-06-15 13:30:57 +02:00
Daniel Stenberg
84b9458837
curl: allow --header and --proxy-header read from file
...
So many headers can be provided as @filename.
Suggested-by: Timothe Litt
Closes #1486
2017-06-15 11:09:40 +02:00
Daniel Stenberg
5113ad0424
http-proxy: do the HTTP CONNECT process entirely non-blocking
...
Mentioned as a problem since 2007 (8f87c15bda
) and of course it
existed even before that.
Closes #1547
2017-06-14 23:43:52 +02:00
Daniel Stenberg
73a2fcea0b
includes: remove curl/curlbuild.h and curl/curlrules.h
...
Rely entirely on curl/system.h now.
Introduced in Aug 2008 with commit 14240e9e10
. Now gone.
Fixes #1456
2017-06-14 11:07:33 +02:00
Daniel Stenberg
54b636f145
release: 7.54.1
2017-06-14 08:08:56 +02:00
ygrek
ab1f4eb011
BINDINGS: update SP-Forth and OCaml urls
2017-06-12 00:43:20 +02:00
Daniel Stenberg
4024a0b93b
RELEASE-PROCEDURE: updated future release dates
2017-06-09 15:58:51 +02:00
Ryuichi KAWAMATA
bc164de7b3
examples/multi-uv.c: fix deprecated symbol
...
Closes #1557
2017-06-08 23:23:59 +02:00
Mahmoud Samir Fayed
65ba92650d
BINDINGS: add Ring binding
...
Closes https://github.com/curl/curl/pull/1539
2017-06-03 23:53:51 -04:00
Daniel Stenberg
c3ad22697c
CONTRIBUTE.md: mention tests done on pull requests
2017-06-04 00:21:59 +02:00
Daniel Stenberg
efc7c1d86f
typecheck-gcc.h: check CURLINFO_CERTINFO
...
... and update the certinfo.c example accordingly.
Fixes https://github.com/curl/curl/issues/846
2017-06-01 21:06:09 +02:00
Daniel Stenberg
5fe4f78902
typecheck-gcc.h: separate getinfo slist checks from other pointers
...
Fixes #1524
2017-06-01 21:06:09 +02:00
Daniel Stenberg
c5de7f50f7
examples/externalsocket.c: s/closesocket/closecb
...
... since closesocket is a function in WinSock.
Reported-by: Marcel Raad
Bug: 55fcb84859 (co)
mmitcomment-22347818
2017-05-31 23:22:46 +02:00
Daniel Stenberg
aae4a4788a
CURLOPT_SSH_KEY*.3: typos
...
Reported-by: Gisle Vanem
2017-05-31 13:52:03 +02:00
Daniel Stenberg
399a1a6182
CURLOPT_STREAM_DEPENDS.3: typo
2017-05-31 13:39:56 +02:00
Daniel Stenberg
f072393feb
CURLOPT_FNMATCH_FUNCTION.3: also modified example to avoid fcpp issues
2017-05-31 13:36:51 +02:00
Daniel Stenberg
28baf380fa
CURLOPT_FNMATCH_DATA.3: modified example to avoid fcpp issues
2017-05-31 13:30:04 +02:00
Daniel Stenberg
4600362a5a
opts: more than 100 more examples for man pages...
2017-05-31 11:56:53 +02:00
Daniel Stenberg
501b9ebe92
examples/sampleconv.c: indent changes, made callbacks static
2017-05-31 11:56:53 +02:00
Daniel Stenberg
55fcb84859
example/externalsocket.c: make it use CLOSESOCKETFUNCTION too
2017-05-31 11:56:53 +02:00
Daniel Stenberg
a6ad28a75e
CURLOPT_PROXY.3: fix test 1140 breakage
2017-05-31 08:45:36 +02:00
Daniel Stenberg
bb1a8c174b
opts: more examples added to man pages
2017-05-30 23:35:30 +02:00
Daniel Stenberg
2d5fa35e85
docs: clarify NO_PROXY further
...
Fixes #1208
2017-05-30 22:43:34 +02:00
Daniel Stenberg
dd97551746
CURLOPT_PROXY.3: describe the environment variables more
2017-05-30 18:05:33 +02:00
Daniel Stenberg
c2227dae53
opts: more examples added in option man pages
2017-05-27 23:11:26 +02:00
Daniel Stenberg
d90b729c3b
TODO: 6.4 is done, send telnet data in chunks
2017-05-25 21:54:26 +02:00
Phil Crump
a9de0a9f54
docs/CURLOPT_SSLVERSION.3: Correct define name in example
...
Closes #1509
2017-05-25 16:28:30 +02:00
Marcel Raad
b4d87f54d6
examples: fix Wimplicit-fallthrough warnings
...
This is contained in -Wextra with GCC 7.
2017-05-24 11:56:38 +02:00
Sergei Nikulov
63cd0d60ea
LDAP: documentation update per #878 changes ( #1506 )
2017-05-24 01:03:29 +03:00
Daniel Stenberg
bba59073c5
redirect: store the "would redirect to" URL when max redirs is reached
...
Test 1261 added to verify.
Reported-by: Lloyd Fournier
Fixes #1489
Closes #1497
2017-05-23 23:27:58 +02:00
Daniel Stenberg
e5491e0f9c
ghiper.c/hiperfifo.c: add comment about missing timer functionality
...
It takes someone to read up on the APIs of these libraries to figure out
how to do this correctly.
Reported-by: Michael Kaufmann
Closes #1253
2017-05-19 14:25:16 +02:00
Daniel Stenberg
d6bb1f1d56
asiohiper.cpp / evhiperfifo.c: deal with negative timerfunction input
...
That means delete the timer.
Reported-by: Michael Kaufmann
Ref: #1253
2017-05-19 14:16:37 +02:00
Daniel Stenberg
ce73a30168
cmdline-opts/write-out.d: s/-L/--location
...
Since the man page generator wants the long option name version to
generate the proper output.
2017-05-18 23:11:45 +02:00
Daniel Stenberg
a6f657911e
oauth2-bearer.d: mention the <token> argument
2017-05-17 10:55:12 +02:00
Daniel Stenberg
4fcc0b09fb
docs/cmdline-opts/config.d: edit for language
2017-05-16 08:49:11 +02:00
eb16305e6a
SecureTransport/DarwinSSL: Implement public key pinning
...
Closes #1400
2017-05-15 22:54:33 +02:00
Daniel Stenberg
1919569633
man pages: fix example syntax errors
...
follow-up to 5ddad099b4
2017-05-15 13:01:15 +02:00
Daniel Stenberg
5ddad099b4
docs/libcurl/opts: added more examples in man pages
2017-05-15 11:45:19 +02:00