<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/easy.c, branch bagder/https-proxy-tests</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>easy: fix dangling pointer on easy_perform fail</title>
<updated>2020-05-12T07:00:27+00:00</updated>
<author>
<name>denzor</name>
<email>denismikhaylov38@gmail.com</email>
</author>
<published>2020-05-09T14:52:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a9021716cc207f7e88356a6c43f5d7b021660c9d'/>
<id>a9021716cc207f7e88356a6c43f5d7b021660c9d</id>
<content type='text'>
Closes https://github.com/curl/curl/pull/5363
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes https://github.com/curl/curl/pull/5363
</pre>
</div>
</content>
</entry>
<entry>
<title>dynbuf: introduce internal generic dynamic buffer functions</title>
<updated>2020-05-04T08:40:39+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-05-02T15:04:08+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=ed35d6590e72c23c568af1e3b8ac6e4e2d883888'/>
<id>ed35d6590e72c23c568af1e3b8ac6e4e2d883888</id>
<content type='text'>
A common set of functions instead of many separate implementations for
creating buffers that can grow when appending data to them. Existing
functionality has been ported over.

In my early basic testing, the total number of allocations seem at
roughly the same amount as before, possibly a few less.

See docs/DYNBUF.md for a description of the API.

Closes #5300
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A common set of functions instead of many separate implementations for
creating buffers that can grow when appending data to them. Existing
functionality has been ported over.

In my early basic testing, the total number of allocations seem at
roughly the same amount as before, possibly a few less.

See docs/DYNBUF.md for a description of the API.

Closes #5300
</pre>
</div>
</content>
</entry>
<entry>
<title>easy: Fix curl_easy_duphandle for builds missing IPv6 that use c-ares</title>
<updated>2020-03-14T23:07:05+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-03-14T06:19:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=3bfda07004a5739fb306e55cb9529ba3de35fbdb'/>
<id>3bfda07004a5739fb306e55cb9529ba3de35fbdb</id>
<content type='text'>
- Ignore CURLE_NOT_BUILT_IN errors returned by c-ares functions in
  curl_easy_duphandle.

Prior to this change if c-ares was used as the resolver backend and
either it was too old or libcurl was built without IPv6 support then
some of our resolver functions could return CURLE_NOT_BUILT_IN to
curl_easy_duphandle causing it to fail.

Caused by c8f086b which shipped in 7.69.1.

Reported-by: Karl Chen

Fixes https://github.com/curl/curl/issues/5097
Closes https://github.com/curl/curl/pull/5100
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Ignore CURLE_NOT_BUILT_IN errors returned by c-ares functions in
  curl_easy_duphandle.

Prior to this change if c-ares was used as the resolver backend and
either it was too old or libcurl was built without IPv6 support then
some of our resolver functions could return CURLE_NOT_BUILT_IN to
curl_easy_duphandle causing it to fail.

Caused by c8f086b which shipped in 7.69.1.

Reported-by: Karl Chen

Fixes https://github.com/curl/curl/issues/5097
Closes https://github.com/curl/curl/pull/5100
</pre>
</div>
</content>
</entry>
<entry>
<title>mime: latch last read callback status.</title>
<updated>2020-03-07T22:26:00+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2020-03-06T08:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=96972ec1c00a142e3859efc82a06b0b810527da2'/>
<id>96972ec1c00a142e3859efc82a06b0b810527da2</id>
<content type='text'>
In case a read callback returns a status (pause, abort, eof,
error) instead of a byte count, drain the bytes read so far but
remember this status for further processing.
Takes care of not losing data when pausing, and properly resume a
paused mime structure when requested.
New tests 670-673 check unpausing cases, with easy or multi
interface and mime or form api.

Fixes #4813
Reported-by: MrdUkk on github
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In case a read callback returns a status (pause, abort, eof,
error) instead of a byte count, drain the bytes read so far but
remember this status for further processing.
Takes care of not losing data when pausing, and properly resume a
paused mime structure when requested.
New tests 670-673 check unpausing cases, with easy or multi
interface and mime or form api.

