<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/http.c, branch release/10.3.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F10.3.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2016-02-17T11:40:03Z</updated>
<entry>
<title>MFH (r295536): fix double-free error when SSL connection fails</title>
<updated>2016-02-17T11:40:03Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2016-02-17T11:40:03Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=de9066ff28d20c40c2a725b160b514f7e5593092'/>
<id>urn:sha1:de9066ff28d20c40c2a725b160b514f7e5593092</id>
<content type='text'>
PR:		206774
Submitted by:	Christian Heckendorf &lt;heckendorfc@gmail.com&gt;
Approved by:	re (glebius)
</content>
</entry>
<entry>
<title>MFH (r280630): remove all traces of SSLv2 support</title>
<updated>2016-01-16T20:24:02Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2016-01-16T20:24:02Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e540cd5a1ecfb3c4506fafb7b43268a3d04e5009'/>
<id>urn:sha1:e540cd5a1ecfb3c4506fafb7b43268a3d04e5009</id>
<content type='text'>
MFH (r285141): remove unused variable
MFH (r288217): correctly check return value from getaddrinfo(3)
MFH (r289419): fix bugs in HTTPS tunnelling
MFH (r289420): use fopen()'s "e" mode instead of fcntl for close-on-exec
MFH (r291453, r291461): use .netrc for http servers and proxies
MFH (r292330, r292332): reset bufpos to 0 after refilling in chunked mode

PR:		194483 199801 193740 204771
</content>
</entry>
<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/commit/?id=bdf150f7b141c460ba5ad1b8c292ad94123608c9'/>
<id>urn:sha1:bdf150f7b141c460ba5ad1b8c292ad94123608c9</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 (r267127): don't send User-Agent if HTTP_USER_AGENT is empty</title>
<updated>2014-08-24T14:04:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-08-24T14:04:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=babfe5dc4a50618ab8e1c499f4ee97534f9b7790'/>
<id>urn:sha1:babfe5dc4a50618ab8e1c499f4ee97534f9b7790</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC: r267131, r267132, r267133, r268493, r268671</title>
<updated>2014-07-20T00:29:41Z</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-07-20T00:29:41Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=525e7e22a1d1253a97bdeb88ace2c68230684ecf'/>
<id>urn:sha1:525e7e22a1d1253a97bdeb88ace2c68230684ecf</id>
<content type='text'>
Use NULL instead of 0 (Patch by Sascha Wildner &lt;saw at online.de&gt; for Dragonfly)
Remove unnecessary semicolons (Patch by Sascha Wildner &lt;saw at online.de&gt; for Dragonfly)
Add support for arbitrary http requests [1]
Support EAGAIN in fetch_writev

Submitted by:	Alex Hornung &lt;alex at alexhornung.com&gt; [1]
Reviewed by:	des
</content>
</entry>
<entry>
<title>MFC r263021:</title>
<updated>2014-03-19T00:53:24Z</updated>
<author>
<name>Bryan Drewery</name>
<email>bdrewery@FreeBSD.org</email>
</author>
<published>2014-03-19T00:53:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3186b95e0a5704b2fdd964c051f918cb30076604'/>
<id>urn:sha1:3186b95e0a5704b2fdd964c051f918cb30076604</id>
<content type='text'>
  Support Last-Modified behind proxies which return UTC instead of GMT.
</content>
</entry>
<entry>
<title>MFH (r260904): fix format string</title>
<updated>2014-02-27T13:27:04Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-02-27T13:27:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b314edf70e1bc455eb6a7032057259f259c1f2d1'/>
<id>urn:sha1:b314edf70e1bc455eb6a7032057259f259c1f2d1</id>
<content type='text'>
MFH (r261230, r261263): fix buffering issues
MFH (r261284): bump copyright
</content>
</entry>
<entry>
<title>Even though it doesn't really make sense in the context of a CONNECT</title>
<updated>2013-08-22T07:43:36Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-08-22T07:43:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=615c5740efbc23763305ec463a09a39f011757b9'/>
<id>urn:sha1:615c5740efbc23763305ec463a09a39f011757b9</id>
<content type='text'>
request, RFC 2616 14.23 mandates the presence of the Host: header in
all HTTP 1.1 requests.

PR:		kern/181445
Submitted by:	Kimo &lt;kimor79@yahoo.com&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>Include an Accept header in requests.</title>
<updated>2013-07-30T13:07:55Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-07-30T13:07:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1453595f49c6b0d580bb57146a5981e73e80130e'/>
<id>urn:sha1:1453595f49c6b0d580bb57146a5981e73e80130e</id>
<content type='text'>
PR:		kern/180917
MFC after:	1 week
</content>
</entry>
<entry>
<title>Implement certificate verification, and many other SSL-related</title>
<updated>2013-07-26T15:53:43Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-07-26T15:53:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=dcd47379ffc1168608d206d873b9db9bd31e0b2f'/>
<id>urn:sha1:dcd47379ffc1168608d206d873b9db9bd31e0b2f</id>
<content type='text'>
imrovements; complete details in the PR.

PR:		kern/175514
Submitted by:	Michael Gmelin &lt;freebsd@grem.de&gt;
MFC after:	1 week
</content>
</entry>
</feed>
