<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/lib/libfetch, branch stable/7</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=stable%2F7'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2015-06-20T13:30:09Z</updated>
<entry>
<title>MFC r284346:</title>
<updated>2015-06-20T13:30:09Z</updated>
<author>
<name>Dimitry Andric</name>
<email>dim@FreeBSD.org</email>
</author>
<published>2015-06-20T13:30:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=bd464ed9555d42533f15fe51494a8551bbaf94ac'/>
<id>urn:sha1:bd464ed9555d42533f15fe51494a8551bbaf94ac</id>
<content type='text'>
Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:

    lib/libfetch/http.c:1628:26: error: address of array 'purl-&gt;user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = purl-&gt;user ?
                                                   ~~~~~~^~~~ ~
    lib/libfetch/http.c:1630:30: error: address of array 'purl-&gt;pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = purl-&gt;pwd?
                                                       ~~~~~~^~~~
    lib/libfetch/http.c:1657:25: error: address of array 'url-&gt;user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url-&gt;user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1659:29: error: address of array 'url-&gt;pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url-&gt;pwd ?
                                                       ~~~~~^~~ ~
    lib/libfetch/http.c:1669:25: error: address of array 'url-&gt;user'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.user = url-&gt;user ?
                                                   ~~~~~^~~~ ~
    lib/libfetch/http.c:1671:29: error: address of array 'url-&gt;pwd'
    will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
                                    aparams.password = url-&gt;pwd ?
                                                       ~~~~~^~~ ~

Since url-&gt;user and url-&gt;pwd are arrays, they can never be NULL, so the
checks can be removed.

Reviewed by:	bapt
Differential Revision: https://reviews.freebsd.org/D2673
</content>
</entry>
<entry>
<title>MFH r221820, r221821, r221822: increase WARNS</title>
<updated>2012-11-05T10:54:14Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2012-11-05T10:54:14Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d1d00dd579d4798691d46258f74669d533b3bf90'/>
<id>urn:sha1:d1d00dd579d4798691d46258f74669d533b3bf90</id>
<content type='text'>
MFH r221830: mark all descriptors close-on-exec
MFH r225813: man page fixes
MFH r225814: adjust copyright statement
MFH r226537: latin1 -&gt; utf8
MFH r230307, r230478: fix SIGINFO infinite loop and data loss
MFH r233648: man page fixes
MFH r234138: support percent-encoded user and password
MFH r234837: avoid busy-loop on slow connections
MFH r234838: don't reuse credentials when redirected to another host
MFH r236193: avoid SIGPIPE on network connections
MFH r240496: use libmd if and only if OpenSSL is not available
</content>
</entry>
<entry>
<title>MFC r241841:</title>
<updated>2012-10-29T04:18:34Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-10-29T04:18:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=184190f858e3dd59370b53c4590cefac4d2679a0'/>
<id>urn:sha1:184190f858e3dd59370b53c4590cefac4d2679a0</id>
<content type='text'>
	Implement HTTP 305 redirect handling.

PR:		172452
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r241840:</title>
<updated>2012-10-29T04:16:52Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-10-29T04:16:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=8e61483447c2c4b08b92b0a08d8607fb4e04d754'/>
<id>urn:sha1:8e61483447c2c4b08b92b0a08d8607fb4e04d754</id>
<content type='text'>
	Don't deny non-temporary redirects if the -A option is set (per
	the man page) [0]

	While here add support for draft-reschke-http-status-308-07

PR:		172451 [0]
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r241839:</title>
<updated>2012-10-25T03:11:18Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-10-25T03:11:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=00cbfc7689efd943813f3d922dc11f16ebb07a67'/>
<id>urn:sha1:00cbfc7689efd943813f3d922dc11f16ebb07a67</id>
<content type='text'>
	Be a bit more lenient in the maximum number of redirects allowed.
	Chrome and Firefox have a limit of 20. IE has a limit of 8.

Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>MFC r240495:</title>
<updated>2012-09-28T01:04:10Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2012-09-28T01:04:10Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=749aea8bb8ef5e91ace901ec41401edf42b121a4'/>
<id>urn:sha1:749aea8bb8ef5e91ace901ec41401edf42b121a4</id>
<content type='text'>
	Adding missing return statements during error conditions.

PR:		kern/171187
Approved by:	cperciva (implicit)
</content>
</entry>
<entry>
<title>Beware of blind MFCs...</title>
<updated>2011-05-11T11:30:36Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-05-11T11:30:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=331e3437ba9329a4fd9a098f1be5957231fc9b65'/>
<id>urn:sha1:331e3437ba9329a4fd9a098f1be5957231fc9b65</id>
<content type='text'>
Noticed by:	pluknet
</content>
</entry>
<entry>
<title>Sync with head: proxy authentication, SSL hang, cached connection crash.</title>
<updated>2011-05-11T09:46:36Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-05-11T09:46:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=9b8375a2627a8883efa6920f181c5db26ea7727d'/>
<id>urn:sha1:9b8375a2627a8883efa6920f181c5db26ea7727d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Synch with head: avoid namespace collisions (r177447), plug resource leak</title>
<updated>2010-01-27T14:54:48Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2010-01-27T14:54:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=99221e6464a1d0e4500e8c0a40c45066b79e1f68'/>
<id>urn:sha1:99221e6464a1d0e4500e8c0a40c45066b79e1f68</id>
<content type='text'>
in FTP code (r199801), add support for HTTP (r202613, r202623, r203028).
Also record mergeinfo for previously merged patches (r174752, r174588).

Approved by:	re (kib)
</content>
</entry>
<entry>
<title>MFC 198339:</title>
<updated>2009-12-01T23:24:42Z</updated>
<author>
<name>Fabien Thomas</name>
<email>fabient@FreeBSD.org</email>
</author>
<published>2009-12-01T23:24:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=cad7e4df410b2c0e42fa018fca00c471b9bed69a'/>
<id>urn:sha1:cad7e4df410b2c0e42fa018fca00c471b9bed69a</id>
<content type='text'>
Fix the NO_PROXY handling.

PR: 139751
</content>
</entry>
</feed>
