<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/usr.bin/fetch/fetch.c, branch releng/12.4</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F12.4'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2022-06-06T18:00:27Z</updated>
<entry>
<title>MFC: fetch: make -S argument accept values &gt; 2GB</title>
<updated>2022-06-06T18:00:27Z</updated>
<author>
<name>Stefan Eßer</name>
<email>se@FreeBSD.org</email>
</author>
<published>2022-02-20T14:24:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=02acb1db346eccba328c35c2f5db8bd581f74839'/>
<id>urn:sha1:02acb1db346eccba328c35c2f5db8bd581f74839</id>
<content type='text'>
Use strtoll() to parse the argument of the -S option.

FreeBSD has supported 64 bit file offsets for more than 25 years on
all architectures and off_t is a 64 bit integer type for that reason.

While strtol() returns a 64 bit value on 64 LP64 architectures, it
is limit to 32 bit on e.g. i386. The strtoll() function returns a 64
but result on all supported architectures and therefore supports the
possible file lengths and file offsets on 32 bit archtectures.

Reported by:	antoine

(cherry picked from commit 32066c96fa00fc19c8355e1956ca5aa9ead37673)
</content>
</entry>
<entry>
<title>fetch(1): merge several improvements for handling of soft failures</title>
<updated>2022-02-26T07:36:00Z</updated>
<author>
<name>Eugene Grosbein</name>
<email>eugen@FreeBSD.org</email>
</author>
<published>2022-01-24T04:03:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=259bedb8f6dce40fcabf228d2019337f70a60867'/>
<id>urn:sha1:259bedb8f6dce40fcabf228d2019337f70a60867</id>
<content type='text'>
Let "fetch -a" resume truncated transfer automatically to perform
another attempt if it obtained some new data in previous one
making progress.

Do not consider HTTP 5XX errors as soft failures.
Also, authorization errors should not be considered as soft failures.

(cherry picked from commit e3bad5f7aa86a0911cf8d28395e7a29395739985)
(cherry picked from commit a4efbe0d6da28eea0de4d414af25e7853ab8adfa)
(cherry picked from commit bf599c03f09dea0f7e188e002b42d782af6841c3)
(cherry picked from commit 08a2504a207c9302939bc0d1173fe44875e2a2e4)
(cherry picked from commit 85f15576b423b9ad5b8a9e6dab3e71558ebe4335)
</content>
</entry>
<entry>
<title>Through a combination of insufficient variable initialization and</title>
<updated>2018-09-10T19:39:20Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-09-10T19:39:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6434dda6e396b0b7e96eb480c9dbd57c10065686'/>
<id>urn:sha1:6434dda6e396b0b7e96eb480c9dbd57c10065686</id>
<content type='text'>
imprudent reuse of static buffers, the end-of-transfer statistics
displayed when stdout is not a tty always ended up as 0 B / 0 Bps.
Reorganize the code to use caller-provided buffers, tweak the ETA
display a bit, and reduce the visual differences between the tty and
non-tty end-of-transfer displays.

PR:		202424
Approved by:	re (gjb@)
</content>
</entry>
<entry>
<title>Support If-Modified-Since for https as well as http.</title>
<updated>2018-05-12T17:04:40Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2018-05-12T17:04:40Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=deb1ff232df5fc7bfc456c708a23e7c3e9b5aba5'/>
<id>urn:sha1:deb1ff232df5fc7bfc456c708a23e7c3e9b5aba5</id>
<content type='text'>
PR:		224426
Submitted by:	zsnafzig@edu.uwaterloo.ca
MFC after:	1 week
</content>
</entry>
<entry>
<title>various: general adoption of SPDX licensing ID tags.</title>
<updated>2017-11-27T15:37:16Z</updated>
<author>
<name>Pedro F. Giffuni</name>
<email>pfg@FreeBSD.org</email>
</author>
<published>2017-11-27T15:37:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=1de7b4b805ddbf2429da511c053686ac4591ed89'/>
<id>urn:sha1:1de7b4b805ddbf2429da511c053686ac4591ed89</id>
<content type='text'>
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified 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.

No functional change intended.
</content>
</entry>
<entry>
<title>Remove defunct SSLv2 support from fetch(1) and fetch(3).</title>
<updated>2015-03-25T18:56:36Z</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2015-03-25T18:56:36Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=01ed3ca3dedacaf3449a953e213dd462995c04fd'/>
<id>urn:sha1:01ed3ca3dedacaf3449a953e213dd462995c04fd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Increase the default (and minimum) buffer size from 4 kB to 16 kB.  Also,</title>
<updated>2014-01-28T14:32:04Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-01-28T14:32:04Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c2ea176dac56517cb41d102fc89e7a7a337c372d'/>
<id>urn:sha1:c2ea176dac56517cb41d102fc89e7a7a337c372d</id>
<content type='text'>
propagate the buffer size to libc, which uses a 1 kB buffer by default,
negating any hypothetical benefit of increasing fetch(1)'s buffer size.

MFC after:	3 days
</content>
</entry>
<entry>
<title>whitespace and bump copyright</title>
<updated>2014-01-28T14:29:24Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-01-28T14:29:24Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=2043423cd1c2ca8697d549ac7b8b948f1d0e9597'/>
<id>urn:sha1:2043423cd1c2ca8697d549ac7b8b948f1d0e9597</id>
<content type='text'>
</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>Correct check to see if file changes.</title>
<updated>2013-06-02T18:10:07Z</updated>
<author>
<name>Eitan Adler</name>
<email>eadler@FreeBSD.org</email>
</author>
<published>2013-06-02T18:10:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=a96469b791436bd829caebea1f93b1ef7ceb8ba5'/>
<id>urn:sha1:a96469b791436bd829caebea1f93b1ef7ceb8ba5</id>
<content type='text'>
Reported by:	swildner@DragonFlyBSD.org
Reviewed by:	des
</content>
</entry>
</feed>
