- 15 Apr, 2017 1 commit
-
-
Marcel Raad authored
This adds -Werror-implicit-function-declaration for GCC 2.95+ so that these errors are visible at the point where they occur instead of only at link time. Implicit function declarations are illegal in C99 and C++ anyway, and the same warning has been turned into an error for ICC in commit 3072c5b8. Ref: https://gcc.gnu.org/onlinedocs/gcc-2.95.2/gcc_2.html#SEC8 Ref: https://curl.haxx.se/mail/lib-2017-04/0001.html Closes https://github.com/curl/curl/pull/1419
-
- 12 Apr, 2017 2 commits
-
-
Marcel Raad authored
Ref: https://github.com/curl/curl/issues/1408 Closes https://github.com/curl/curl/pull/1412
-
Marcel Raad authored
Follow-up to aa573c3c Ref: https://github.com/curl/curl/pull/1406
-
- 11 Apr, 2017 4 commits
-
-
Daniel Stenberg authored
If the existing timer is still in there but has expired, the new timer should be added. Reported-by: Rainer Canavan Bug: https://curl.haxx.se/mail/lib-2017-04/0030.html Closes #1407
-
Daniel Stenberg authored
Reported-by: Marcel Raad Fixes #1408 Closes #1409
-
Marcel Raad authored
ssl_session_init was only introduced in version 1.3.8, the penultimate version. The function only contains a memset, so replace it with that. Suggested-by: Jay Satiro Fixes https://github.com/curl/curl/issues/1401
-
Marcel Raad authored
The POSIX standard location is <poll.h>. Using <sys/poll.h> results in warning spam when using the musl standard library. Closes https://github.com/curl/curl/pull/1406
-
- 10 Apr, 2017 4 commits
-
-
Alexis La Goutte authored
Closes #1402
-
Kamil Dudka authored
... because they may include an intermediate certificate for a client certificate and the intermediate certificate needs to be presented to the server, no matter if we verify the peer or not. Reported-by: thraidh Closes #851
-
Daniel Stenberg authored
-
Dan Fandrich authored
-
- 09 Apr, 2017 1 commit
-
-
Daniel Stenberg authored
Reported-by: Alex Bligh Bug: https://curl.haxx.se/mail/lib-2017-04/0044.html
-
- 08 Apr, 2017 4 commits
-
-
Daniel Stenberg authored
Issues and PRs with no activity for 180 days will get marked as stale, and if no further activity happens within 14 more days, the issue gets closed. This follows our established policy of not letting stalled bugs "get in the way": https://curl.haxx.se/docs/bugs.html#Closing_off_stalled_bugs Closes #1398
-
Jay Satiro authored
- Change documented param type to char ** from incorrect long *.
-
Marcel Raad authored
--without-ssl is needed instead of --with-winssl.
-
Marcel Raad authored
... by moving the variables into the correct #ifdef block.
-
- 07 Apr, 2017 4 commits
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Closes #1397
-
Marcel Raad authored
When UNICODE is not defined, the Curl_convert_UTF8_to_tchar macro maps directly to its argument. As it is declared as a pointer to const and InitializeSecurityContext expects a pointer to non-const, both MSVC and MinGW issue a warning about implicitly casting away the const. Fix this by declaring the variables as pointers to non-const. Closes https://github.com/curl/curl/pull/1394
-
Isaac Boukris authored
Reported-by: Carsten (talksinmath) Fixes #1384 Closes #1395
-
- 06 Apr, 2017 6 commits
-
-
Marcel Raad authored
Curl_timeleft returns time_t instead of long since commit 21aa32d3.
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Previously, periods of fast speed between periods of slow speed would not count and could still erroneously trigger a timeout. Reported-by: Paul Harris Fixes #1345 Closes #1390
-
Daniel Stenberg authored
Triggered a test failure on test 1541 for the build known as "Linux 4.4 i686 tcc 0.9.26 glibc 2.20"
-
Marcel Raad authored
Curl_llist_alloc is now Curl_llist_init. Closes https://github.com/curl/curl/pull/1391
-
Daniel Stenberg authored
and mention specific issues where they are discussed
-
- 05 Apr, 2017 5 commits
-
-
Daniel Stenberg authored
... the sizes and the formatting strings are what's really important and avoids problems with int64_t vs "long long". Bug: https://curl.haxx.se/mail/lib-2017-04/0019.html
-
Daniel Stenberg authored
This reverts commit 81284374. Due to mingw32 brekage.
-
Marcel Raad authored
MinGW complains: tool_operate.c:197:15: error: comparison is always true due to limited range of data type [-Werror=type-limits] Fix this by only doing the comparison if 'long' is large enough to hold the constant it is compared with. Closes https://github.com/curl/curl/pull/1378
-
Marcel Raad authored
Ref: https://github.com/curl/curl/pull/1378
-
Daniel Stenberg authored
Since it is a native type and it makes it less complicated to find a matching one in system.h Bug: https://curl.haxx.se/mail/lib-2017-04/0010.html Reported-by: Dan Fandrich Closes #1388
-
- 04 Apr, 2017 9 commits
-
-
Dániel Bakai authored
This checks the new behavior of Curl_splaygetbest, so that the smallest node not larger than the key is removed, and FIFO behavior is kept even when there are multiple nodes with the same key. Closes #1358
-
Dániel Bakai authored
Multi handles repeatedly invert the queue of pending easy handles when used with CURLMOPT_MAX_TOTAL_CONNECTIONS. This is caused by a multistep process involving Curl_splaygetbest and violates the FIFO property of the multi handle. This patch fixes this issue by redefining the "best" node in the context of timeouts as the "smallest not larger than now", and implementing the necessary data structure modifications to do this effectively, namely: - splay nodes with the same key are now stored in a doubly-linked circular list instead of a non-circular one to enable O(1) insertion to the tail of the list - Curl_splayinsert inserts nodes with the same key to the tail of the same list - in case of multiple nodes with the same key, the one on the head of the list gets selected
-
Marcel Raad authored
... by explicitly calling the ANSI versions of Windows API functions where required.
-
Martin Kepplinger authored
struct mechtable is only used locally here. It can be declared static.
-
Antti Hätälä authored
- Don't free postponed data on a connection that will be reused since doing so can cause data loss when pipelining. Only Windows builds are affected by this. Closes https://github.com/curl/curl/issues/1380
-
Daniel Stenberg authored
-
Daniel Stenberg authored
This removes one tiny malloc for each hash struct allocated. In a simple case like "curl localhost", this save three mallocs. Closes #1376
-
Daniel Stenberg authored
No longer allocate the curl_llist head struct for lists separately. Removes 17 (15%) tiny allocations in a normal "curl localhost" invoke. closes #1381
-
Jay Satiro authored
Safe to silence warning adding time delta of poll, which can trigger on Windows since sizeof time_t > sizeof long. warning C4244: '+=' : conversion from 'time_t' to 'long', possible loss of data
-