History log of /freebsd/lib/libfetch/http.c (Results 226 – 250 of 278)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# d3b03a90 05-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Add comments to struct cookie.


# 3f4823c5 05-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Fix a bug I introduced in the chunk decoder in the previous commit..


# dea29ca1 05-Jun-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

First step towards SSL support: wrap connections in a 'struct connection'
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect o

First step towards SSL support: wrap connections in a 'struct connection'
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect of greatly improving
reentrance (though we're not *quite* there yet) and opening the door to
HTTP connection caching.

This commit is inspired by email conversations with and patches from
Henry Whincup <henry@techiebod.com> last fall.

show more ...


# 4cd01193 29-Mar-2002 Mark Murray <markm@FreeBSD.org>

Do not use __progname directly (except in [gs]etprogname(3)).
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the

Do not use __progname directly (except in [gs]etprogname(3)).
Also, make an internal _getprogname() that is used only inside
libc. For libc, getprogname(3) is a weak symbol in case a
function of the same name is defined in userland.

show more ...


# e19e6098 05-Feb-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

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
# e6f0a33e 20-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Check the return value from read() when reading the CR/LF at the end of a
chunk.

PR: bin/33608
MFC after: 2 weeks


# a8e9bd87 01-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

In verbose mode, display the full error message from the server, stripping
it of HTML tags and comments.

PR: bin/32989
MFC after: 1 week


# f67efa37 01-Jan-2002 Dag-Erling Smørgrav <des@FreeBSD.org>

Remove VT100 escapes from debugging messages now that they're enabled by
default.

PR: 32988
MFC after: 3 days


# 7f807cb8 09-Dec-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Conditionalize some debugging code that didn't use the DEBUG macro.

MFC after: 1 week


# 65986545 04-Dec-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Properly handle being redirected to an FTP URL.

Also fix a couple of not-so-minor bugs:
- missing case for HTTP_SEE_OTHER
- incorrect definition of HTTP_NEED_PROXY_AUTH

PR: 20259
MFC after: 2 we

Properly handle being redirected to an FTP URL.

Also fix a couple of not-so-minor bugs:
- missing case for HTTP_SEE_OTHER
- incorrect definition of HTTP_NEED_PROXY_AUTH

PR: 20259
MFC after: 2 weeks

show more ...


# f573a5fc 18-Oct-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Tons of type, style and warning fixes that have been rotting in my tree for
ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were
willing to do something (-fno-builtin) about i

Tons of type, style and warning fixes that have been rotting in my tree for
ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were
willing to do something (-fno-builtin) about it.

show more ...


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


12345678910>>...12