Home | History | Annotate | Download | only in libfetch
History log of /src/external/bsd/fetch/dist/libfetch/common.h
RevisionDateAuthorComments
 1.5  16-Apr-2026  wiz libfetch: reduce diffs to pkgsrc

portability (xenix, __apple__)
 1.4  11-Apr-2026  wiz libfetch: convert (name in comment) to UTF-8
 1.3  02-Feb-2024  christos Sync with pkgsrc and try to fix more memory corruption from PR/57179.
 1.2  07-Jan-2014  joerg branches: 1.2.36;
Annotate format strings. Add a bunch of int casts for size limits.
 1.1  30-Sep-2008  joerg branches: 1.1.1;
Initial revision
 1.1.1.7  24-Mar-2010  joerg branches: 1.1.1.7.6; 1.1.1.7.12;
libfetch-2.31:

PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.

Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
 1.1.1.6  30-Jan-2010  joerg libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
 1.1.1.5  21-Aug-2009  joerg Import libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it
 1.1.1.4  04-Apr-2009  joerg branches: 1.1.1.4.2; 1.1.1.4.4;
Reimport libfetch-2.23 from pkgsrc, at least one change was lost.
 1.1.1.3  10-Mar-2009  joerg Import libfetch-2.23:
Don't leak file descriptors when iterating local directories or checking
for if-modified-since on local files.
 1.1.1.2  07-Oct-2008  joerg branches: 1.1.1.2.2; 1.1.1.2.4; 1.1.1.2.6; 1.1.1.2.8;
Update to libfetch-2.17. Fix a bug in the line buffering code to not
drop output if the server actually send more than one line.
 1.1.1.1  30-Sep-2008  joerg Import libfetch from pkgsrc, which remains authoritive.

