- Jul 28, 2017
-
-
Daniel Stenberg authored
... to make all libcurl internals able to use the same data types for the struct members. The timeval struct differs subtly on several platforms so it makes it cumbersome to use everywhere. Ref: #1652 Closes #1693
-
- Jul 27, 2017
-
-
Daniel Stenberg authored
... which made --tlsv1.2 not work because it would blank the max tls version variable. Reported-by: Nick Miyake Bug: #1703
-
- Jul 26, 2017
-
-
Daniel Stenberg authored
Reported-by: <ovidiu-benea@users.noreply.github.com> Closes #1675 Closes #1683
-
Daniel Stenberg authored
... to silence warning.
-
- Jul 20, 2017
-
-
Kamil Dudka authored
... causing a SIGSEGV in showit() in case the handle used to initiate the connection has already been freed. This commit fixes a bug introduced in curl-7_19_5-204-g5f0cae803. Reported-by: Rob Sanders Bug: https://bugzilla.redhat.com/1436158
-
Kamil Dudka authored
No changes in behavior intended by this commit.
-
- Jul 17, 2017
-
-
Jay Satiro authored
- s/SessionHandle/Curl_easy/ Bug: https://github.com/curl/curl/commit/eb16305#commitcomment-23035670 Reported-by: Gisle Vanem
-
- Jul 11, 2017
-
-
Marcel Raad authored
It's defined for all build systems in curl_setup.h since commit beb08481. This caused macro redefinition warnings in the configure builds. Closes https://github.com/curl/curl/pull/1677
-
Marcel Raad authored
Make sure to always define WIN32_LEAN_AND_MEAN before including any Windows headers to avoid pulling in unnecessary headers. This avoids unnecessary macro clashes and compiler warnings. Ref: https://github.com/curl/curl/issues/1562 Closes https://github.com/curl/curl/pull/1672
-
Jay Satiro authored
This is a follow-up to af021625 which removed (SET_)ERRNO macros. That commit was an earlier draft that I committed by mistake, which was then remedied by a5834e52 and e909de65, and now this commit. With this commit there is now no difference between the current code and the changes that were approved in the final draft. Thanks-to: Max Dymond, Marcel Raad, Daniel Stenberg, Gisle Vanem Ref: https://github.com/curl/curl/pull/1589
-
- Jul 10, 2017
-
-
Daniel Stenberg authored
-
Marcel Raad authored
ldap_bind_s is marked as deprecated in w32api's winldap.h shipping with the latest original MinGW, resulting in compiler warnings since commit f0fe66f1. Fix this for the non-SSPI case by using ldap_simple_bind_s again instead of ldap_bind_s with LDAP_AUTH_SIMPLE. Closes https://github.com/curl/curl/pull/1664
-
Jay Satiro authored
Prior to this change (SET_)ERRNO mapped to GetLastError/SetLastError for Win32 and regular errno otherwise. I reviewed the code and found no justifiable reason for conflating errno on WIN32 with GetLastError/SetLastError. All Win32 CRTs support errno, and any Win32 multithreaded CRT supports thread-local errno. Fixes https://github.com/curl/curl/issues/895 Closes https://github.com/curl/curl/pull/1589
-
- Jul 09, 2017
-
-
Marcel Raad authored
GCC 4.6.3 on travis complains: smb.c: In function ‘get_posix_time’: smb.c:725:13: error: declaration of ‘time’ shadows a global declaration [-Werror=shadow] Fix this by renaming the variable.
-
- Jul 07, 2017
-
-
Paul Harris authored
Removes BUILD_RELEASE_DEBUG_DIRS since it wasn't used anywhere. Closes #1649
-
- Jul 06, 2017
-
-
-
Daniel Stenberg authored
-
Daniel Stenberg authored
Make the name reflect its use better, and add a short comment describing what it's for.
-
- Jul 05, 2017
-
-
Daniel Stenberg authored
... by checking the POLLIN define, as the header file checks don't work on Windows.
-
Daniel Stenberg authored
inet_pton() exists on Windows and gets used by our cmake builds. Make sure the correct header file is included to avoid compiler warnings. Closes #1639
-
- Jul 04, 2017
-
-
Gisle Vanem authored
Bug: https://curl.haxx.se/mail/lib-2017-07/0005.html Closes #1643
-
Gisle Vanem authored
bug: https://curl.haxx.se/mail/lib-2017-07/0005.html
-
Daniel Stenberg authored
fork, getprotobyname, inet_addr, perror, uname closes #1638
-
Martin Kepplinger authored
On a 64 bit host, sparse says: timeval.c:148:15: warning: constant 0x7fffffffffffffff is so big it is long timeval.c:149:12: warning: constant 0x7fffffffffffffff is so big it is long so let's use long long constant types in order to prevent undesired overflow failures. Bug: https://curl.haxx.se/mail/lib-2017-07/0003.html Closes #1636 Signed-off-by: Martin Kepplinger <martink@posteo.de>
-
- Jul 03, 2017
-
-
Daniel Stenberg authored
... since CURLOPT_URL should follow the same rules as other options: they remain set until changed or cleared. Added test 1551 to verify. Fixes #1631 Closes #1632 Reported-by: Pavel Rochnyak
-
Johannes Schindelin authored
- Change gnutls pointer/int macros to pointer/curl_socket_t. Prior to this change they used long type as well. The size of the `long` data type can be shorter than that of pointer types. This is the case most notably on Windows. If C99 were acceptable, we could simply use `intptr_t` here. But we want to retain C89 compatibility. Simply use the trick of performing pointer arithmetic with the NULL pointer: to convert an integer `i` to a pointer, simply take the address of the `i`th element of a hypothetical character array starting at address NULL. To convert back, simply cast the pointer difference. Thanks to Jay Satiro for the initial modification to use curl_socket_t instead of int/long. Closes #1617 Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
-
- Jun 30, 2017
-
-
Max Dymond authored
Add a connection check function to HTTP2 based off RTSP. This causes PINGs to be handled the next time the connection is reused. Closes #1521
-
Max Dymond authored
Add a new type of callback to Curl_handler which performs checks on the connection. Alter RTSP so that it uses this callback to do its own check on connection health.
-
Dmitry Kostjuchenko authored
Fixes #1620
-
Ryan Winograd authored
Prevent `Curl_pgrsTime` from modifying `t_starttransfer` when invoked with `TIMER_STARTTRANSFER` more than once during a single request. When a redirect occurs, this is considered a new request and `t_starttransfer` can be updated to reflect the `t_starttransfer` time of the redirect request. Closes #1616 Bug: https://github.com/curl/curl/pull/1602#issuecomment-310267370
-
- Jun 28, 2017
-
-
Kamil Dudka authored
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
-
Kamil Dudka authored
-
Kamil Dudka authored
... to make it obvious what the data is used for
-
- Jun 24, 2017
-
-
Daniel Stenberg authored
follow-up to 64ed44a8 to fix test 500 failures
-
- Jun 23, 2017
-
-
Daniel Stenberg authored
-
- Jun 21, 2017
-
-
Daniel Stenberg authored
... 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
-
- Jun 20, 2017
-
-
Marcel Raad authored
remote_scope_id is only used when both HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID and ENABLE_IPV6 are defined instead of only one of them.
-
- Jun 19, 2017
-
-
Daniel Stenberg authored
... 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
-
Daniel Stenberg authored
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
-