Alessandro Ghedini
274f9cac96
docs: fix typo stuct -> struct
2017-08-12 13:33:10 +01:00
Daniel Stenberg
a7bbbb7c36
make install: add 8 missing man pages to the installation
2017-08-09 11:31:10 +02:00
Viktor Szakats
13ef623a81
docs/comments: Update to secure URL versions
...
Closes #1741
2017-08-08 21:41:07 +02:00
Daniel Stenberg
70934885d0
CURLOPT_NETRC.3: fix typo in 7e48aa3861
...
Reported-by: Viktor Szakats
2017-08-02 15:29:27 +02:00
Daniel Stenberg
7e48aa3861
CURLOPT_NETRC.3: mention the file name on windows
...
... and CURLOPT_NETRC_FILE(3).
2017-08-02 14:34:26 +02:00
Daniel Stenberg
bbc9c6d144
CURLOPT_POSTFIELDS.3: explain the 100-continue magic better
2017-07-07 12:43:17 +02:00
Daniel Stenberg
a126ca8481
curl_easy_escape.3: mention the (lack of) encoding
...
Fixes #1612
Reported-by: Jeroen Ooms
2017-07-07 10:47:46 +02:00
Daniel Stenberg
ef2a9f22cc
curl_strequal.3: fix typo in SYNOPSIS
...
Reported-by: Jesse Chisholm
Fixes #1623
2017-06-29 01:16:56 +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
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
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
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
5fe4f78902
typecheck-gcc.h: separate getinfo slist checks from other pointers
...
Fixes #1524
2017-06-01 21:06:09 +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
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
Phil Crump
a9de0a9f54
docs/CURLOPT_SSLVERSION.3: Correct define name in example
...
Closes #1509
2017-05-25 16:28:30 +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
Daniel Stenberg
e366ca2b85
CURLOPT_HTTPPROXYTUNNEL: clarify, add example
2017-05-15 10:11:23 +02:00
Dan Fandrich
d836c9fee4
url.c: add a compile-time check that CURL_MAX_WRITE_SIZE is large enough
...
Some code (e.g. Curl_fillreadbuffer) assumes that this buffer is not
exceedingly tiny and will break if it is. This same check is already
done at run time in the CURLOPT_BUFFERSIZE option.
2017-05-13 23:21:27 +02:00
Daniel Stenberg
289236b223
opts: fix bad example formatting \n => \\n
...
...to render properly nroff.
2017-05-06 23:51:29 +02:00
Daniel Stenberg
271c63748a
opts: examples added to 8 more libcurl option man pages
2017-05-06 23:38:39 +02:00
Daniel Stenberg
2b7bde4d3f
docs/opts: 24 more man pages now have examples
2017-05-05 17:26:08 +02:00
Daniel Stenberg
58a6265a40
docs/opts: 23 more man pages now have examples
2017-05-05 16:30:23 +02:00
Daniel Stenberg
22fdb0954c
tests/server: run checksrc by default in debug-builds
2017-05-05 15:51:25 +02:00
Daniel Stenberg
9b47f67929
curl_slist_append.3: clarify a NULL input creates a new list
2017-05-05 13:54:56 +02:00
Daniel Stenberg
4b93382193
CURLINFO_REDIRECT_URL.3: add example
2017-05-04 00:00:13 +02:00
Daniel Stenberg
b065a508c6
CURLINFO_EFFECTIVE_URL.3: add example
2017-05-04 00:00:07 +02:00
Kamil Dudka
e3e8d0204b
nss: load libnssckbi.so if no other trust is specified
...
The module contains a more comprehensive set of trust information than
supported by nss-pem, because libnssckbi.so also includes information
about distrusted certificates.
Reviewed-by: Kai Engert
Closes #1414
2017-04-25 13:24:24 +02:00
Dan Fandrich
f9d1e9a27f
libcurl-thread.3: fixed a bad macro that caused test 1140 to fail
2017-04-10 07:42:22 +02:00
Daniel Stenberg
1b9b90d94a
libcurl-thread.3: also mention threaded-resolver
...
Reported-by: Alex Bligh
Bug: https://curl.haxx.se/mail/lib-2017-04/0044.html
2017-04-09 23:09:50 +02:00
Jay Satiro
fa66403280
CURLINFO_SCHEME.3: fix variable type
...
- Change documented param type to char ** from incorrect long *.
2017-04-08 15:44:39 -04:00
Daniel Stenberg
721f8c05c7
docs: added examples for CURLINFO_FILETIME.3 and CURLOPT_FILETIME.3
2017-04-03 00:00:43 +02:00
Peter Wu
ec493dbda2
cmake: fix build with cmake 2.8.12.2
...
For some reason, CMake 2.8.12.2 did not expand the list argument in a
single DEPENDS argument. Remove the quotes, so it gets expanded into
multiple arguments for add_custom_command and add_custom_target.
Fixes https://github.com/curl/curl/issues/1370
Closes #1372
2017-03-30 23:43:35 +02:00
Daniel Stenberg
f8952932e7
cmake: add cmake file in docs/libcurl/opts/ to dist
2017-03-30 08:16:56 +02:00
Daniel Stenberg
63dd7bbc50
cmake: add more missing files to the dist
2017-03-30 08:12:37 +02:00
Maksim Stsepanenka
d1ddda7e75
make: use the variable MAKE for recursive calls
...
Closes #1366
2017-03-29 08:17:13 +02:00