| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
This reverts commit c04223caaf06a8a7c452dba24f0a9ef0ad7f9981.
CHUK-ANDREW in issue #5988 reported the updated take didn't work
|
| |
|
|
|
|
|
|
|
|
|
|
| |
As an unpause might itself get paused again and then triggering another
reread doesn't help.
Follow-up from e040146f22608fd9 (shipped since 7.69.1)
Bug: https://curl.haxx.se/mail/lib-2020-09/0081.html
Patch-by: Kunal Chandarana
|
|
|
|
| |
Closes #6012
|
|
|
|
| |
Closes #6005
|
|
|
|
|
|
| |
Reuses the buffer and thereby reduces number of mallocs over a transfer.
Closes #6010
|
|
|
|
|
|
|
| |
... will probably trigger some false DEAD CODE positives on non-windows
code analyzers for the conditional code.
Closes #6011
|
|
|
|
|
|
|
|
|
|
| |
When using HTTPS proxy, SSL is used but not in the view of the FTP
protocol handler itself so separate the connection's use of SSL from the
FTP control connection's sue.
Reported-by: Mingtao Yang
Fixes #5523
Closes #6006
|
|
|
|
| |
This allows these test files to pass xmllint.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
... reuses the same dynamic buffer instead of doing repeated malloc/free
cycles.
Test case 100 (FTP dir list PASV) does 7 fewer memory allocation calls
after this change in my test setup (132 => 125), curl 7.72.0 needed 140
calls for this.
Test case 103 makes 9 less allocations now (130). Down from 149 in
7.72.0.
Closes #6004
|
|
|
|
| |
Closes #6004
|
|
|
|
|
|
|
|
|
|
|
|
| |
... by introducing a printf() function that appends directly into a
dynbuf: Curl_dyn_vprintf(). This avoids the mandatory extra malloc so if
the buffer is already big enough it can just printf directly into it.
Since this less-malloc version requires tthe use of a library internal
printf function, we only provide this version when building libcurl and
not for the dynbuf code that is used when building the curl tool.
Closes #5998
|
|
|
|
| |
Closes #5403
|
|
|
|
|
|
| |
This typically makes 7-9 fewer mallocs per FTP transfer.
Closes #5997
|
|
|
|
|
|
|
|
|
| |
The OS is deprecated. I see no traces of anyone having actually built
curl for Symbian after 2012.
The public headers are unmodified.
Closes #5989
|
| |
|
|
|
|
|
|
|
|
|
| |
Follow-up from f4873ebd0be32cf
Turns out some older openssl installations go bananas otherwise.
Reported-by: Tom van der Woerdt
Fixes #5995
Closes #5996
|
| |
|
|
|
|
|
|
|
|
|
|
| |
... as that counter is subsequently used to detect if nothing was
returned from the peer. This made curl return CURLE_OK when it should
have returned CURLE_GOT_NOTHING.
Fixes #5992
Reported-by: Tom van der Woerdt
Closes #5994
|
|
|
|
|
|
|
| |
Fixed two return code mixups. CURLE_UNKNOWN_OPTION is saved for when the
option is, yeah, not known. Clarified this in the setopt man page too.
Closes #5993
|
|
|
|
|
|
|
|
|
|
|
| |
These two files were always tightly connected and it was hard to
understand what went into which. This also allows us to make the
ftpsend() function static (moved from ftp.c).
Removed security.c
Renamed curl_sec.h to krb5.h
Closes #5987
|
|
|
|
|
|
|
| |
Makes get_protocol_family() faster and it moves the knowledge about the
"families" to each protocol handler, where it belongs.
Closes #5986
|
|
|
|
|
|
|
|
|
| |
By avoiding an unnecessary error check and the temp use of the tm
struct, the time2epoch conversion function gets a little bit faster.
When repeating test 517, the updated version is perhaps 1% faster (on
one particular build on one particular architecture).
Closes #5985
|
|
|
|
|
|
|
|
|
|
|
| |
Remove the text saying
"the curl cmake build system is poorly maintained. Be aware"
... not because anything changed just now, but to encourage users to use
it and subsequently improve it.
Closes #5984
|
| |
|
|
|
|
| |
Follow-up to e37e4468688d8f
|
|
|
|
|
|
|
|
| |
This document is not maintained and rather than trying to refresh it,
let's kill it. A more up-to-date document with relevant RFCs is this
page on the curl website: https://curl.haxx.se/rfc/
Closes #5980
|
|
|
|
|
|
|
|
|
|
| |
Makes it easier to browse on github etc. Offers (better) links.
It should be noted that this document is already mostly outdated and
"Everything curl" at https://ec.haxx.se/ is a better resource and
tutorial.
Closes #5981
|
|
|
|
| |
Closes #5979
|
|
|
|
|
|
|
|
|
|
| |
... since it is converted and the original pointer is freed on Windows
unicode handling.
Follow-up to aa8777f63febc
Fixes #5977
Closes #5978
Reported-by: xwxbug on github
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
If the received PASV response doesn't match the expected pattern, we
could end up reading uninitialized integers for IP address and port
number.
Issue pointed out by muse.dev
Closes #5972
|
|
|
|
|
| |
Closes #5975
Fixes #5974
|
|
|
|
|
|
|
| |
The use of such a macro hides some of what's actually going on to the
reader and is generally disapproved of in the project.
Closes #5971
|
|
|
|
|
|
|
| |
Since HTTPS is "the new normal", this update changes a lot of man page
examples to use https://example.com instead of the previous "http://..."
Closes #5969
|
|
|
|
|
|
| |
... since github adds an entry automatically by itself.
Closes #5970
|
|
|
|
|
|
|
| |
This helps us to avoid getting feature requests as well as security
bugs reported into the issue tracker.
Closes #5936
|
|
|
|
| |
Closes #5968
|
|
|
|
|
|
|
|
|
|
| |
Also skip pre-checking sockets to set timeout_ms to 0
after the first socket has been detected to be ready.
Reviewed-by: rcombs on github
Reviewed-by: Daniel Stenberg
Follow up to #5886
|
|
|
|
|
|
|
|
|
|
|
| |
Since the struct is quite large (1 long and 10 ints) we
declare it once at the beginning of the function instead
of multiple times inside loops to avoid stack movements.
Reviewed-by: Viktor Szakats
Reviewed-by: Daniel Stenberg
Closes #5886
|
|
|
|
|
|
| |
Suggested-by: Anders Bakken
Closes #4829
|
|
|
|
|
|
| |
As there was work started on this that never got completed.
Closes #5371
|
|
|
|
| |
Follow-up from aa8777f63febca
|
|
|
|
|
|
|
| |
It's just too flaky there
Reviewed-by: Marc Hoersken
Closes #5954
|
|
|
|
|
|
|
|
|
| |
When the code was changed to do fputs() instead of fprintf() it got
sensitive for NULL pointers; add checks for that.
Follow-up from 0c1e767e83ec66
Closes #5963
|
|
|
|
|
|
| |
Follow-up from 0c1e767e83e to please win32 tests
Closes #5962
|
|
|
|
|
|
|
| |
... as their git master seems too fragile to use (and 3.2.1 which is the
latest has a build failure).
Closes #5964
|
| |
|
|
|
|
|
|
| |
The one in <client>, that creates files.
Follow-up from b83947c8df7
|