<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/conncache.c, branch bagder/chunk-encoding-data</title>
<subtitle>github.com: bagder/curl.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/'/>
<entry>
<title>lib: more conn-&gt;data cleanups</title>
<updated>2021-01-19T08:14:51+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-18T10:56:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a304051620b92e12b6b1b4e19edc57b34ea332b6'/>
<id>a304051620b92e12b6b1b4e19edc57b34ea332b6</id>
<content type='text'>
Closes #6479
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6479
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: pass in 'struct Curl_easy *' to most functions</title>
<updated>2021-01-17T22:56:09+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-08T16:58:15+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=215db086e09665ee7af9b646ad6c4d6e281001ac'/>
<id>215db086e09665ee7af9b646ad6c4d6e281001ac</id>
<content type='text'>
... 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-&gt;data". Since individual connections can be used
  by many transfers when multiplexing, making sure that conn-&gt;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-&gt;data pointer for this reason.

Closes #6425
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... 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-&gt;data". Since individual connections can be used
  by many transfers when multiplexing, making sure that conn-&gt;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-&gt;data pointer for this reason.

Closes #6425
</pre>
</div>
</content>
</entry>
<entry>
<title>curl.se: new home</title>
<updated>2020-11-04T22:59:47+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-11-04T13:02:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=4d2f8006777d6354d9b62eae38ebd0a0256d0f94'/>
<id>4d2f8006777d6354d9b62eae38ebd0a0256d0f94</id>
<content type='text'>
Closes #6172
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6172
</pre>
</div>
</content>
</entry>
<entry>
<title>hash: make it 'struct Curl_hash'</title>
<updated>2020-09-02T20:41:58+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-02T10:07:44+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9e90ff0839a2ad750faad0d8176cd7cc01c1dae2'/>
<id>9e90ff0839a2ad750faad0d8176cd7cc01c1dae2</id>
<content type='text'>
As internal global names should use captical C.

Closes #5906
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As internal global names should use captical C.

Closes #5906
</pre>
</div>
</content>
</entry>
<entry>
<title>llist: make it "struct Curl_llist"</title>
<updated>2020-09-02T20:41:58+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-09-02T10:06:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e'/>
<id>9b3f888a00fe0c796e8ef7f00d03bb2adc2baa4e</id>
<content type='text'>
As internal global names should use captical C.

Closes #5906
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As internal global names should use captical C.

Closes #5906
</pre>
</div>
</content>
</entry>
<entry>
<title>conncache: download buffer needs +1 size for trailing zero</title>
<updated>2020-05-31T15:45:57+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-31T15:44:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8346c90b789e249e42cd1e9f4542f5c55a1cc917'/>
<id>8346c90b789e249e42cd1e9f4542f5c55a1cc917</id>
<content type='text'>
Follow-up to c4e6968127e
Detected by OSS-Fuzz: https://oss-fuzz.com/testcase-detail/5727799779524608
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Follow-up to c4e6968127e
Detected by OSS-Fuzz: https://oss-fuzz.com/testcase-detail/5727799779524608
</pre>
</div>
</content>
</entry>
<entry>
<title>build: disable more code/data when built without proxy support</title>
<updated>2020-05-30T21:18:16+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-27T09:51:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=f3d501dc678d80a93325bd93ab05c48855e1c0d1'/>
<id>f3d501dc678d80a93325bd93ab05c48855e1c0d1</id>
<content type='text'>
Added build to travis to verify

Closes #5466
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added build to travis to verify

Closes #5466
</pre>
</div>
</content>
</entry>
<entry>
<title>url: alloc the download buffer at transfer start</title>
<updated>2020-05-30T21:14:33+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-28T16:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c4e6968127e876b01e5e0b4b7cdbc49d5267530c'/>
<id>c4e6968127e876b01e5e0b4b7cdbc49d5267530c</id>
<content type='text'>
... 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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... 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
</pre>
</div>
</content>
</entry>
<entry>
<title>conncache: various concept cleanups</title>
<updated>2020-04-30T12:27:54+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-04-26T22:33:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c06902713998d68202c5a764de910ba8d0e8f54d'/>
<id>c06902713998d68202c5a764de910ba8d0e8f54d</id>
<content type='text'>
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
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>conncache: removed unused Curl_conncache_bundle_size()</title>
<updated>2020-01-24T09:29:06+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-01-23T08:03:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=77450003383df8469b74916a3c2d54d4b57226ff'/>
<id>77450003383df8469b74916a3c2d54d4b57226ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
