- May 09, 2017
-
-
Daniel Stenberg authored
... to really make sure the boundary fits in the target buffer. Fixes unused parameter 'buflen' warning. Reported-by: Michael Kaufmann Bug: https://github.com/curl/curl/pull/1468#issuecomment-300078754
-
- May 08, 2017
-
-
Jay Satiro authored
When the random seed is purposely made predictable for testing purposes by using the CURL_ENTROPY environment variable, process that data in an endian agnostic way so the the initial random seed is the same regardless of endianness. - Change Curl_rand to write to a char array instead of int array. - Add Curl_rand_hex to write random hex characters to a buffer. Fixes #1315 Closes #1468 Co-authored-by: Daniel Stenberg Reported-by: Michael Kaufmann
-
- May 07, 2017
-
-
Marcel Raad authored
Don't do anything in this file if CURLRES_THREADED is not defined.
-
Marcel Raad authored
The cases this warns about are handled elsewhere, so just use an intermediate variable to silence the warning.
-
- May 04, 2017
-
-
Dan Fandrich authored
-
Marcel Raad authored
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
-
- May 03, 2017
-
-
Marcel Raad authored
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]
-
- May 02, 2017
-
-
Richard Hsu authored
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
-
Dan Fandrich authored
-
Daniel Stenberg authored
-
- May 01, 2017
-
-
Daniel Stenberg authored
Closes #1449
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
The buffer can have other sizes.
-
Daniel Stenberg authored
... to properly use the dynamically set buffer size!
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
To make it suitably independent of the receive buffer and its flexible size.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Removes the need for CURL_BUFSIZE
-
Daniel Stenberg authored
... instead of clobbering the download buffer.
-
Daniel Stenberg authored
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.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Don't clobber the receive buffer.
-
Jay Satiro authored
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
-
- Apr 30, 2017
-
-
Marcel Raad authored
This fixes the following clang warnings: http2.c:184:27: error: no previous extern declaration for non-static variable 'Curl_handler_http2' [-Werror,-Wmissing-variable-declarations] http2.c:204:27: error: no previous extern declaration for non-static variable 'Curl_handler_http2_ssl' [-Werror,-Wmissing-variable-declarations]
-
- Apr 29, 2017
-
-
Marcel Raad authored
clang complains: curl_rtmp.c:61:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmp' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:81:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpt' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:101:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpe' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:121:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpte' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:141:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmps' [-Werror,-Wmissing-variable-declarations] curl_rtmp.c:161:27: error: no previous extern declaration for non-static variable 'Curl_handler_rtmpts' [-Werror,-Wmissing-variable-declarations] Fix this by including the header file.
-
Dan Fandrich authored
-
- Apr 27, 2017
-
-
Dan Fandrich authored
Missed in commit 55c3c02e
-
- Apr 26, 2017
-
-
Marcel Raad authored
This fixes the following clang warnings: macro is not used [-Wunused-macros] will never be executed [-Wunreachable-code] Closes https://github.com/curl/curl/pull/1448
-
- Apr 25, 2017
-
-
Daniel Stenberg authored
-
Martin Kepplinger authored
get_protocol_family() is not defined static even though there is a static local forward declaration. Let's simply make the definition match it's declaration. Bug: https://curl.haxx.se/mail/lib-2017-04/0127.html
-
Kamil Dudka authored
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
-
Kamil Dudka authored
No change of behavior is intended by this commit.
-
Kamil Dudka authored
It could prevent nss-pem from being unloaded later on. Bug: https://bugzilla.redhat.com/1444860
-
Daniel Stenberg authored
The data->req.uploadbuf struct member served no good purpose, instead we use ->state.uploadbuffer directly. It makes it clearer in the code which buffer that's being used. Removed the 'SingleRequest *' argument from the readwrite_upload() proto as it can be derived from the Curl_easy struct. Also made the code in the readwrite_upload() function use the 'k->' shortcut to all references to struct fields in 'data->req', which previously was made with a mix of both.
-