History log of /freebsd/lib/libfetch/http.c (Results 151 – 175 of 278)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# cecb889f 30-Sep-2001 Matthew Dillon <dillon@FreeBSD.org>

Add __FBSDID()s to libfetch


# 6a0cf64b 27-May-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Implement a HTTP_USER_AGENT environment variable.

PR: 27669
Submitted by: Eoin Lawless <eoin@maths.tcd.ie>


# 6490b215 26-May-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Add rudimentary support for an authentication callback function.


# 38c7e4a6 24-Apr-2001 Archie Cobbs <archie@FreeBSD.org>

Apply 'const' liberally.

Fix some other minor glitches.


Revision tags: release/4.3.0_cvs, release/4.3.0
# 4cee73c8 07-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Support lower-case versions of the proxy environment variables.

PR: bin/25494


Revision tags: release/4.2.0
# e828ada7 10-Nov-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use the documented (and historical) defaults. Centralize the decision logic
in order to avoid this bug in the future.

Submitted by: se


# d74a913b 29-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Use CHECK_FLAG


# 1a16ed4c 13-Oct-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Rework proxy handling so that proxies can be specified as URLs.
As a side effect, remove a lot of duplicate and now redundant code.


Revision tags: release/4.1.1_cvs
# a898bb8d 24-Sep-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Work around buggy servers such as NCSA httpd which send an incomplete
HTTP-Version on the Status-Line (see RFC2616 sections 3.1 and 6.1).


# be6aff99 02-Aug-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix signedness bogon.


Revision tags: release/4.1.0
# 10851dc4 25-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Centralize the default port finding code.
Work around YA Apache bug: don't send port in Host: header if it's the
default port.


# c78f1cc9 21-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Ignore environment variables that are set but empty.

Sort out the size / length confusion. Always try to report the *real* file
size in the url_stat structure, no matter how much of it is actually

Ignore environment variables that are set but empty.

Sort out the size / length confusion. Always try to report the *real* file
size in the url_stat structure, no matter how much of it is actually being
sent, and try to detect inconsistencies between sizes.

Rearrange the request loop to avoid having to add meaningless code just to
silence compiler warnings.

Switch to a more sensible and consistent interface for the _http_parse*()
functions.

show more ...


# 87b41116 20-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't try to skip to the requested offset if the server returns more data
than requested. Instead, inform the caller of the real offset by modifying
the offset field in the original struct url, and

Don't try to skip to the requested offset if the server returns more data
than requested. Instead, inform the caller of the real offset by modifying
the offset field in the original struct url, and let him decide how to handle
the situation.

show more ...


# 1a5faa10 17-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

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 ...


# c7897277 17-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't forget to set file descriptor to -1 after closing it, since the code
outside the loop inspects it to determine whether or not we succeeded in
retrieving the requested document. This fixes a bug

Don't forget to set file descriptor to -1 after closing it, since the code
outside the loop inspects it to determine whether or not we succeeded in
retrieving the requested document. This fixes a bug where fetchGetHTTP()
would return a FILE with an invalid file descriptor if it hit the redirect
limit without locating the requested document.

show more ...


# e66b3802 17-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

#ifdef DEBUG -> #ifndef NDEBUG

Pointed out by: ache


# 6290ee73 16-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Reinsert the MIT copyright, which applies to the base64 code and was
left out by accident during the rewrite.


# f4683775 13-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix a bug (misplaced continue) that caused redirects to fail. Lots of code
moved around, but the acutal functional changes are small.
Add support for site-internal redirects (where the Location: head

Fix a bug (misplaced continue) that caused redirects to fail. Lots of code
moved around, but the acutal functional changes are small.
Add support for site-internal redirects (where the Location: header gives a
path instead of an absolute URI)

Pointed out by: kuriyama

show more ...


# e4878e39 12-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Extensive rewrite of the HTTP code. The new code is significantly cleaner and
more robust, and somewhat more efficient. It also handles authorization and
redirects properly, and supports timeouts lik

Extensive rewrite of the HTTP code. The new code is significantly cleaner and
more robust, and somewhat more efficient. It also handles authorization and
redirects properly, and supports timeouts like the FTP code.

Many thanks to Umemoto-san for his assistance with IPv6 support, both here
and in other parts of libfetch.

show more ...


# 35f723db 11-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Rework the authorization code.
Only send absolute URI if connected to a proxy, since Apache doesn't always
understand absolute URIs.
Clean up some of the debugging output.


# 4d029f13 08-Jul-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix basic authentication, and add proxy authentication.

Submitted by: se


Revision tags: release/3.5.0_cvs
# cf5af79c 21-Jun-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't incorrectly report a protocol error when we get a 302 and redirects
are disabled.


# 6f9febf9 26-May-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Hackish support for 302 redirect.


# 28c645cf 20-May-2000 Hajimu UMEMOTO <ume@FreeBSD.org>

IPv6 support.


# 6efb30c8 19-May-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Better handling of some boundary conditions.

Submitted by: ume


12345678910>>...12