<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/http.c, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<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/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>
<entry>
<title>Use the correct request syntax for proxied (tunneled) HTTPS requests.</title>
<updated>2013-07-21T06:59:56Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-07-21T06:59:56Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ba7c6aec975df3ad193d66f97a5c5f2a9171e064'/>
<id>urn:sha1:ba7c6aec975df3ad193d66f97a5c5f2a9171e064</id>
<content type='text'>
PR:		bin/180666
MFC after:	3 days
</content>
</entry>
<entry>
<title>Use the CONNECT method to proxy HTTPS connections through HTTP proxies.</title>
<updated>2013-04-12T22:05:15Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-04-12T22:05:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=4056bae9825e9a24a8e6487c26c0a3f03b053c91'/>
<id>urn:sha1:4056bae9825e9a24a8e6487c26c0a3f03b053c91</id>
<content type='text'>
PR:		bin/80176
Submitted by:	Yuichiro NAITO &lt;naito.yuichiro@gmail.com&gt;
</content>
</entry>
</feed>
