<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/transfer.c, branch bagder/ftp-over-httpsproxy</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>transfer: move retrycount from connect struct to easy handle</title>
<updated>2020-08-10T21:20:17+00:00</updated>
<author>
<name>Stefan Yohansson</name>
<email>sy.fen0@gmail.com</email>
</author>
<published>2020-08-10T12:16:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=50dd05a55249c42b6a355cd0982c8e4da808b263'/>
<id>50dd05a55249c42b6a355cd0982c8e4da808b263</id>
<content type='text'>
This flag was applied to the connection struct that is released on
retry.  These changes move the retry counter into Curl_easy struct that
lives across retries and retains the new connection.

Reported-by: Cherish98 on github
Fixes #5794
Closes #5800
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This flag was applied to the connection struct that is released on
retry.  These changes move the retry counter into Curl_easy struct that
lives across retries and retains the new connection.

Reported-by: Cherish98 on github
Fixes #5794
Closes #5800
</pre>
</div>
</content>
</entry>
<entry>
<title>transfer: fix data_pending for builds with both h2 and h3 enabled</title>
<updated>2020-07-28T21:48:49+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-07-27T13:43:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=5ae339971a9590bfc227d104122faf119ef18f2a'/>
<id>5ae339971a9590bfc227d104122faf119ef18f2a</id>
<content type='text'>
Closes #5734
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #5734
</pre>
</div>
</content>
</entry>
<entry>
<title>transfer: fix memory-leak with CURLOPT_CURLU in a duped handle</title>
<updated>2020-07-12T14:36:02+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-07-11T22:45:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9466034561d55a0c43111c5c928ebef70ba95507'/>
<id>9466034561d55a0c43111c5c928ebef70ba95507</id>
<content type='text'>
Added test case 674 to reproduce and verify the bug report.

Fixes #5665
Reported-by: NobodyXu on github
Closes #5673
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added test case 674 to reproduce and verify the bug report.

Fixes #5665
Reported-by: NobodyXu on github
Closes #5673
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: let the HTTP method be in the set.* struct</title>
<updated>2020-06-02T14:30:36+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-06-01T20:58:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=9c845be2797e2047547ec247cb037471aeb48bb0'/>
<id>9c845be2797e2047547ec247cb037471aeb48bb0</id>
<content type='text'>
When the method is updated inside libcurl we must still not change the
method as set by the user as then repeated transfers with that same
handle might not execute the same operation anymore!

This fixes the libcurl part of #5462

Test 1633 added to verify.

Closes #5499
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the method is updated inside libcurl we must still not change the
method as set by the user as then repeated transfers with that same
handle might not execute the same operation anymore!

This fixes the libcurl part of #5462

Test 1633 added to verify.

Closes #5499
</pre>
</div>
</content>
</entry>
<entry>
<title>transfer: remove k-&gt;str NULL check</title>
<updated>2020-06-01T13:22:36+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-06-01T07:34:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=b77a2528f8d76f7d9878a9e3d1f7744a5becfdd4'/>
<id>b77a2528f8d76f7d9878a9e3d1f7744a5becfdd4</id>
<content type='text'>
"Null-checking k-&gt;str suggests that it may be null, but it has already
been dereferenced on all paths leading to the check" - and it can't
legally be NULL at this point. Remove check.

Detected by Coverity CID 1463884

Closes #5495
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"Null-checking k-&gt;str suggests that it may be null, but it has already
been dereferenced on all paths leading to the check" - and it can't
legally be NULL at this point. Remove check.

Detected by Coverity CID 1463884

Closes #5495
</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>transfer: close connection after excess data has been read</title>
<updated>2020-05-27T06:16:35+00:00</updated>
<author>
<name>Michael Kaufmann</name>
<email>mail@michael-kaufmann.ch</email>
</author>
<published>2020-05-21T11:10:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=3d44bfb08d4b230d2ad8b111469a8ae4c6957bca'/>
<id>3d44bfb08d4b230d2ad8b111469a8ae4c6957bca</id>
<content type='text'>
For HTTP 1.x, it's a protocol error when the server sends more bytes
than announced. If this happens, don't reuse the connection, because the
start position of the next response is undefined.

Closes #5440
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For HTTP 1.x, it's a protocol error when the server sends more bytes
than announced. If this happens, don't reuse the connection, because the
start position of the next response is undefined.

Closes #5440
</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>transfer: Switch PUT to GET/HEAD on 303 redirect</title>
<updated>2020-04-22T21:56:17+00:00</updated>
<author>
<name>Jay Satiro</name>
<email>raysatiro@yahoo.com</email>
</author>
<published>2020-04-16T18:15:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=c0e139a60db68034e04362694290f7cf422eb924'/>
<id>c0e139a60db68034e04362694290f7cf422eb924</id>
<content type='text'>
Prior to this change if there was a 303 reply to a PUT request then
the subsequent request to respond to that redirect would also be a PUT.
It was determined that was most likely incorrect based on the language
of the RFCs. Basically 303 means "see other" resource, which implies it
is most likely not the same resource, therefore we should not try to PUT
to that different resource.

Refer to the discussions in #5237 and #5248 for more information.

Fixes https://github.com/curl/curl/issues/5237
Closes https://github.com/curl/curl/pull/5248
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prior to this change if there was a 303 reply to a PUT request then
the subsequent request to respond to that redirect would also be a PUT.
It was determined that was most likely incorrect based on the language
of the RFCs. Basically 303 means "see other" resource, which implies it
is most likely not the same resource, therefore we should not try to PUT
to that different resource.

Refer to the discussions in #5237 and #5248 for more information.

Fixes https://github.com/curl/curl/issues/5237
Closes https://github.com/curl/curl/pull/5248
</pre>
</div>
</content>
</entry>
<entry>
<title>http: don't consider upload done if the request isn't completely sent off</title>
<updated>2020-04-08T06:14:23+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2020-04-07T16:16:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0ef54abf52086e48e7c751747650584d51b9ebaa'/>
<id>0ef54abf52086e48e7c751747650584d51b9ebaa</id>
<content type='text'>
Fixes #4919
Closes #5197
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes #4919
Closes #5197
</pre>
</div>
</content>
</entry>
</feed>
