History log of /freebsd/lib/libfetch/ftp.c (Results 151 – 175 of 231)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/4.7.0_cvs
# 40cfbfd5 17-Sep-2002 Bill Fenner <fenner@FreeBSD.org>

Make _fetch_connect() always set the error code.
Tell ftp that _fetch_connect() always sets the error code (http already knew)


Revision tags: release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs
# f8fa093e 02-Jul-2002 Hajimu UMEMOTO <ume@FreeBSD.org>

Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attach
scope identifier).

Approved by: des
MFC after: 3 weeks


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

Add a reference count to struct fetchconn so we don't prematurely close and
free a cached FTP connection.


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

Wrap everything in struct connection, and enforce timeouts everywhere
(except for DNS operations). Always use funopen() for HTTP, to support
both timeouts and SSL.


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


# 06229ad2 25-Mar-2002 Poul-Henning Kamp <phk@FreeBSD.org>

Modernize my email address


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

Mark uploads as O_WRONLY, not O_RDONLY.

PR: misc/34043
MFC after: 2 weeks


# 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


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

Reorganize to reduce code duplication.


# 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


# 778de359 20-Aug-2001 Brian Somers <brian@FreeBSD.org>

Handle snprintf() returning < 0 (not just -1)

MFC after: 2 weeks


# 5f328905 20-Aug-2001 Brian Somers <brian@FreeBSD.org>

Handle snrintf overflows.

Spotted by: bde


# 2449bf28 20-Aug-2001 Brian Somers <brian@FreeBSD.org>

Handle snprintf() returning -1.

MFC after: 2 weeks


# 9e2a792c 11-Jun-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. This
fixes a bug in pkg_add(1) (which nobody noticed because of another bug).


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

Add rudimentary support for an authentication callback function.


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

Plug memory leak.

PR: 27506


# 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
# 525be862 07-Apr-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

If the server's reply to the SIZE command is unparseable, reset us->size
to -1 so the caller will know it's invalid. This is an MFC candidate.


# d5f175ce 24-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Use high port range by default, and replace the 'h' option with an 'l' option
that forces the ftp code to use the low (default) port range instead.


# e238d2a8 07-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Don't remember an EINTR, since the caller may want to restart the call.


# 4cee73c8 07-Mar-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Support lower-case versions of the proxy environment variables.

PR: bin/25494


# 80ed165e 08-Jan-2001 Dag-Erling Smørgrav <des@FreeBSD.org>

Use "anonymous" rather than "ftp" as login name for anonymous ftp.

Rather than have a separate (misnamed) FTP_ANONYMOUS_PASSWORD constant, use
FTP_ANONYMOUS_USER (i.e. "anonymous") to construct the

Use "anonymous" rather than "ftp" as login name for anonymous ftp.

Rather than have a separate (misnamed) FTP_ANONYMOUS_PASSWORD constant, use
FTP_ANONYMOUS_USER (i.e. "anonymous") to construct the anonymous ftp password
if getlogin() fails.

show more ...


# e72f0de2 22-Dec-2000 Dag-Erling Smørgrav <des@FreeBSD.org>

Check the FTP_LOGIN environment variable before falling back on
FTP_ANONYMOUS_USER.


12345678910