| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Adjusted 1144, 1164 and 1176.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a continuation of commit ec91b5a69000bea0794bbb3 in which
changing this test was missed. There are no other python2 leftovers
now.
Based on a Debian patch originally written by Alessandro Ghedini
<ghedo@debian.org>
Closes #7899
|
|
|
|
|
| |
Closes #7894
Signed-off-by: ewlumpkin <ewlumpkin@gmail.com>
|
|
|
|
|
|
|
|
| |
It was previously done mostly to show a match/non-match in the verbose
output even when verification was not asked for. This change skips the
loading of the CA certs unless verifypeer is set to save memory and CPU.
Closes #7892
|
|
|
|
|
|
|
| |
These configure options have been saying "deprecated" since 9e24b9c7af
(April 2012). It was about time we remove them.
Closes #7891
|
|
|
|
|
|
|
|
| |
... and make sure to stop ignoring the body once the CONNECT is done.
This should make test 206 work proper again and not be flaky.
Closes #7889
|
|
|
|
|
|
|
|
| |
Simply because hyper doesn't have this ability. Mentioned in docs now.
Skip test 326 then
Closes #7889
|
|
|
|
|
|
|
| |
This test verifies that curl works with binary zeroes in HTTP response
headers and hyper refuses such. They're not kosher http.
Closes #7889
|
|
|
|
| |
Closes #7889
|
|
|
|
|
|
| |
Follow-up to 823d3ab855c
Closes #7889
|
|
|
|
|
|
|
| |
It returns HYPERE_UNEXPECTED_EOF for this case which we convert to the
somewhat generic CURLE_RECV_ERROR.
Closes #7889
|
|
|
|
|
|
|
| |
--enable-hidden-symbols was deprecated in
9e24b9c7afbcb81120af4cf3f6cdee49a06d8224.
Closes #7890
|
|
|
|
|
|
| |
Enabled test 206
Closes #7888
|
|
|
|
| |
Closes #7887
|
| |
|
|
|
|
| |
Closes https://github.com/curl/curl/pull/7886
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Explain the difference between IMAP search via URL (which returns
message sequence numbers) and IMAP search via custom request (which
can return UID numbers if prefixed with UID, eg "UID SEARCH ...").
Bug: https://github.com/curl/curl/issues/7626
Reported-by: orycho@users.noreply.github.com
Ref: https://github.com/curl/curl/issues/2789
Closes https://github.com/curl/curl/pull/7881
|
|
|
|
| |
Closes #7884
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- simplify the example by using curl_multi_poll
- mention curl_multi_add_handle in the text
- cut out the description of pre-7.20.0 return code behavior - that version
is now more than eleven years old and is basically no longer out there
- adjust the "typical usage" to mention curl_multi_poll
Closes #7883
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
CURL_DISABLE_MIME is not mentioned in the comment describing the if else
preprocessor directive.
Closes #7882
|
|
|
|
|
|
|
|
| |
Follow-up to e7416cf
Reported-by: billionai on github
Fixes #7879
Closes #7880
|
| |
|
|
|
|
|
|
|
|
|
| |
Follow-up to 20e980f85b0ea6
In #7875 these inits were modified but I get two warnings that these new
typecasts are necessary for.
Closes #7876
|
|
|
|
|
| |
Fixes #7657
Closes #7875
|
|
|
|
| |
Closes #7866
|
|
|
|
|
|
| |
and adjust the MULTISPACE one to use plural
Closes #7866
|
|
|
|
|
|
|
| |
The size of the transfer is unknown at that point.
Fixes #7871
Closes #7872
|
|
|
|
|
|
|
|
|
|
| |
The code for sending DoH requests with GET was never enabled in a way
such that it could be used or tested. As there haven't been requests
for this feature, and since it at this is effectively dead, remove it
and favor reimplementing the feature in case anyone is interested.
Closes #7870
Reviewed-by: Daniel Stenberg <daniel@haxx.se>
|
|
|
|
|
|
| |
It has reached End-Of-Life and causes some LDAP CI issues.
Closes #7869
|
|
|
|
|
|
|
|
| |
... as it seems openldap-client doesn't exist anymore.
Reported-by: Jay Satiro
Fixes #7868
Closes #7869
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In order to check the actual code better, checksrc now ignores
everything that look like preprocessor instructions. It also means
that code in macros are now longer checked.
Note that some rules then still don't need to be followed when code is
exactly below a cpp instruction.
Removes two checksrc exceptions we needed previously because of
preprocessor lines being checked.
Reported-by: Marcel Raad
Fixes #7863
Closes #7864
|
|
|
|
|
|
|
|
|
| |
... to let curl_easy_escape() itself do the strlen. This avoids a (false
positive) Coverity warning and it avoids us having to store the strlen()
return value in an int variable.
Reviewed-by: Daniel Gustafsson
Closes #7862
|
| |
|
|
|
|
|
|
|
|
|
| |
... and update the includes to match how current htmltidy wants them
used.
Reported-by: Stathis Kapnidis
Fixes #7860
Closes #7861
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Make content length (ie download size) accessible to the user in the
header callback, but only after all headers have been processed (ie
only in the final call to the header callback).
Background:
For a long time the content length could be retrieved in the header
callback via CURLINFO_CONTENT_LENGTH_DOWNLOAD_T as soon as it was parsed
by curl.
Changes were made in 8a16e54 (precedes 7.79.0) to ignore content length
if any transfer encoding is used. A side effect of that was that
content length was not set by libcurl until after the header callback
was called the final time, because until all headers are processed it
cannot be determined if content length is valid.
This change keeps the same intention --all headers must be processed--
but now the content length is available before the final call to the
header function that indicates all headers have been processed (ie
a blank header).
Bug: https://github.com/curl/curl/commit/8a16e54#r57374914
Reported-by: sergio-nsk@users.noreply.github.com
Co-authored-by: Daniel Stenberg
Fixes https://github.com/curl/curl/issues/7804
Closes https://github.com/curl/curl/pull/7803
|
|
|
|
|
|
|
|
|
| |
User sets the post fields size for binary data. Hence, we should not be
using strlen on it.
Added test 1937 and 1938 to verify.
Closes #7844
|
|
|
|
| |
Closes #7859
|
| |
|
|
|
|
|
|
|
|
|
| |
One reason we know it can fail is if a provider is used that doesn't do
a proper job or is wrongly configured.
Reported-by: Michael Baentsch
Fixes #7840
Closes #7856
|
|
|
|
|
|
| |
depend on it
Closes https://github.com/curl/curl/pull/7822
|
|
|
|
|
|
| |
Reported-by: Jay Satiro
Fixes #7852
Closes #7855
|
|
|
|
|
|
| |
and remove the bad assert again, since it was run even with no error!
Closes #7854
|
|
|
|
|
|
|
|
|
| |
- Free the allocated http request struct on cleanup.
Prior to this change if sws was built with leak sanitizer it would
report a memory leak error during testing.
Closes https://github.com/curl/curl/pull/7849
|
|
|
|
|
|
|
|
| |
Pass on better return codes when errors occur within Curl_http instead
of insisting that CURLE_OUT_OF_MEMORY is the only possible one.
Pointed-out-by: Jay Satiro
Closes #7851
|
|
|
|
|
|
|
|
|
| |
For every 'goto error', make sure the result variable holds the error
code for what went wrong.
Reported-by: Rafał Mikrut
Fixes #7825
Closes #7846
|
|
|
|
|
|
| |
by removing index.html which isn't around anymore
Closes #7853
|