#
fc077bc7 |
| 20-Oct-2023 |
Daniel Stenberg |
urldata: move the 'internal' boolean to the state struct ... where all the other state bits for the easy handles live. Closes #12165
|
#
9ffd4117 |
| 25-Sep-2023 |
Daniel Stenberg |
curl_multi_get_handles: get easy handles from a multi handle Closes #11750
|
#
f198d33e |
| 18-May-2023 |
Emanuele Torre |
checksrc: disallow spaces before labels Out of 415 labels throughout the code base, 86 of those labels were not at the start of the line. Which means labels always at the start of th
checksrc: disallow spaces before labels Out of 415 labels throughout the code base, 86 of those labels were not at the start of the line. Which means labels always at the start of the line is the favoured style overall with 329 instances. Out of the 86 labels not at the start of the line: * 75 were indented with the same indentation level of the following line * 8 were indented with exactly one space * 2 were indented with one fewer indentation level then the following line * 1 was indented with the indentation level of the following line minus three space (probably unintentional) Co-Authored-By: Viktor Szakats Closes #11134
show more ...
|
#
e5e88155 |
| 14-Mar-2023 |
Daniel Stenberg |
lib: skip Curl_llist_destroy calls Linked lists themselves do not carry any allocations, so for the lists that do not have have a set destructor we can just skip the Curl_llist_destr
lib: skip Curl_llist_destroy calls Linked lists themselves do not carry any allocations, so for the lists that do not have have a set destructor we can just skip the Curl_llist_destroy() call and save CPU time. Closes #10764
show more ...
|
#
2bc1d775 |
| 02-Jan-2023 |
Daniel Stenberg |
copyright: update all copyright lines and remove year ranges - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - save
copyright: update all copyright lines and remove year ranges - they are mostly pointless in all major jurisdictions - many big corporations and projects already don't use them - saves us from pointless churn - git keeps history for us - the year range is kept in COPYING checksrc is updated to allow non-year using copyright statements Closes #10205
show more ...
|
#
664249d0 |
| 09-Sep-2022 |
Daniel Stenberg |
ws: initial websockets support Closes #8995
|
#
ad9bc597 |
| 17-May-2022 |
max.mehl |
copyright: make repository REUSE compliant Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the
copyright: make repository REUSE compliant Add licensing and copyright information for all files in this repository. This either happens in the file itself as a comment header or in the file `.reuse/dep5`. This commit also adds a Github workflow to check pull requests and adapts copyright.pl to the changes. Closes #8869
show more ...
|
#
030adbce |
| 25-Apr-2022 |
Daniel Stenberg |
conncache: remove name arg from Curl_conncache_find_bundle To simplify, and also since the returned name is not the full actual name used for the check. The port number and zone id is al
conncache: remove name arg from Curl_conncache_find_bundle To simplify, and also since the returned name is not the full actual name used for the check. The port number and zone id is also involved, so just showing the name is misleading. Closes #8750
show more ...
|
#
058f98dc |
| 25-Apr-2022 |
Daniel Stenberg |
conncache: include the zone id in the "bundle" hashkey Make connections to two separate IPv6 zone ids create separate connections. Reported-by: Harry Sintonen Bug: https://c
conncache: include the zone id in the "bundle" hashkey Make connections to two separate IPv6 zone ids create separate connections. Reported-by: Harry Sintonen Bug: https://curl.se/docs/CVE-2022-27775.html Closes #8747
show more ...
|
#
d4cf98bb |
| 06-Apr-2022 |
Daniel Stenberg |
connecache: remove duplicate connc->closure_handle check The superfluous extra check could cause analyzer false positives and doesn't serve any purpose. Closes #8676
|
#
79cca04d |
| 29-Jan-2022 |
Daniel Stenberg |
conncache: make conncache_add_bundle return the pointer Simplifies the logic a little and avoids a ternary operator. Ref: #8346 Closes #8349
|
#
e74a6b7b |
| 19-Jan-2022 |
Daniel Stenberg |
url: make Curl_disconnect return void 1. The function would only ever return CURLE_OK anyway 2. Only one caller actually used the return code 3. Most callers did (void)Curl_discon
url: make Curl_disconnect return void 1. The function would only ever return CURLE_OK anyway 2. Only one caller actually used the return code 3. Most callers did (void)Curl_disconnect() Closes #8303
show more ...
|
#
254f7bd7 |
| 10-Dec-2021 |
Daniel Stenberg |
hash: lazy-alloc the table in Curl_hash_add() This makes Curl_hash_init() infallible which saves error paths. Closes #8132
|
#
e7416cfd |
| 06-Jul-2021 |
Daniel Stenberg |
infof: remove newline from format strings, always append it - the data needs to be "line-based" anyway since it's also passed to the debug callback/application - it makes info
infof: remove newline from format strings, always append it - the data needs to be "line-based" anyway since it's also passed to the debug callback/application - it makes infof() work like failf() and consistency is good - there's an assert that triggers on newlines in the format string - Also removes a few instances of "..." - Removes the code that would append "..." to the end of the data *iff* it was truncated in infof() Closes #7357
show more ...
|
#
dddad339 |
| 01-Jun-2021 |
Daniel Stenberg |
conncache: lowercase the hash key for better match As host names are case insensitive, the use of case sensitive hashing caused unnecesary cache misses and therefore lost performance. Th
conncache: lowercase the hash key for better match As host names are case insensitive, the use of case sensitive hashing caused unnecesary cache misses and therefore lost performance. This lowercases the hash key. Reported-by: Harry Sintonen Fixes #7159 Closes #7161
show more ...
|
Revision tags: curl-7_76_1, curl-7_76_0 |
|
#
cfff12a0 |
| 15-Feb-2021 |
Daniel Stenberg |
lib: remove 'conn->data' completely The Curl_easy pointer struct entry in connectdata is now gone. Just before commit 215db086e0 landed on January 8, 2021 there were 919 references t
lib: remove 'conn->data' completely The Curl_easy pointer struct entry in connectdata is now gone. Just before commit 215db086e0 landed on January 8, 2021 there were 919 references to conn->data. Closes #6608
show more ...
|
Revision tags: curl-7_75_0 |
|
#
a3040516 |
| 18-Jan-2021 |
Daniel Stenberg |
lib: more conn->data cleanups Closes #6479
|
#
215db086 |
| 08-Jan-2021 |
Daniel Stenberg |
lib: pass in 'struct Curl_easy *' to most functions ... in most cases instead of 'struct connectdata *' but in some cases in addition to. - We mostly operate on transfers and no
lib: pass in 'struct Curl_easy *' to most functions ... in most cases instead of 'struct connectdata *' but in some cases in addition to. - We mostly operate on transfers and not connections. - We need the transfer handle to log, store data and more. Everything in libcurl is driven by a transfer (the CURL * in the public API). - This work clarifies and separates the transfers from the connections better. - We should avoid "conn->data". Since individual connections can be used by many transfers when multiplexing, making sure that conn->data points to the current and correct transfer at all times is difficult and has been notoriously error-prone over the years. The goal is to ultimately remove the conn->data pointer for this reason. Closes #6425
show more ...
|
Revision tags: curl-7_74_0 |
|
#
4d2f8006 |
| 04-Nov-2020 |
Daniel Stenberg |
curl.se: new home Closes #6172
|
Revision tags: curl-7_73_0 |
|
#
9e90ff08 |
| 02-Sep-2020 |
Daniel Stenberg |
hash: make it 'struct Curl_hash' As internal global names should use captical C. Closes #5906
|
#
9b3f888a |
| 02-Sep-2020 |
Daniel Stenberg |
llist: make it "struct Curl_llist" As internal global names should use captical C. Closes #5906
|
Revision tags: tiny-curl-7_72_0, curl-7_72_0, curl-7_71_1, curl-7_71_0 |
|
#
8346c90b |
| 31-May-2020 |
Daniel Stenberg |
conncache: download buffer needs +1 size for trailing zero Follow-up to c4e6968127e Detected by OSS-Fuzz: https://oss-fuzz.com/testcase-detail/5727799779524608
|
#
f3d501dc |
| 27-May-2020 |
Daniel Stenberg |
build: disable more code/data when built without proxy support Added build to travis to verify Closes #5466
|
#
c4e69681 |
| 28-May-2020 |
Daniel Stenberg |
url: alloc the download buffer at transfer start ... and free it as soon as the transfer is done. It removes the extra alloc when a new size is set with setopt() and reduces memory for u
url: alloc the download buffer at transfer start ... and free it as soon as the transfer is done. It removes the extra alloc when a new size is set with setopt() and reduces memory for unused easy handles. In addition: the closure_handle now doesn't use an allocated buffer at all but the smallest supported size as a stack based one. Closes #5472
show more ...
|
Revision tags: curl-7_70_0 |
|
#
c0690271 |
| 26-Apr-2020 |
Daniel Stenberg |
conncache: various concept cleanups More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_c
conncache: various concept cleanups More connection cache accesses are protected by locks. CONNCACHE_* is a beter prefix for the connection cache lock macros. Curl_attach_connnection: now called as soon as there's a connection struct available and before the connection is added to the connection cache. Curl_disconnect: now assumes that the connection is already removed from the connection cache. Ref: #4915 Closes #5009
show more ...
|