<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/lib/libfetch/common.h, branch release/11.1.0</title>
<subtitle>FreeBSD source tree</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/'/>
<entry>
<title>MFH (r313974,r314596): open .netrc early in case we want to drop privs</title>
<updated>2017-03-24T14:19:52+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2017-03-24T14:19:52+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4614862b22ad5c216188daf8fb1b1b748d54a275'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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
</pre>
</div>
</content>
</entry>
<entry>
<title>MFH (r308996, r309051, r309738): refactor, avoid repeating DNS requests</title>
<updated>2016-12-14T14:20:32+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2016-12-14T14:20:32+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=a2880da9dd64ef0e484eb66c15720178d0439a54'/>
<id>a2880da9dd64ef0e484eb66c15720178d0439a54</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for arbitrary http requests</title>
<updated>2014-06-05T22:16:26+00:00</updated>
<author>
<name>Baptiste Daroussin</name>
<email>bapt@FreeBSD.org</email>
</author>
<published>2014-06-05T22:16:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=c41991303c3700f36ab27b62d563b5228c2442d6'/>
<id>c41991303c3700f36ab27b62d563b5228c2442d6</id>
<content type='text'>
Submitted by:	Alex Hornung &lt;alex@alexhornung.com&gt;
Reviewed by:	des
Obtained from:	Dragonfly
MFC after:	3 week
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Submitted by:	Alex Hornung &lt;alex@alexhornung.com&gt;
Reviewed by:	des
Obtained from:	Dragonfly
MFC after:	3 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Bump copyright dates</title>
<updated>2014-01-30T08:37:23+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-01-30T08:37:23+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=4524013cd3ca6337f1c7ed57594ebb70fa4ab399'/>
<id>4524013cd3ca6337f1c7ed57594ebb70fa4ab399</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Solve http buffering issues and hangs once and for all (hopefully!) by</title>
<updated>2014-01-28T12:48:17+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2014-01-28T12:48:17+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=215a27f1a4aaa9e409f9f362f1725aa40dea53af'/>
<id>215a27f1a4aaa9e409f9f362f1725aa40dea53af</id>
<content type='text'>
simply not trying to return exactly what the caller asked for - just
return whatever we got and let the caller be the judge of whether it
was enough.  If an error occurs or the connection times out after we
already received some data, return a short read, under the assumption
that the next call will fail or time out before we read anything.

As it turns out, none of the code that calls fetch_read() assumes an
all-or-nothing result anyway, except for a couple of lines where we
read the CR LF at the end of a hunk in HTTP hunked encoding, so the
changes outside of fetch_read() and http_readfn() are minimal.

While there, replace select(2) with poll(2).

MFC after:	3 days
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
simply not trying to return exactly what the caller asked for - just
return whatever we got and let the caller be the judge of whether it
was enough.  If an error occurs or the connection times out after we
already received some data, return a short read, under the assumption
that the next call will fail or time out before we read anything.

As it turns out, none of the code that calls fetch_read() assumes an
all-or-nothing result anyway, except for a couple of lines where we
read the CR LF at the end of a hunk in HTTP hunked encoding, so the
changes outside of fetch_read() and http_readfn() are minimal.

While there, replace select(2) with poll(2).

MFC after:	3 days
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement certificate verification, and many other SSL-related</title>
<updated>2013-07-26T15:53:43+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2013-07-26T15:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=dcd47379ffc1168608d206d873b9db9bd31e0b2f'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
imrovements; complete details in the PR.

PR:		kern/175514
Submitted by:	Michael Gmelin &lt;freebsd@grem.de&gt;
MFC after:	1 week
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge OpenSSL 1.0.1c.</title>
<updated>2012-07-12T19:30:53+00:00</updated>
<author>
<name>Jung-uk Kim</name>
<email>jkim@FreeBSD.org</email>
</author>
<published>2012-07-12T19:30:53+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=1f13597d10e771d5546d31839150812bde8e4a56'/>
<id>1f13597d10e771d5546d31839150812bde8e4a56</id>
<content type='text'>
Approved by:	benl (maintainer)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Approved by:	benl (maintainer)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix two issues related to the use of SIGINFO in fetch(1) to display</title>
<updated>2012-01-18T15:13:21+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2012-01-18T15:13:21+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=2a7daafe67dbd6a91ab557b56b2ca12ca87a6022'/>
<id>2a7daafe67dbd6a91ab557b56b2ca12ca87a6022</id>
<content type='text'>
progress information.  The first is that fetch_read() (used in the HTTP
code but not the FTP code) can enter an infinite loop if it has previously
been interrupted by a signal.  The second is that when it is interrupted,
fetch_read() will discard any data it may have read up to that point.
Luckily, both bugs are extremely timing-sensitive and therefore difficult
to trigger.

PR:		bin/153240
Submitted by:	Mark &lt;markjdb@gmail.com&gt;
MFC after:	3 weeks
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
progress information.  The first is that fetch_read() (used in the HTTP
code but not the FTP code) can enter an infinite loop if it has previously
been interrupted by a signal.  The second is that when it is interrupted,
fetch_read() will discard any data it may have read up to that point.
Luckily, both bugs are extremely timing-sensitive and therefore difficult
to trigger.

PR:		bin/153240
Submitted by:	Mark &lt;markjdb@gmail.com&gt;
MFC after:	3 weeks
</pre>
</div>
</content>
</entry>
<entry>
<title>latin1 -&gt; utf8</title>
<updated>2011-10-19T11:43:51+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-10-19T11:43:51+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=578153f1baebab6c3b2e4ff3ee0cb55d275996b7'/>
<id>578153f1baebab6c3b2e4ff3ee0cb55d275996b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright dates and strip my middle name.</title>
<updated>2011-09-27T18:57:26+00:00</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2011-09-27T18:57:26+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.freebsd.org/src/commit/?id=6337341d81b73968f691c7a62d4d3209d16b7fa5'/>
<id>6337341d81b73968f691c7a62d4d3209d16b7fa5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
