| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
As it is not used anymore.
Reported-by: Jacob Hoffman-Andrews
Bug: https://curl.se/mail/lib-2021-02/0000.html
Closes #6557
|
|
|
|
| |
Closes #6555
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add support services without region and service prefixes in
the URL endpoint (ex. Min.IO, GCP, Yandex Cloud, Mail.Ru Cloud Solutions, etc)
by providing region and service parameters via aws-sigv4 option.
- Add [:region[:service]] suffix to aws-sigv4 option;
- Fix memory allocation errors.
- Refactor memory management.
- Use Curl_http_method instead() STRING_CUSTOMREQUEST.
- Refactor canonical headers generating.
- Remove repeated sha256_to_hex() usage.
- Add some docs fixes.
- Add some codestyle fixes.
- Add overloaded strndup() for debug - curl_dbg_strndup().
- Update tests.
Closes #6524
|
|
|
|
| |
Follow-up to 14e075d1a7fd
|
|
|
|
|
|
|
|
|
| |
.. for the `#else` (`!HAVE_GETSOCKNAME`) case
Fixes https://github.com/curl/curl/issues/6548
Closes #6549
Signed-off-by: Layla <layla@insightfulvr.com>
|
|
|
|
|
|
| |
... and return the error code from the Curl_mime_rewind call.
Closes #6537
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
... because it turns out several servers out there don't actually behave
correctly otherwise in spite of the fact that the SNI field is
specifically said to be case insensitive in RFC 6066 section 3.
Reported-by: David Earl
Fixes #6540
Closes #6543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Update build instructions in packages/DOS/README
- Extend 'VPATH' with 'vquic' and 'vssh'.
- Allow 'Makefile.dist' to build both 'lib' and 'src'.
- Allow using the Windows hosted djgpp cross compiler to build for MSDOS
under Windows.
- 'USE_SSL' -> 'USE_OPENSSL'
- Added a 'link_EXE' macro. Etc, etc.
- Linking 'curl.exe' needs '$(CURLX_CFILES)' too.
- Do not pick-up '../lib/djgpp/*.o' files. Recompile locally.
- Generate a gzipped 'tool_hugehelp.c' if 'USE_ZLIB=1'.
- Remove 'djgpp-clean'
- Adapt to new C-ares directory structure
- Use conditional variable assignments
Clarify the 'conditional variable assignment' in 'common.dj'.
Closes https://github.com/curl/curl/pull/6382
|
|
|
|
|
|
| |
settting -> setting
Closes #6538
|
|
|
|
|
|
|
| |
Follow-up to 2dcc940959772a
Reported-by: Gisle Vanem
Bug: https://github.com/curl/curl/commit/2dcc940959772a652f6813fb6bd3092095a4877b#commitcomment-46420088
|
|
|
|
|
|
|
|
| |
This is a follow-up to 8315343 which several days ago moved the resolver
pointer into the async struct but did not update the code that uses it
when getaddrinfo is not present.
Closes https://github.com/curl/curl/pull/6536
|
|
|
|
|
|
| |
To optimize storage slightly.
Closes #6534
|
|
|
|
| |
Closes #6534
|
|
|
|
|
|
| |
... and rely only on the value already set in Curl_easy.
Closes #6534
|
|
|
|
|
|
|
| |
As the info is already stored in the transfer handle anyway, there's no
need to carry around a duplicate buffer for the life-time of the handle.
Closes #6534
|
|
|
|
|
|
|
|
| |
... and use 'int' for ports. We don't use 'unsigned short' since -1 is
still often used internally to signify "unknown value" and 0 - 65535 are
all valid port numbers.
Closes #6534
|
|
|
|
|
|
| |
... as the numerical IP address is already stored and kept in 'primary_ip'.
Closes #6534
|
|
|
|
|
|
|
|
|
|
| |
The old function should not be used anywhere anymore (the only remaining
gskit use has to be fixed to instead use Curl_poll or none at all).
The static function version is now called our_select() and is only built
if necessary.
Closes #6531
|
|
|
|
|
|
|
| |
... by removing a field, converting the hex index into a byte and
rearranging the order. Cuts it down from 48 bytes to 32 on x86_64.
Closes #6527
|
|
|
|
| |
Closes #6521
|
|
|
|
| |
Closes #6521
|
|
|
|
| |
Follow-up to 217552503ff3
|
|
|
|
|
|
| |
... not used anywhere
Closes #6530
|
|
|
|
| |
Closes #6515
|
|
|
|
|
|
|
| |
... as it's superfluous now when Curl_easy is passed in and we can
derive the connection from that instead and avoid the duplicate copy.
Closes #6525
|
|
|
|
| |
Closes #6513
|
|
|
|
|
|
| |
... there are a few left but let's keep them to last
Closes #6512
|
|
|
|
|
|
|
|
| |
Readdir data, filenames and attributes are strictly related to the
transfer and not the connection. This also reduces the total size of the
fixed connectdata struct.
Closes #6519
|
|
|
|
| |
Closes #6499
|
|
|
|
| |
Closes #6508
|
|
|
|
|
|
|
| |
This also moves the 'async' struct from the connectdata struct into the
Curl_easy struct, which seems like a better home for it.
Closes #6497
|
|
|
|
|
|
|
|
|
| |
On Windows an error number may be greater than INT_MAX and negative once
cast to int.
The assertion is checked only in debug builds.
Closes https://github.com/curl/curl/pull/6504
|
|
|
|
|
|
|
|
| |
... if Curl_doh() returned a NULL, this function gets called anyway as
in a asynch procedure. Then the doh struct pointer is NULL and signifies
an OOM situation.
Follow-up to 6246a1d8c6776
|
|
|
|
|
|
| |
... and repair recent build breakage
Closes #6507
|
|
|
|
|
|
|
|
|
| |
... so mark the connection as closed in this condition to prevent that
verbose message to wrongly appear.
Reported-by: Matt Holt
Bug: https://twitter.com/mholt6/status/1352130240265375744
Closes #6503
|
|
|
|
|
|
| |
... by anchoring more functions on Curl_easy instead of connectdata
Closes #6498
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Reorder some internal struct members so that less padding is used.
This is an attempt at saving a bit of space by packing some structs
(using pahole to find the holes) where it might make sense to do
so without losing readability.
I.e., I tried to avoid separating fields that seem grouped
together (like the cwd... fields in struct ftp_conn for instance).
Also abstained from touching fields behind conditional macros as
that quickly can get complicated.
Closes https://github.com/curl/curl/pull/6483
|
|
|
|
|
|
| |
Added test 1613 to verify.
Closes #6490
|
| |
|
|
|
|
| |
Closes #6496
|
|
|
|
| |
Follow-up to 2bdec0b3
|
|
|
|
| |
Follow-up to 219d9f8620d
|
|
|
|
|
|
|
|
| |
... instead of having it static within the Curl_easy struct. This takes
away 1176 bytes (18%) from the Curl_easy struct that aren't used very
often and instead makes the code allocate it when needed.
Closes #6492
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SOCKS code now uses the generic download buffer for temporary
storage during the connection procedure, instead of having its own
private 600 byte buffer that adds to the connectdata struct size. This
works fine because this point the buffer is allocated but is not use for
download yet since the connection hasn't completed.
This reduces the connection struct size by 22% on a 64bit arch!
The SOCKS buffer needs to be at least 600 bytes, and the download buffer
is guaranteed to never be smaller than 1000 bytes.
Closes #6491
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
By making the `magic` identifier the same size and at the same place
within the structs (easy, multi, share), libcurl will be able to more
reliably detect and safely error out if an application passes in the
wrong handle to APIs. Easier to detect and less likely to cause crashes
if done.
Such mixups can't be detected at compile-time due to them being
typedefed void pointers - unless `CURL_STRICTER` is defined.
Closes #6484
|
|
|
|
|
|
| |
... and also rename the define for max length.
Closes #6489
|
|
|
|
| |
Closes #6487
|
|
|
|
| |
Closes #6486
|