<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/lib/libfetch/http.c, branch release/11.4.0</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=release%2F11.4.0'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2018-10-09T10:49:19Z</updated>
<entry>
<title>MFH (r314778): use reallocarray(3) for extra bounds checks</title>
<updated>2018-10-09T10:49:19Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-10-09T10:49:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a30a102ea286c7b4b8482d6cdcbd7f46f870c743'/>
<id>urn:sha1:a30a102ea286c7b4b8482d6cdcbd7f46f870c743</id>
<content type='text'>
MFH (r333306): fix typo in man page
MFH (r333571, r333572): preserve if-modified-since across redirects
MFH (r334317): simplify the DEBUG macro
MFH (r334319): style bug roundup
MFH (r334326): fix netrc file location logic, improve netrcfd handling
MFH (r338572): fix end-of-transfer statistics, improve no-tty display

PR:		202424, 224426, 228017
</content>
</entry>
<entry>
<title>Revert r330897:</title>
<updated>2018-03-29T02:50:57Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-29T02:50:57Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4ab2e064d7950be84256d671a7ae93f87cc6aa36'/>
<id>urn:sha1:4ab2e064d7950be84256d671a7ae93f87cc6aa36</id>
<content type='text'>
This was intended to be a non-functional change. It wasn't. The commit
message was thus wrong. In addition it broke arm, and merged crypto
related code.

Revert with prejudice.

This revert skips files touched in r316370 since that commit was since
MFCed. This revert also skips files that require $FreeBSD$ property
changes.

Thank you to those who helped me get out of this mess including but not
limited to gonzo, kevans, rgrimes.

Requested by: gjb (re)
</content>
</entry>
<entry>
<title>Partial merge of the SPDX changes</title>
<updated>2018-03-14T03:19:51Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2018-03-14T03:19:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=be5d0b9566b13fdf8cabebb63334cbec12bfc409'/>
<id>urn:sha1:be5d0b9566b13fdf8cabebb63334cbec12bfc409</id>
<content type='text'>
These changes are incomplete but are making it difficult
to determine what other changes can/should be merged.

No objections from:	pfg
</content>
</entry>
<entry>
<title>MFH (r313974,r314596): open .netrc early in case we want to drop privs</title>
<updated>2017-03-24T14:19:52Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2017-03-24T14:19:52Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=4614862b22ad5c216188daf8fb1b1b748d54a275'/>
<id>urn:sha1:4614862b22ad5c216188daf8fb1b1b748d54a275</id>
<content type='text'>
MFH (r314396,r315143): fix a crash caused by an incorrect format string
MFH (r314701): fix handling of 416 errors when requesting a range
MFH (r315455): fix parsing of IP literals (square brackets)

PR:		212065, 217723
</content>
</entry>
<entry>
<title>MFH (r310823): fix multi-line CONNECT responses</title>
<updated>2017-01-09T14:13:47Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2017-01-09T14:13:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=828a4289013bbdbfe8048697bbbd81e78537701b'/>
<id>urn:sha1:828a4289013bbdbfe8048697bbbd81e78537701b</id>
<content type='text'>
PR:		194483
</content>
</entry>
<entry>
<title>r169386 (PR 112515) was incomplete: it treated 307 as an error except</title>
<updated>2016-05-31T08:27:39Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2016-05-31T08:27:39Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a5fc9a29bb6a5df7a9444a9d93408a6303195aee'/>
<id>urn:sha1:a5fc9a29bb6a5df7a9444a9d93408a6303195aee</id>
<content type='text'>
in verbose mode, and did not handle 308 at all.

r241840 (PR 172451) added support for 308, but with the same bug.

Correctly handle both by recognizing them as redirects in all places
where we check the HTTP result code.

PR:		112515 173451 209546
Submitted by:	novel@
MFC after:	1 week
</content>
</entry>
<entry>
<title>Use strlcpy() instead of strncpy() to copy the string returned by</title>
<updated>2016-05-12T06:39:13Z</updated>
<author>
<name>Don Lewis</name>
<email>truckman@FreeBSD.org</email>
</author>
<published>2016-05-12T06:39:13Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=77b822dbc0f0223e5383b4377e1fa97657997d0d'/>
<id>urn:sha1:77b822dbc0f0223e5383b4377e1fa97657997d0d</id>
<content type='text'>
setlocale() so that static analyzers know that the string is NUL
terminated.  This was causing a false positive in Coverity even
though the longest string returned by setlocale() is ENCODING_LEN
(31) and we are copying into a 64 byte buffer.  This change is also
a bit of an optimization since we don't need the strncpy() feature
of padding the rest of the destination buffer with NUL characters.

Reported by:	Coverity
CID:		974654
</content>
</entry>
<entry>
<title>Fix double-free error: r289419 moved all error handling in http_connect()</title>
<updated>2016-02-11T17:48:15Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2016-02-11T17:48:15Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a982c4c7f5f7635683cb70577478397c38bef54b'/>
<id>urn:sha1:a982c4c7f5f7635683cb70577478397c38bef54b</id>
<content type='text'>
to the end of the function, but did not remove a fetch_close() call which
was made redundant by the one in the shared error-handling code.

PR:		206774
Submitted by:	Christian Heckendorf &lt;heckendorfc@gmail.com&gt;
MFC after:	3 days
</content>
</entry>
<entry>
<title>As a followup to r292330, standardize on size_t and add a few comments.</title>
<updated>2015-12-16T09:20:45Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2015-12-16T09:20:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=adc1aa7a29f88a8d58a0839248d48c69fb9b12c8'/>
<id>urn:sha1:adc1aa7a29f88a8d58a0839248d48c69fb9b12c8</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Reset bufpos to 0 immediately after refilling the buffer.  Otherwise, we</title>
<updated>2015-12-16T09:17:07Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2015-12-16T09:17:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a568844c6783d304c8e46b6ed545f4505264b9e5'/>
<id>urn:sha1:a568844c6783d304c8e46b6ed545f4505264b9e5</id>
<content type='text'>
risk leaving the connection in an indeterminate state if the server fails
to send a chunk delimiter.  Depending on the application and on the sizes
of the preceding chunks, the result can be anything from missing data to a
segfault.  With this patch, it will be reported as a protocol error.

PR:		204771
MFC after:	1 week
</content>
</entry>
</feed>
