<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/ftp.c, branch release/6.0.0_cvs</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>This commit was manufactured by cvs2svn to create tag</title>
<updated>2005-11-03T00:35:26+00:00</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2005-11-03T00:35:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=3640cb54210edbb7edbf1b12ef0127ecfcea967d'/>
<id>3640cb54210edbb7edbf1b12ef0127ecfcea967d</id>
<content type='text'>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
'RELENG_6_0_0_RELEASE'.

This commit was manufactured to restore the state of the 6.0-RELEASE image.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright years.</title>
<updated>2004-09-21T18:35:21+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2004-09-21T18:35:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2cbbf9dac9829e7e3d2e1f150dc78901b67829ae'/>
<id>2cbbf9dac9829e7e3d2e1f150dc78901b67829ae</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't close a FILE * which we know is bogus.</title>
<updated>2003-08-29T15:54:12+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-08-29T15:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=fd8f6d2269833a632960a8a72049e970a77e9320'/>
<id>fd8f6d2269833a632960a8a72049e970a77e9320</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Some servers respond to RETR in active mode with 125 (connection already</title>
<updated>2003-08-19T11:43:11+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-08-19T11:43:11+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=39082bb4a5783c679bef4a1a0098543563e33a73'/>
<id>39082bb4a5783c679bef4a1a0098543563e33a73</id>
<content type='text'>
open) rather than 150 (opening connection).  There's no reason why we
shouldn't accept that.

PR:		misc/42172
MFC in:		3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
open) rather than 150 (opening connection).  There's no reason why we
shouldn't accept that.

PR:		misc/42172
MFC in:		3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>The flags passed in to _ftp_get_proxy may be null</title>
<updated>2003-03-19T21:39:00+00:00</updated>
<author>
<name>Mike Makonnen</name>
<email>mtm@FreeBSD.org</email>
</author>
<published>2003-03-19T21:39:00+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4418f9df3027bf6a443be027c86f9338540cf6d3'/>
<id>4418f9df3027bf6a443be027c86f9338540cf6d3</id>
<content type='text'>
Approved by:	des, markm (mentor)(implicit)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	des, markm (mentor)(implicit)
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't parse the proxy URL unless we're actually going to use it.  No real</title>
<updated>2003-03-11T08:20:58+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-03-11T08:20:58+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=b91d6074d447f2436e03f3930fa5e882a7240249'/>
<id>b91d6074d447f2436e03f3930fa5e882a7240249</id>
<content type='text'>
functional difference, but debugging output will be less confusing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
functional difference, but debugging output will be less confusing.
</pre>
</div>
</content>
</entry>
<entry>
<title>style(9): add parentheses to sizeof even when not strictly required.</title>
<updated>2003-01-28T08:04:40+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-01-28T08:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=930105c1e9a553c4faa1364d56f79f3fbdd383fb'/>
<id>930105c1e9a553c4faa1364d56f79f3fbdd383fb</id>
<content type='text'>
MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Hook in the .netrc code + don't use pointers as if they were booleans.</title>
<updated>2003-01-22T17:54:49+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2003-01-22T17:54:49+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9f808a4dd09d10191d25692ed072e53978ebe7f5'/>
<id>9f808a4dd09d10191d25692ed072e53978ebe7f5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>The FTP connection caching needs a better interface -- connections are</title>
<updated>2002-10-25T01:17:32+00:00</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2002-10-25T01:17:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=13cc1c8394eba4cc00865f84b898d6d1718a5e48'/>
<id>13cc1c8394eba4cc00865f84b898d6d1718a5e48</id>
<content type='text'>
closed through _fetch_close() which is the only one who knows the connection
REALLY was closed (since ref -&gt; 0).  However, FTP keeps its own local
cached_connection and checks if it is valid by comparing it to NULL.  This
is bogus since it may have been freed elsewhere by _fetch_close().

This change checks if we are closing the cached_connection and the ref is 1
(soon to be 0).  If so, set cached_connection to NULL so we don't
accidentally reuse it.  The REAL fix should be to move connection caching
to the common.c level (_fetch_* functions) and NULL the cache(s) in
_fetch_close().  Then all layers could benefit from caching.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
closed through _fetch_close() which is the only one who knows the connection
REALLY was closed (since ref -&gt; 0).  However, FTP keeps its own local
cached_connection and checks if it is valid by comparing it to NULL.  This
is bogus since it may have been freed elsewhere by _fetch_close().

This change checks if we are closing the cached_connection and the ref is 1
(soon to be 0).  If so, set cached_connection to NULL so we don't
accidentally reuse it.  The REAL fix should be to move connection caching
to the common.c level (_fetch_* functions) and NULL the cache(s) in
_fetch_close().  Then all layers could benefit from caching.
</pre>
</div>
</content>
</entry>
<entry>
<title>When recycling a cached connection, increment the reference count so that</title>
<updated>2002-10-20T10:36:27+00:00</updated>
<author>
<name>Tim J. Robbins</name>
<email>tjr@FreeBSD.org</email>
</author>
<published>2002-10-20T10:36:27+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=9d649c1fd0046a2172a10e11fb159732c53c73df'/>
<id>9d649c1fd0046a2172a10e11fb159732c53c73df</id>
<content type='text'>
the heap block does not get freed and reused. This should fix the
pkg_add -r crashes that have been happening for months.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the heap block does not get freed and reused. This should fix the
pkg_add -r crashes that have been happening for months.
</pre>
</div>
</content>
</entry>
</feed>