Fixes #4813
Reported-by: MrdUkk on github
</pre>
</div>
</content>
</entry>
<entry>
<title>ares: store dns parameters for duphandle</title>
<updated>2020-03-07T12:50:23+00:00</updated>
<author>
<name>Ernst Sjöstrand</name>
<email>ernst.sjostrand@verisure.com</email>
</author>
<published>2020-03-02T13:51:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c8f086bcc315d9dec6a7438f39c3c36dfeb27e42'/>
<id>c8f086bcc315d9dec6a7438f39c3c36dfeb27e42</id>
<content type='text'>
With c-ares the dns parameters lives in ares_channel. Store them in the
curl handle and set them again in easy_duphandle.

Regression introduced in #3228 (6765e6d), shipped in curl 7.63.0.

Fixes #4893
Closes #5020
Signed-off-by: Ernst Sjöstrand &lt;ernst.sjostrand@verisure.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With c-ares the dns parameters lives in ares_channel. Store them in the
curl handle and set them again in easy_duphandle.

Regression introduced in #3228 (6765e6d), shipped in curl 7.63.0.

Fixes #4893
Closes #5020
Signed-off-by: Ernst Sjöstrand &lt;ernst.sjostrand@verisure.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>version: make curl_version* thread-safe without using global context</title>
<updated>2020-03-07T11:10:11+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-01T15:16:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e364546fb3371ac27f59f897e4c55acce7fc824e'/>
<id>e364546fb3371ac27f59f897e4c55acce7fc824e</id>
<content type='text'>
Closes #5010
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5010
</pre>
</div>
</content>
</entry>
<entry>
<title>pause: force a connection (re-)check after unpausing</title>
<updated>2020-03-07T09:49:51+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-06T09:04:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e040146f22608fd92c44be2447a6505141a8a867'/>
<id>e040146f22608fd92c44be2447a6505141a8a867</id>
<content type='text'>
There might be data available that was already read off the socket, for
example in the TLS layer.

Reported-by: Anders Berg
Fixes #4966
Closes #5049
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There might be data available that was already read off the socket, for
example in the TLS layer.

Reported-by: Anders Berg
Fixes #4966
Closes #5049
</pre>
</div>
</content>
</entry>
<entry>
<title>pause: bail out on bad input</title>
<updated>2020-03-06T16:31:01+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-06T09:12:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e54b1885d19dee5ed04761295020a0a84b8296ca'/>
<id>e54b1885d19dee5ed04761295020a0a84b8296ca</id>
<content type='text'>
A NULL easy handle or an easy handle without an associated connection
cannot be paused or unpaused.

Closes #5050
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A NULL easy handle or an easy handle without an associated connection
cannot be paused or unpaused.

Closes #5050
</pre>
</div>
</content>
</entry>
<entry>
<title>pause: return early for calls that don't change pause state</title>
<updated>2020-03-06T09:25:40+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-03T07:10:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=64258bd0aa6ad23195f6be32e6febf7439ab7984'/>
<id>64258bd0aa6ad23195f6be32e6febf7439ab7984</id>
<content type='text'>
Reviewed-by: Patrick Monnerat
Ref: #4833
Closes #5026
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Patrick Monnerat
Ref: #4833
Closes #5026
</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "pause: force-drain the transfer on unpause"</title>
<updated>2020-03-05T22:45:41+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-03-05T22:45:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8aa04e9a24932b830bc5eaf6838dea5a3329341e'/>
<id>8aa04e9a24932b830bc5eaf6838dea5a3329341e</id>
<content type='text'>
This reverts commit fa0216b294af4c7113a9040ca65eefc7fc18ac1c (from #5000)

Clearly that didn't solve the problem correctly.

Reported-by: Christopher Reid
Reopens #4966
Fixes #5044
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit fa0216b294af4c7113a9040ca65eefc7fc18ac1c (from #5000)

Clearly that didn't solve the problem correctly.

Reported-by: Christopher Reid
Reopens #4966
Fixes #5044
</pre>
</div>
</content>
</entry>
</feed>
