- Jul 04, 2017
-
-
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
-
Daniel Stenberg authored
The list was freed incorrectly since the llist refactor of cbae73e1. Added test 1550 to verify that it works and avoid future regressions. Reported-by: Pascal Terjan Fixes #1584 Closes #1585
-
- Jun 18, 2017
-
-
Daniel Stenberg authored
torture mode with test 1021 found it
-
Marcel Raad authored
After deff7de0, the build without CURL_DISABLE_PROXY and CURL_DISABLE_HTTP was failing because of missing includes.
-
Marcel Raad authored
With CURL_DISABLE_PROXY or CURL_DISABLE_HTTP, GCC complained about a missing prototype for Curl_connect_free.
-
- Jun 16, 2017
-
-
Marcel Raad authored
The configure-based build also has this in addition to -Wall. Closes https://github.com/curl/curl/pull/1578
-
Daniel Stenberg authored
Regression since 5113ad04. ... and remove 'flaky' from test 1061 again Closes #1579
-
Daniel Stenberg authored
... the previous code would reset the header length wrongly (since 5113ad04). This makes test 1060 reliable again. Also: make sws send even smaller chunks of data to increase the likeliness of this happening.
-
Jay Satiro authored
Bug: https://github.com/curl/curl/issues/1254 Closes #1546
-
Jay Satiro authored
- Move the logic to detect a Windows drive letter prefix (eg c: in c:foo) into a function-like macro. Closes https://github.com/curl/curl/pull/1571
-
Jay Satiro authored
- No longer allow partial downloads of certdata. Prior to this change partial downloads were (erroneously?) allowed since only the server code was checked to be 200. Bug: https://github.com/curl/curl/pull/1577 Reported-by: Matteo B.
-
- Jun 15, 2017
-
-
Daniel Stenberg authored
Reported-by: Dan Fandrich
-
Daniel Stenberg authored
... all other non-HTTP protocol schemes are now defaulting to "tunnel trough" mode if a HTTP proxy is specified. In reality there are no HTTP proxies out there that allow those other schemes. Assisted-by: Ray Satiro, Michael Kaufmann Closes #1505
-
Daniel Stenberg authored
... to make it really apparent if there's any user using this on purpose. Suggested-by: Jay Satiro Closes #1542
-
Daniel Stenberg authored
When this define was set, libcurl would check the environment variable named CURL_CA_BUNDLE at run-time and use that CA cert bundle. This feature was only defined by the watcom and m32 makefiles and caused inconsistent behaviours among libcurls built on different platforms. The curl tool does already feature its own similar logic and the library does not really need it, and it isn't documented libcurl behavior. So this change removes it. Ref: #1538
-
- Jun 14, 2017
-
-
Daniel Stenberg authored
Mentioned as a problem since 2007 (8f87c15b) and of course it existed even before that. Closes #1547
-
Daniel Stenberg authored
Bug #1556 Reported-by: Paul Harris Closes #1559
-
Daniel Stenberg authored
This gives us accurate precision and it allows us to avoid storing "no time" for systems with too low timer resolution as we then bump the time up to 1 microsecond. Should fix test 573 on windows. Remove the now unused curlx_tvdiff_secs() function. Maintains the external getinfo() API with using doubles. Fixes #1531
-
Daniel Stenberg authored
Rely entirely on curl/system.h now. Introduced in Aug 2008 with commit 14240e9e. Now gone. Fixes #1456
-
- Jun 13, 2017
-
-
Stuart Henderson authored
lib/vtls/openssl.c has a workaround for a bug with OCSP responses signed by intermediate certs, this was fixed in LibreSSL in https://github.com/libressl-portable/openbsd/commit/912c64f68f7ac4f225b7d1fdc8fbd43168912ba0 Bug: https://curl.haxx.se/mail/lib-2017-06/0038.html
-
Daniel Stenberg authored
Bug: https://github.com/curl/curl/issues/1540 Advisory: https://curl.haxx.se/docs/adv_20170614.html Assisted-by: Ray Satiro Reported-by: Marcel Raad
-
- Jun 08, 2017
-
-
Daniel Stenberg authored
... and return error instead of triggering an assert() when being way out of range.
-
Daniel Stenberg authored
-