History log of /freebsd-14.2/lib/libfetch/fetch.h (Results 1 – 25 of 33)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0, release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <[email protected]>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0
# 5e53a4f9 26-Nov-2017 Pedro F. Giffuni <[email protected]>

lib: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
pr

lib: further adoption of SPDX licensing ID tags.

Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified 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.

show more ...


Revision tags: release/10.4.0, release/11.1.0
# d8713bf3 20-Feb-2017 Baptiste Daroussin <[email protected]>

Add a file descriptor in struct url for netrc

When using libfetch in an application that drops privileges when fetching
like pkg(8) then user complain because the application does not read anymore
$

Add a file descriptor in struct url for netrc

When using libfetch in an application that drops privileges when fetching
like pkg(8) then user complain because the application does not read anymore
${HOME}/.netrc. Now a caller can prepare a fd to the said file and manually
assign it to the structure.

It is also a first step to allow to capsicumize libfetch applications

Reviewed by: allanjude, des
Approved by: des
Differential Revision: https://reviews.freebsd.org/D9678

show more ...


Revision tags: release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0
# c4199130 05-Jun-2014 Baptiste Daroussin <[email protected]>

Add support for arbitrary http requests

Submitted by: Alex Hornung <[email protected]>
Reviewed by: des
Obtained from: Dragonfly
MFC after: 3 week


Revision tags: release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0
# 578153f1 19-Oct-2011 Dag-Erling Smørgrav <[email protected]>

latin1 -> utf8


# 6337341d 27-Sep-2011 Dag-Erling Smørgrav <[email protected]>

Update copyright dates and strip my middle name.


Revision tags: release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0
# 7f92799f 15-Dec-2008 Murray Stokely <[email protected]>

Add support for HTTP 1.1 If-Modified-Since behavior.

fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<fil

Add support for HTTP 1.1 If-Modified-Since behavior.

fetch(1) accepts a new argument -i <file> that if specified will cause
the file to be downloaded only if it is more recent than the mtime of
<file>.

libfetch(3) accepts the mtime in the url structure and a flag to
indicate when this behavior is desired.

PR: bin/87841
Submitted by: Jukka A. Ukkonen <[email protected]> (partially)
Reviewed by: des, ru
MFC after: 3 weeks

show more ...


Revision tags: release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0, release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0
# 2cbbf9da 21-Sep-2004 Dag-Erling Smørgrav <[email protected]>

Update copyright years.


Revision tags: release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0, release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2
# 190c185e 22-Jul-2002 Dag-Erling Smørgrav <[email protected]>

Surround prototypes with __BEGIN_DECLS / __END_DECLS.

PR: misc/40399
MFC after: 3 days


Revision tags: release/4.6.1, release/4.6.0_cvs
# e19e6098 05-Feb-2002 Dag-Erling Smørgrav <[email protected]>

Reindent, and add parentheses to return statements. Some functions in
ftp.c and http.c now have exceedingly long lines due to deep nesting;
this will be corrected by reorganizing the code in a later

Reindent, and add parentheses to return statements. Some functions in
ftp.c and http.c now have exceedingly long lines due to deep nesting;
this will be corrected by reorganizing the code in a later revision.

show more ...


Revision tags: release/4.5.0_cvs, release/4.4.0_cvs
# 7eb2f34d 09-Dec-2001 Dag-Erling Smørgrav <[email protected]>

Introduce a fetchDebug global. Change the DEBUG macro so it only runs the
debugging code if fetchDebug is set.

PR: bin/32615
MFC after: 1 week


# 6490b215 26-May-2001 Dag-Erling Smørgrav <[email protected]>

Add rudimentary support for an authentication callback function.


# 38c7e4a6 24-Apr-2001 Archie Cobbs <[email protected]>

Apply 'const' liberally.

Fix some other minor glitches.


Revision tags: release/4.3.0_cvs, release/4.3.0
# 025bb05a 01-Dec-2000 Dag-Erling Smørgrav <[email protected]>

Add SCHEME_HTTPS.


Revision tags: release/4.2.0
# be9e1d8a 12-Oct-2000 Dag-Erling Smørgrav <[email protected]>

Add macros for the names of the URL schemes we support.


Revision tags: release/4.1.1_cvs, release/4.1.0
# 1a5faa10 17-Jul-2000 Dag-Erling Smørgrav <[email protected]>

Introduce fetchXGet*(), which combine the functionalities of fetchGet*() and
fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper
around the other; in all cases, calling fetc

Introduce fetchXGet*(), which combine the functionalities of fetchGet*() and
fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper
around the other; in all cases, calling fetchGet*() is identical to calling
fetchXGet*() with the second argument set to NULL.

show more ...


# d999dcac 17-Jul-2000 Dag-Erling Smørgrav <[email protected]>

Don't forget to declare fetchRestartCalls.


# 7c80207e 17-Jul-2000 Dag-Erling Smørgrav <[email protected]>

Remove fetchContentType(), which disappeared in the HTTP rewrite.


Revision tags: release/3.5.0_cvs
# 9a964d6a 25-May-2000 Dag-Erling Smørgrav <[email protected]>

Add (and document) fetchMakeURL()


# ba101983 25-May-2000 Dag-Erling Smørgrav <[email protected]>

Dump com_err, it's a stinking crock of shit.


# 60245e42 11-May-2000 Dag-Erling Smørgrav <[email protected]>

Reorganize some of the http code and split it into more functions.
Implement fetchStatHTTP().
Unbungle struct url, and add fetchFreeURL().
Document it.


# 068cd285 07-May-2000 Dag-Erling Smørgrav <[email protected]>

While we're at it, add a length field too in case we want to fully implement
partial fetches later.


# fd75cc90 07-May-2000 Dag-Erling Smørgrav <[email protected]>

Add offset field to struct url


Revision tags: release/4.0.0_cvs
# fc6e9e65 07-Jan-2000 Dag-Erling Smørgrav <[email protected]>

More old uncommitted patches: implement timeouts at the protocol level.
Currently only supported for ftp connections.


Revision tags: release/3.4.0_cvs, release/3.3.0_cvs
# 7f3dea24 28-Aug-1999 Peter Wemm <[email protected]>

$Id$ -> $FreeBSD$


12