History log of /freebsd-10-stable/lib/libfetch/common.c
Revision Date Author Comments
# 323660 17-Sep-2017 marius

MFC: r322669

In fetch_resolve() if the port number or service name is included
in the host argument (e. g. "www.freebsd.org:443"), correctly set
the service pointer accordingly. Previously, the service pointer
was set to the separator instead, causing getaddrinfo(3) to fail.


# 315904 24-Mar-2017 des

MFH (r313974,r314596): open .netrc early in case we want to drop privs
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


# 310060 14-Dec-2016 des

MFH (r308996, r309051, r309738): refactor, avoid repeating DNS requests


# 301153 01-Jun-2016 truckman

MFC r300665

Don't leak addrinfo in fetch_bind()

Submitted by: Coverity
CID: 1225038


# 295843 20-Feb-2016 des

MFH (r294326): fall back to standard / configured CA store

PR: 193871
Approved by: re (gjb)


# 294194 16-Jan-2016 des

MFH (r280630): remove all traces of SSLv2 support
MFH (r285141): remove unused variable
MFH (r288217): correctly check return value from getaddrinfo(3)
MFH (r289419): fix bugs in HTTPS tunnelling
MFH (r289420): use fopen()'s "e" mode instead of fcntl for close-on-exec
MFH (r291453, r291461): use .netrc for http servers and proxies
MFH (r292330, r292332): reset bufpos to 0 after refilling in chunked mode

PR: 194483 199801 193740 204771


# 277060 12-Jan-2015 des

MFH (r273114, r273124): disable SSLv3 by default.


# 268900 19-Jul-2014 bapt

MFC: r267131, r267132, r267133, r268493, r268671

Use NULL instead of 0 (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Remove unnecessary semicolons (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Add support for arbitrary http requests [1]
Support EAGAIN in fetch_writev

Submitted by: Alex Hornung <alex at alexhornung.com> [1]
Reviewed by: des


# 266632 24-May-2014 des

MFH (r266291): look for root certs in /usr/local first


# 262560 27-Feb-2014 des

MFH (r260904): fix format string
MFH (r261230, r261263): fix buffering issues
MFH (r261284): bump copyright


# 258756 29-Nov-2013 bdrewery

MFC r258347,r258349:

Support SNI in libfetch

SNI is Server Name Indentification which is a protocol for TLS that
indicates the host that is being connected to at the start of the
handshake. It allows to use Virtual Hosts on HTTPS.

PR: kern/183583
Approved by: bapt (implicit)
Approved by: re (gjb)


# 277060 12-Jan-2015 des

MFH (r273114, r273124): disable SSLv3 by default.


# 268900 19-Jul-2014 bapt

MFC: r267131, r267132, r267133, r268493, r268671

Use NULL instead of 0 (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Remove unnecessary semicolons (Patch by Sascha Wildner <saw at online.de> for Dragonfly)
Add support for arbitrary http requests [1]
Support EAGAIN in fetch_writev

Submitted by: Alex Hornung <alex at alexhornung.com> [1]
Reviewed by: des


# 266632 24-May-2014 des

MFH (r266291): look for root certs in /usr/local first


# 262560 27-Feb-2014 des

MFH (r260904): fix format string
MFH (r261230, r261263): fix buffering issues
MFH (r261284): bump copyright


# 258756 29-Nov-2013 bdrewery

MFC r258347,r258349:

Support SNI in libfetch

SNI is Server Name Indentification which is a protocol for TLS that
indicates the host that is being connected to at the start of the
handshake. It allows to use Virtual Hosts on HTTPS.

PR: kern/183583
Approved by: bapt (implicit)
Approved by: re (gjb)