summaryrefslogtreecommitdiff
path: root/tests/data/test1554
Commit message (Collapse)AuthorAgeFilesLines
* multi_remove_handle: close unused connect-only connectionsMarc Aldorasi2020-08-011-0/+6
| | | | | | | | | Previously any connect-only connections in a multi handle would be kept alive until the multi handle was closed. Since these connections cannot be re-used, they can be marked for closure when the associated easy handle is removed from the multi handle. Closes #5749
* conncache: various concept cleanupsDaniel Stenberg2020-04-301-0/+14
| | | | | | | | | | | | | | | | 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
* conncache: fix multi-thread use of shared connection cacheDaniel Stenberg2019-12-091-0/+6
| | | | | | | | | It could accidentally let the connection get used by more than one thread, leading to double-free and more. Reported-by: Christopher Reid Fixes #4544 Closes #4557
* conn: remove the boolean 'inuse' fieldDaniel Stenberg2018-07-111-6/+0
| | | | ... as the usage needs to be counted.
* conncache: fix several lock issuesDaniel Stenberg2017-12-051-1/+9
| | | | | | | | | If the lock is released before the dealings with the bundle is over, it may have changed by another thread in the mean time. Fixes #2132 Fixes #2151 Closes #2139
* test1554: verify connection cache sharingDaniel Stenberg2017-11-091-0/+77