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
Marcel Raad
ad8c1472fe
unit1305: fix compiler warning
...
calloc and ai_addrlen expect different (usually unsigned) types.
2017-05-05 11:44:22 +02:00
Daniel Stenberg
1ef38a95d2
runtests: use -R for random order
...
Suggested-by: Dan Fandrich
2017-05-05 08:12:24 +02:00
Daniel Stenberg
067b8f2304
runtests: add -o to run test cases in scrambled order
...
... instead of numerical order.
Closes #1466
2017-05-04 23:36:57 +02:00
Dan Fandrich
79bb0afddb
sockfilt.c: shortened too long line
2017-05-04 22:37:34 +02:00
Marcel Raad
4032c5da84
tests/server: make string literals const
...
assign string literals to const char * instead of char * in order to
avoid a lot of these warnings:
cast from 'const char *' to 'char *' drops const qualifier
[-Wcast-qual]
2017-05-04 20:26:06 +02:00
Dan Fandrich
07fd7871b3
schannel: return a more specific error code for SEC_E_UNTRUSTED_ROOT
2017-05-04 18:19:33 +02:00
Dan Fandrich
7cb1e1ee01
test557: set a known good numeric locale
...
Windows does not allow setting the locale with environment variables (as
the test attempted to do), so the test failed when run with a user
locale that has a comma as radixchar. Changed the test to call
setlocale() explicitly to ensure that a known working locale is set even
on Windows.
2017-05-04 18:17:08 +02:00
Daniel Stenberg
ff10852158
curl: fix warning "comma at end of enumerator list"
2017-05-04 15:49:38 +02:00
Daniel Stenberg
dfb0595a73
test559: verify use of minimum CURLOPT_BUFFERSIZE
2017-05-04 15:39:04 +02:00
Marcel Raad
a51ca050fc
curl_setup_once: use SEND_QUAL_ARG2 for swrite
...
SEND_QUAL_ARG2 had to be set, but was never used. Use it in swrite to
avoid warnings about casting away low-level const.
Closes https://github.com/curl/curl/pull/1464
2017-05-04 09:23:00 +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
Marcel Raad
cee39aa3be
lib: fix compiler warnings
...
Fix the following warnings when building the tests by using the correct
types:
cast from 'const char *' to 'void *' drops const qualifier
[-Wcast-qual]
implicit conversion changes signedness [-Wsign-conversion]
2017-05-03 20:11:13 +02:00
Marcel Raad
fa12f54bba
typecheck-gcc: add support for CURLINFO_SOCKET
...
Closes https://github.com/curl/curl/pull/1452
2017-05-03 18:30:21 +02:00
Marcel Raad
3ff0d2fb00
typecheck-gcc: add missing string options
...
Closes https://github.com/curl/curl/pull/1452
2017-05-03 18:30:19 +02:00
Daniel Stenberg
1bfdbb5a51
abstract-unix-socket.d: shorten the help text to fit within 79 cols
2017-05-03 14:22:58 +02:00
Daniel Stenberg
120488d9d6
RELEASE-NOTES: synced with 862b02f89
2017-05-02 23:41:21 +02:00
Richard Hsu
862b02f894
Telnet: Write full buffer instead of byte-by-byte
...
Previous TODO wanting to write in chunks. We should support writing more
at once since some TELNET servers may respond immediately upon first
byte written such as WHOIS servers.
Closes #1389
2017-05-02 23:23:39 +02:00
Daniel Stenberg
913c3c8f54
curl: non-boolean command line args reject --no- prefixes
...
... and instead properly respond with an error message to the user
instead of silently ignoring.
Fixes #1453
Closes #1458
2017-05-02 23:09:54 +02:00
Marcel Raad
f2d5d05893
testpart: remove _MPRINTF_REPLACE
...
Support for _MPRINTF_REPLACE in mprintf.h was removed in
55452ebdff
, replaced with curl_printf.h.
2017-05-02 21:09:41 +02:00
Dan Fandrich
6943085b50
gtls: fixed a lingering BUFSIZE reference
2017-05-02 09:14:26 +02:00
Daniel Stenberg
eab6732fde
ssh: fix compiler warning from e40e9d7f0d
2017-05-02 08:32:04 +02:00
Daniel Stenberg
4858c451ee
url: let CURLOPT_BUFFERSIZE realloc to smaller sizes too
...
Closes #1449
2017-05-02 00:04:52 +02:00
Daniel Stenberg
e3ed5cb380
BUFSIZE: rename to READBUFFER_*, make separate MASTERBUF_SIZE
2017-05-01 22:55:29 +02:00
Daniel Stenberg
799c7048dc
openssl: use local stack for temp storage
2017-05-01 22:55:29 +02:00
Daniel Stenberg
7ee52c25f3
sendf: remove use of BUFSIZE from debug data conversions
...
The buffer can have other sizes.
2017-05-01 22:55:29 +02:00
Daniel Stenberg
e40e9d7f0d
buffer: use data->set.buffer_size instead of BUFSIZE
...
... to properly use the dynamically set buffer size!
2017-05-01 22:55:29 +02:00
Daniel Stenberg
c79f4908d4
krb5: use private buffer for temp string, not receive buffer
2017-05-01 22:55:29 +02:00
Daniel Stenberg
89cf6f38d2
upload: UPLOAD_BUFSIZE is now for the upload buffer
2017-05-01 22:55:29 +02:00
Daniel Stenberg
8ed81f67c2
unit1606: do not print/access buffer
...
It was a wrong assumption that it could do that!
2017-05-01 22:55:29 +02:00
Daniel Stenberg
0cab3a394a
http-proxy: use a dedicated CONNECT response buffer
...
To make it suitably independent of the receive buffer and its flexible
size.
2017-05-01 22:55:29 +02:00
Daniel Stenberg
40a074f255
transfer: fix minor buffer_size mistake
2017-05-01 22:55:29 +02:00
Daniel Stenberg
f2fadf490f
failf: use private buffer, don't clobber receive buffer
2017-05-01 22:55:29 +02:00
Daniel Stenberg
b8191e975f
pingpong: use the set buffer size
2017-05-01 22:55:29 +02:00
Daniel Stenberg
504eafff86
http2: use the correct set buffer size
2017-05-01 22:55:29 +02:00
Daniel Stenberg
87eb8d5b30
http: don't clobber the receive buffer for timecond
2017-05-01 22:55:29 +02:00
Daniel Stenberg
f535f4f5fc
buffer_size: make sure it always has the correct size
...
Removes the need for CURL_BUFSIZE
2017-05-01 22:55:29 +02:00
Daniel Stenberg
7c312f84ea
file: use private buffer for C-L output
...
... instead of clobbering the download buffer.
2017-05-01 22:55:29 +02:00
Daniel Stenberg
c2ddc12d60
CURLOPT_BUFFERSIZE: 1024 bytes is now the minimum size
...
The buffer is needed to receive FTP, HTTP CONNECT responses etc so
already at this size things risk breaking and smaller is certainly not
wise.
2017-05-01 22:55:29 +02:00
Daniel Stenberg
349789e645
ftp: use private buffer for temp storage, not receive buffer
2017-05-01 22:55:29 +02:00
Daniel Stenberg
94460878cc
http: use private user:password output buffer
...
Don't clobber the receive buffer.
2017-05-01 22:55:29 +02:00
Marcel Raad
35311b22b9
anyauthput: remove unused code
...
The definition of TRUE was introduced in
4a728747e6
and is not used anymore since
e664cd5826
.
The usage of intptr_t was removed in
32e38b8f42
.
2017-05-01 21:51:02 +02:00
Jay Satiro
5b13619da4
tool: Fix missing prototype warnings for CURL_DOES_CONVERSIONS
...
- Include tool_convert.h where needed.
Bug: https://github.com/curl/curl/issues/1460
Reported-by: Gisle Vanem
2017-05-01 14:48:45 -04:00
Jay Satiro
499a7288fe
curl_setup: Ensure no more than one IDN lib is enabled
...
Prior to this change it was possible for libcurl to be built with both
Windows' native IDN lib (normaliz) and libidn2 enabled. It appears that
doesn't offer any benefit --and could cause a bug-- since libcurl's IDN
handling is written to use either one but not both.
Bug: https://github.com/curl/curl/issues/1441#issuecomment-297689856
Reported-by: Gisle Vanem
2017-05-01 14:48:34 -04:00
Marcel Raad
0912a5c760
getpart: use correct variable type
...
This fixes the following clang warning:
getpart.c:201:17: warning: cast from function call of type 'CURLcode'
to non-matching type 'int' [-Wbad-function-cast]
2017-05-01 13:17:57 +02:00
Marcel Raad
7dd89c1cdc
tests: declare TU-local variables static
...
This fixes missing-variable-declarations warnings when building with
clang.
2017-05-01 12:55:09 +02:00