<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/http.c, branch release/13.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=release%2F13.1.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2021-09-22T09:57:35Z</updated>
<entry>
<title>libfetch: use more portable getline() interface</title>
<updated>2021-09-22T09:57:35Z</updated>
<author>
<name>Daniel Kolesa</name>
<email>daniel@octaforge.org</email>
</author>
<published>2021-08-17T14:01:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=037c2f4fe3d0198d5794ed10f6f4086355b8f20c'/>
<id>urn:sha1:037c2f4fe3d0198d5794ed10f6f4086355b8f20c</id>
<content type='text'>
this is for better portability in order to avoid using a function
which is BSD-only or available via libbsd

(cherry picked from commit ee3ca711a898cf41330c320826ea1e0e6e451f1d)
(cherry picked from commit 635eb7ac7990a2bb29e1992b739617a9db012bf2)
</content>
</entry>
<entry>
<title>libfetch: Retry with proxy auth when server returns 407</title>
<updated>2021-04-28T19:21:26Z</updated>
<author>
<name>Renato Botelho</name>
<email>garga@FreeBSD.org</email>
</author>
<published>2021-04-01T21:02:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d7682961d386ebc7d5ec9cb38e609d3ec9bb978a'/>
<id>urn:sha1:d7682961d386ebc7d5ec9cb38e609d3ec9bb978a</id>
<content type='text'>
PR:		220468
Submitted by:	Egil Hasting &lt;egil.hasting@higen.org&gt; (based on)
Reviewed by:	kevans, kp
Approved by:	kp
MFC after:	2 weeks
Sponsored by:	Rubicon Communications, LLC ("Netgate")
Differential Revision:	https://reviews.freebsd.org/D29533

(cherry picked from commit 345c30a94f6425954163f1e0b075a75f603d27cd)
</content>
</entry>
<entry>
<title>Document fetchReqHTTP().</title>
<updated>2019-08-28T17:01:28Z</updated>
<author>
<name>Mark Johnston</name>
<email>markj@FreeBSD.org</email>
</author>
<published>2019-08-28T17:01:28Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f4e05cc55da19b0777b9d8044ad9e2d352b569e6'/>
<id>urn:sha1:f4e05cc55da19b0777b9d8044ad9e2d352b569e6</id>
<content type='text'>
Submitted by:	Farhan Khan &lt;khanzf@gmail.com&gt;
Reviewed by:	0mp
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D18788
</content>
</entry>
<entry>
<title>When deciding whether to send the complete URL or just the document part,</title>
<updated>2018-11-27T16:23:17Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-11-27T16:23:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a768df3e915fff2d9ef53517c6ba7fee23e98355'/>
<id>urn:sha1:a768df3e915fff2d9ef53517c6ba7fee23e98355</id>
<content type='text'>
we were looking at the original URL rather than the one we were currently
processing.  This meant that if we were trying to retrieve an HTTP URL but
were redirected to an HTTPS URL, and HTTPS proxying was enabled, we would
send an invalid request and most likely get garbage back.

MFC after:	3 days
</content>
</entry>
<entry>
<title>A few more cases where strcasecmp() is no longer required.</title>
<updated>2018-11-27T11:22:19Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-11-27T11:22:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=ceedec4bce2161062ffcacf7f07e364c8cfe09bc'/>
<id>urn:sha1:ceedec4bce2161062ffcacf7f07e364c8cfe09bc</id>
<content type='text'>
MFC after:	1 week
</content>
</entry>
<entry>
<title>Fix a few (but far from all) style issues.</title>
<updated>2018-05-29T10:29:43Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-05-29T10:29:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=f2eac2024690289a5de4c0616fc423964d26092d'/>
<id>urn:sha1:f2eac2024690289a5de4c0616fc423964d26092d</id>
<content type='text'>
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Use __VA_ARGS__ to simplify the DEBUG macro.</title>
<updated>2018-05-29T10:28:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-05-29T10:28:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c5712d6da1ce9006a3147ab7c8be3b326d3dbc71'/>
<id>urn:sha1:c5712d6da1ce9006a3147ab7c8be3b326d3dbc71</id>
<content type='text'>
MFC after:	3 weeks
</content>
</entry>
<entry>
<title>Preserve if-modified-since timestamps across redirects.</title>
<updated>2018-05-12T17:02:27Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-05-12T17:02:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b847b083a865fc2ace237bb9d7aec1f6a7b916b1'/>
<id>urn:sha1:b847b083a865fc2ace237bb9d7aec1f6a7b916b1</id>
<content type='text'>
PR:		224426
MFC after:	1 week
</content>
</entry>
<entry>
<title>lib: further adoption of SPDX licensing ID tags.</title>
<updated>2017-11-26T02:00:33Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-26T02:00:33Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5e53a4f90f82c4345f277dd87cc9292f26e04a29'/>
<id>urn:sha1:5e53a4f90f82c4345f277dd87cc9292f26e04a29</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
</content>
</entry>
<entry>
<title>r308996 broke IP literals by assuming that a colon could only occur as</title>
<updated>2017-03-17T14:18:52Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2017-03-17T14:18:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=08a49957b3f06926744987207d542efa2631394d'/>
<id>urn:sha1:08a49957b3f06926744987207d542efa2631394d</id>
<content type='text'>
a separator between host and port, and using strchr() to search for it.
Rewrite fetch_resolve() so it handles bracketed literals correctly, and
remove similar code elsewhere to avoid passing unbracketed literals to
fetch_resolve().  Remove #ifdef INET6 so we still parse IP literals
correctly even if we do not have the ability to connect to them.

While there, fix an off-by-one error which caused HTTP 400 errors to be
misinterpreted as redirects.

PR:		217723
MFC after:	1 week
Reported by:	bapt, bz, cem, ngie
</content>
</entry>
</feed>
