- Apr 08, 2015
-
-
Kamil Dudka authored
-
Kamil Dudka authored
... of an empty file Bug: https://github.com/bagder/curl/issues/183
-
Kamil Dudka authored
-
- Apr 07, 2015
-
-
Da-Yoon Chung authored
The factor of 8 is a bytes-to-bits conversion factor, but pkt_size and rate_bps are both in bytes. When using the rate limiting option, curl waits 8 times too long, and then transfers very quickly until the average rate reaches the limit. The average rate follows the limit over time, but the actual traffic is bursty. Thanks-to: Benjamin Gilbert
-
- Apr 06, 2015
-
-
Jay Satiro authored
The key length in bits will always fit in an unsigned long so the loss-of-data warning assigning the result of x64 pointer arithmetic to an unsigned long is unnecessary.
-
Jay Satiro authored
Also fix it so that all ERR_error_string calls use an error buffer. CyaSSL's implementation of ERR_error_string only writes the error when an error buffer is passed. http://www.yassl.com/forums/topic599-openssl-compatibility-and-errerrorstring.html
-
- Apr 05, 2015
-
-
Jay Satiro authored
Prior to this change libcurl could show multiple 'CyaSSL: Connecting to' messages since cyassl_connect_step2 is called multiple times, typically. The message is superfluous even once since libcurl already informs the user elsewhere in code that it is connecting.
-
Viktor Szakats authored
-
- Apr 03, 2015
-
-
Daniel Stenberg authored
introduced in the previous mini-series of 3 commits
-
Stefan Bühler authored
- also log when a CURLOPT_RESOLVE entry couldn't get parsed
-
Stefan Bühler authored
-
Stefan Bühler authored
- cache entries must be also refreshed when they are in use - have the cache count as inuse reference too, freeing timestamp == 0 special value - use timestamp == 0 for CURLOPT_RESOLVE entries which don't get refreshed - remove CURLOPT_RESOLVE special inuse reference (timestamp == 0 will prevent refresh) - fix Curl_hostcache_clean - CURLOPT_RESOLVE entries don't have a special reference anymore, and it would also release non CURLOPT_RESOLVE references - fix locking in Curl_hostcache_clean - fix unit1305.c: hash now keeps a reference, need to set inuse = 1
-
Daniel Stenberg authored
-
Jay Satiro authored
-
Jay Satiro authored
This change is to allow the user's CTX callback to change the minimum protocol version in the CTX without us later overriding it, as we did prior to this change.
-
- Apr 02, 2015
-
-
Jay Satiro authored
Use LF not CRLF, throughout. msysgit will only convert a file to CRLF on checkout if it's not mixed.
-
Jay Satiro authored
SSL_CTX_load_verify_locations can return negative values on fail, therefore to check for failure we check if load is != 1 (success) instead of if load is == 0 (failure), the latter being incorrect given that behavior.
-
Tatsuhiro Tsujikawa authored
Previously in Curl_http2_switched, we called nghttp2_session_mem_recv to parse incoming data which were already received while curl was handling upgrade. But we didn't call nghttp2_session_send, and it led to make curl not send any response to the received frames. Most likely, we received SETTINGS from server at this point, so we missed opportunity to send SETTINGS + ACK. This commit adds missing nghttp2_session_send call in Curl_http2_switched to fix this issue. Bug: https://github.com/bagder/curl/issues/192 Reported-by: Stefan Eissing
-
- Apr 01, 2015
-
-
Daniel Stenberg authored
"name =value" is fine and the space should just be skipped. Updated test 31 to also test for this. Bug: https://github.com/bagder/curl/issues/195 Reported-by: cromestant Help-by: Frank Gevaerts
-
Jay Satiro authored
(Curl_cyassl_init) - Return 1 on success, 0 in failure. Prior to this change the fail path returned an incorrect value and the evaluation to determine whether CyaSSL_Init had succeeded was incorrect. Ironically that combined with the way curl_global_init tests SSL library initialization (!Curl_ssl_init()) meant that CyaSSL having been successfully initialized would be seen as that even though the code path and return value in Curl_cyassl_init were wrong.
-
- Mar 31, 2015
-
-
Thomas Ruecker authored
Icecast versions 1.3.0 through 1.3.12 would reply with "ICY 200" under certain conditions: client_wants_icy_headers (connection_t *con) { const char *val; if (!con) return 1; val = get_user_agent (con); if (!val || !val[0] || strcmp (val, "(null)") == 0) return 1; if (con->food.client->use_icy) return 1; if (strncasecmp (val, "winamp", 6) == 0) return 1; if (strncasecmp (val, "Shoutcast", 9) == 0) return 1; return 0; } So mainly if there is no 'user agent' or it is '(null)' or contains 'winamp' or 'Shoutcast'. No mainstream distribution carries Icecast 1.3.x anymore, after all it was released in 2002 and superseded by Icecast 2.x.
-
Dan Fandrich authored
This allows test 405 to pass on axTLS.
-
- Mar 30, 2015
-
-
Jay Satiro authored
lib/config-win32ce.h - Fix whitespace for checksrc compliance. lib/checksrc.pl - Remove trailing carriage returns from input. projects/checksrc.bat - Ignore tool_hugehelp.c.
-
Dagobert Michelsen authored
Allows the user to easier override its path. Bug: http://curl.haxx.se/bug/view.cgi?id=1486
-
- Mar 29, 2015
-
-
Daniel Stenberg authored
If the handle removed from the multi handle happens to be the one "owning" the pipeline other transfers will be waiting indefinitely. Now we move such handles back to connect to have them race (again) for getting the connection and thus avoid hanging. Bug: http://curl.haxx.se/bug/view.cgi?id=1465 Reported-by: Jiri Dvorak
-
Daniel Stenberg authored
Disabling pipelining on multi handle with in-progress pipelined requests leads to heap corruption and crash
-
- Mar 28, 2015
-
-
Jay Satiro authored
- More descriptive fail message for NO_FILESYSTEM builds. - Cosmetic changes. - Change more of CURLOPT_SSL_CTX_* doc to not be OpenSSL specific.
-
Daniel Stenberg authored
-
Dan Fandrich authored
-
- Mar 27, 2015
-
-
Dan Fandrich authored
-
Kyle L. Huff authored
Adds support for CURLOPT_SSL_CTX_FUNCTION when using CyaSSL, and better handles CyaSSL instances using NO_FILESYSTEM.
-
Kyle L. Huff authored
CyaSSL_no_filesystem_verify is not (or no longer) defined by cURL or CyaSSL. This reference causes build errors when compiling with NO_FILESYSTEM.
-
Jay Satiro authored
Prior to this change some Release configurations had an active configuration assignment to their Debug counterpart.
-
Jay Satiro authored
-
Jay Satiro authored
-
- Mar 26, 2015
-
-
Paul Howarth authored
This fixes a build failure where openssl and libmetalink are used together and the system linker does not do implicit linking (e.g. Fedora 13 and later releases). The MD5 functions required for metalink support must be pulled in from the openssl crypto library. This is similar to commit c6e7cbb9, which fixes the same sort of problem for NSS builds.
-
Daniel Stenberg authored
... even if they don't have an associated connection anymore. It could leave the waiting transfers pending with no active one on the connection. Bug: http://curl.haxx.se/bug/view.cgi?id=1465 Reported-by: Jiri Dvorak
-
- Mar 25, 2015
-
-
Emil Lerner authored
In function glob_range, the number of urls was multiplied by (max - min + 1), regardless of step. The correct formula is (max - min) / step + 1
-
Daniel Stenberg authored
-
Emil Lerner authored
The glob_range function used wrong offset (3 instead of 4) for parsing integer step inside character range specification, which led to 'bad range' error when using character ranges with explicitly specified step (such as '[a-z:2]')
-