<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/curl.git/lib/ftp.c, branch bagder/test493-https</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>ftp: fix memory leak in ftp_done</title>
<updated>2021-03-12T18:53:05+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-12T15:15:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=8ed71fc4f7116288da75ed85e21fe8c53f4cdfb2'/>
<id>8ed71fc4f7116288da75ed85e21fe8c53f4cdfb2</id>
<content type='text'>
If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp-&gt;pathalloc block.

Found by torture-testing test 576

Closes #6737
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If after a transfer is complete Curl_GetFTPResponse() returns an error,
curl would not free the ftp-&gt;pathalloc block.

Found by torture-testing test 576

Closes #6737
</pre>
</div>
</content>
</entry>
<entry>
<title>FTP: allow SIZE to fail when doing (resumed) upload</title>
<updated>2021-03-11T15:13:11+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-03-11T09:00:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=7b2f0676c2eaaa99e8773134414769fab02c2b2d'/>
<id>7b2f0676c2eaaa99e8773134414769fab02c2b2d</id>
<content type='text'>
Added test 362 to verify.

Reported-by: Jordan Brown
Regression since 7ea2e1d0c5a7f (7.73.0)
Fixes #6715
Closes #6725
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Added test 362 to verify.

Reported-by: Jordan Brown
Regression since 7ea2e1d0c5a7f (7.73.0)
Fixes #6715
Closes #6725
</pre>
</div>
</content>
</entry>
<entry>
<title>ftp: fix Codacy/cppcheck warning about null pointer arithmetic</title>
<updated>2021-02-10T15:46:52+00:00</updated>
<author>
<name>Marcel Raad</name>
<email>Marcel.Raad@teamviewer.com</email>
</author>
<published>2021-02-06T09:26:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=a3f93a62a2f53ea0f8b88cedefdaa4ee1bc4baea'/>
<id>a3f93a62a2f53ea0f8b88cedefdaa4ee1bc4baea</id>
<content type='text'>
Increment `bytes` only if it is non-null.

Closes https://github.com/curl/curl/pull/6576
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Increment `bytes` only if it is non-null.

Closes https://github.com/curl/curl/pull/6576
</pre>
</div>
</content>
</entry>
<entry>
<title>ftp: add 'list_only' to the transfer state struct</title>
<updated>2021-02-09T13:06:28+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-08T15:40:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=528f71c2ecdbb03117af226978804148d69a1007'/>
<id>528f71c2ecdbb03117af226978804148d69a1007</id>
<content type='text'>
and rename it from 'ftp_list_only' since it is also used for SSH and
POP3. The state is updated internally for 'type=D' FTP URLs.

Added test case 1570 to verify.

Closes #6578
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
and rename it from 'ftp_list_only' since it is also used for SSH and
POP3. The state is updated internally for 'type=D' FTP URLs.

Added test case 1570 to verify.

Closes #6578
</pre>
</div>
</content>
</entry>
<entry>
<title>ftp: add 'prefer_ascii' to the transfer state struct</title>
<updated>2021-02-09T13:06:28+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-08T14:56:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=115c9e27f53809a254fba44b023bea92f4d4dcd0'/>
<id>115c9e27f53809a254fba44b023bea92f4d4dcd0</id>
<content type='text'>
... and make sure the code never updates 'set.prefer_ascii' as it breaks
handle reuse which should use the setting as the user specified it.

Added test 1569 to verify: it first makes an FTP transfer with ';type=A'
and then another without type on the same handle and the second should
then use binary. Previously, curl failed this.

Closes #6578
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... and make sure the code never updates 'set.prefer_ascii' as it breaks
handle reuse which should use the setting as the user specified it.

Added test 1569 to verify: it first makes an FTP transfer with ';type=A'
and then another without type on the same handle and the second should
then use binary. Previously, curl failed this.

Closes #6578
</pre>
</div>
</content>
</entry>
<entry>
<title>ftp: never set data-&gt;set.ftp_append outside setopt</title>
<updated>2021-02-08T21:44:37+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-08T15:21:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=0c51036eb6ddef50a1730bdd33a4388b35343125'/>
<id>0c51036eb6ddef50a1730bdd33a4388b35343125</id>
<content type='text'>
Since the set value then risks getting used like that when the easy
handle is reused by the application.

Also: renamed the struct field from 'ftp_append' to 'remote_append'
since it is also used for SSH protocols.

Closes #6579
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since the set value then risks getting used like that when the easy
handle is reused by the application.

Also: renamed the struct field from 'ftp_append' to 'remote_append'
since it is also used for SSH protocols.

Closes #6579
</pre>
</div>
</content>
</entry>
<entry>
<title>ftp: avoid SIZE when asking for a TYPE A file</title>
<updated>2021-02-04T22:06:03+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-04T12:05:03+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=e32601e13ab258a4370b46f8c5d360eab9d5ee8f'/>
<id>e32601e13ab258a4370b46f8c5d360eab9d5ee8f</id>
<content type='text'>
... as we ignore it anyway because servers don't report the correct size
and proftpd even blatantly returns a 550.

Updates a set of tests accordingly.

Reported-by: awesomenode on github
Fixes #6564
Closes #6565
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... as we ignore it anyway because servers don't report the correct size
and proftpd even blatantly returns a 550.

Updates a set of tests accordingly.

Reported-by: awesomenode on github
Fixes #6564
Closes #6565
</pre>
</div>
</content>
</entry>
<entry>
<title>pingpong: rename the curl_pp_transfer enum to use PP prefix</title>
<updated>2021-02-04T22:06:03+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-02-04T12:06:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=5f08a5acd5380e41b8966dae96241bd1b4889b2c'/>
<id>5f08a5acd5380e41b8966dae96241bd1b4889b2c</id>
<content type='text'>
Using an FTP prefix for PP provided functionality was misleading.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using an FTP prefix for PP provided functionality was misleading.
</pre>
</div>
</content>
</entry>
<entry>
<title>urldata: remove the duplicate 'ip_addr_str' field</title>
<updated>2021-01-27T08:18:51+00:00</updated>
<author>
<name>Daniel Stenberg</name>
<email>daniel@haxx.se</email>
</author>
<published>2021-01-26T09:46:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=642d78026f409cfb5b31affc271a0eb8298e8020'/>
<id>642d78026f409cfb5b31affc271a0eb8298e8020</id>
<content type='text'>
... as the numerical IP address is already stored and kept in 'primary_ip'.

Closes #6534
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
... as the numerical IP address is already stored and kept in 'primary_ip'.

Closes #6534
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: remove conn-&gt;data uses</title>
<updated>2021-01-26T14:19:41+00:00</updated>
<author>
<name>Patrick Monnerat</name>
<email>patrick@monnerat.net</email>
</author>
<published>2021-01-24T17:57:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/curl.git/commit/?id=234638ea63facf981d1070a4a980d0b289e16da0'/>
<id>234638ea63facf981d1070a4a980d0b289e16da0</id>
<content type='text'>
Closes #6515
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Closes #6515
</pre>
</div>
</content>
</entry>
</feed>