libfetch is a high-level interface for retreiving and uploading files
using URLs. Currently implemented are local file access, FTP, HTTP and
basic HTTPS support, upload only for local files and FTP.
 1.1.1.7.12.1  19-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.1.7.6.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.1.1.4.4.4  13-Jun-2010  riz Pull up following revision(s) (requested by joerg in ticket #1390):

external/bsd/fetch/dist/libfetch/common.c: patch
external/bsd/fetch/dist/libfetch/common.h: patch
external/bsd/fetch/dist/libfetch/fetch.cat3: removed
external/bsd/fetch/dist/libfetch/ftp.c: patch

libfetch-2.31:

PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.

Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
 1.1.1.4.4.3  12-Jun-2010  riz Pull up following revision(s) (requested by joerg in ticket #1384):
external/bsd/fetch/dist/libfetch/common.c 1.1.1.6-8
external/bsd/fetch/dist/libfetch/common.h 1.1.1.5-6
external/bsd/fetch/dist/libfetch/fetch.3 1.1.1.7-8
external/bsd/fetch/dist/libfetch/fetch.c 1.1.1.8
external/bsd/fetch/dist/libfetch/fetch.cat3 1.1.1.4-5
external/bsd/fetch/dist/libfetch/fetch.h 1.1.1.5-7
external/bsd/fetch/dist/libfetch/file.c 1.1.1.5-6
external/bsd/fetch/dist/libfetch/ftp.c 1.1.1.7-10
external/bsd/fetch/dist/libfetch/http.c 1.1.1.5-7

Import libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it

libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.

libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
 1.1.1.4.4.2  05-Jun-2009  snj Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090929 from HEAD.
 1.1.1.4.4.1  04-Apr-2009  snj file common.h was added on branch netbsd-4 on 2009-06-05 17:19:28 +0000
 1.1.1.4.2.2  05-Jun-2009  snj Apply patch (requested by joerg in ticket #1322):
Pull up pkg_install-20090528, libarchive-2.5.5 and libfetch-2.23
with the associated build infrastructure as of 20090529 from HEAD.
 1.1.1.4.2.1  04-Apr-2009  snj file common.h was added on branch netbsd-4-0 on 2009-06-05 17:01:45 +0000
 1.1.1.2.8.2  15-Feb-2010  snj Apply patch (requested by joerg in ticket #1294):
Update libfetch to 2.30.
Changes:
libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it

libfetch-2.26:
- Add support to aggressively cache directory listenings; useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.

libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
 1.1.1.2.8.1  30-May-2009  snj branches: 1.1.1.2.8.1.2;
Pull up following revision(s) (requested by joerg in ticket #670):
external/bsd/fetch/dist/libfetch/common.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/common.h: libfetch-2-23
external/bsd/fetch/dist/libfetch/errlist.sh: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.3: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.cat3: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.h: libfetch-2-23
external/bsd/fetch/dist/libfetch/file.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/ftp.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/ftp.errors: libfetch-2-23
external/bsd/fetch/dist/libfetch/http.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/http.errors: libfetch-2-23
Pull up libfetch-2.23:
- if-not-modified support
- document that struct URL is not part of the ABI
- fetchRestartCalls cleanup for signal handlers
- allow HTTP basic auth to be specified in the URL, allow : as part of
the cleartext password
- fix a file descriptor leak in the file:// iteration code
 1.1.1.2.8.1.2.1  21-Apr-2010  matt sync to netbsd-5
 1.1.1.2.6.1  13-May-2009  jym Sync with HEAD.

Second commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.1.1.2.4.3  20-Nov-2010  riz Pull up following revision(s) (requested by joerg in ticket #1351):
external/bsd/fetch/dist/libfetch/common.c: patch
external/bsd/fetch/dist/libfetch/common.h: patch
external/bsd/fetch/dist/libfetch/ftp.c: patch
update to libfetch-2.31:

PR 43013 by Brook Milligan: fetch(3) violates RFC 1738 for ftp:// URLs
if the home directory is not the root directory.

Remember the current directory the first time a CWD / CDUP has to be
issued. Use the document as full URL if the URL started with two /
(quoted or not), otherwise append it to the initial directory.
 1.1.1.2.4.2  03-Feb-2010  snj Apply patch (requested by joerg in ticket #1294):
Update libfetch to 2.30.
Changes:
libfetch-2.25:
- address a number of lint warnings
- fix strict-alignment issues for GCC 4.4
- fix a bug in the line reading optimisation
- do not reuse a FTP connection if there is an active transfer on it

libfetch-2.26:
- Add support to aggressively cache directory listenings, useful for
HTTP
- Avoid leaking memory in error cases. From Xavier from Arch Linux.

libfetch-2.30:
- Revamped connection cache, allowing more than one active session
- HTTP keep-alive support
 1.1.1.2.4.1  30-May-2009  snj Pull up following revision(s) (requested by joerg in ticket #670):
external/bsd/fetch/dist/libfetch/common.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/common.h: libfetch-2-23
external/bsd/fetch/dist/libfetch/errlist.sh: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.3: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.cat3: libfetch-2-23
external/bsd/fetch/dist/libfetch/fetch.h: libfetch-2-23
external/bsd/fetch/dist/libfetch/file.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/ftp.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/ftp.errors: libfetch-2-23
external/bsd/fetch/dist/libfetch/http.c: libfetch-2-23
external/bsd/fetch/dist/libfetch/http.errors: libfetch-2-23
Pull up libfetch-2.23:
- if-not-modified support
- document that struct URL is not part of the ABI
- fetchRestartCalls cleanup for signal handlers
- allow HTTP basic auth to be specified in the URL, allow : as part of
the cleartext password
- fix a file descriptor leak in the file:// iteration code
 1.1.1.2.2.2  19-Oct-2008  haad Sync with HEAD.
 1.1.1.2.2.1  07-Oct-2008  haad file common.h was added on branch haad-dm on 2008-10-19 22:39:50 +0000
 1.2.36.1  15-Oct-2024  martin Pull up the following revisions, requested by wiz in ticket #980:

external/bsd/fetch/dist/libfetch/common.c up to 1.7
external/bsd/fetch/dist/libfetch/common.h up to 1.3
external/bsd/fetch/dist/libfetch/fetch.3 up to 1.5
external/bsd/fetch/dist/libfetch/ftp.c up to 1.8
external/bsd/fetch/dist/libfetch/http.c up to 1.6

libfetch: fix pkg_install core dumps reported in PR 57179

RSS XML Feed