summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
Commit message (Collapse)AuthorAgeFilesLines
* Do not use __progname directly (except in [gs]etprogname(3)).markm2002-03-291-3/+1
| | | | | | 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.
* Modernize my email addressphk2002-03-251-1/+1
|
* Switch to a self-starting allocation scheme.des2002-02-051-10/+3
|
* Reindent, and add parentheses to return statements. Some functions indes2002-02-058-1989/+1997
| | | | | 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.
* Eliminate a redundant loop.des2002-02-051-2/+1
|
* Check the return value from read() when reading the CR/LF at the end of ades2002-01-201-2/+4
| | | | | | | chunk. PR: bin/33608 MFC after: 2 weeks
* Mark uploads as O_WRONLY, not O_RDONLY.des2002-01-201-2/+6
| | | | | PR: misc/34043 MFC after: 2 weeks
* Remove long-obsolete README.des2002-01-011-10/+0
|
* In verbose mode, display the full error message from the server, strippingdes2002-01-011-3/+48
| | | | | | | it of HTML tags and comments. PR: bin/32989 MFC after: 1 week
* Remove VT100 escapes from debugging messages now that they're enabled bydes2002-01-014-22/+21
| | | | | | | default. PR: 32988 MFC after: 3 days
* Don't build with NDEBUG.des2001-12-091-3/+0
| | | | | PR: bin/32615 MFC after: 1 week
* Conditionalize some debugging code that didn't use the DEBUG macro.des2001-12-091-8/+10
| | | | MFC after: 1 week
* Introduce a fetchDebug global. Change the DEBUG macro so it only runs thedes2001-12-093-1/+5
| | | | | | | debugging code if fetchDebug is set. PR: bin/32615 MFC after: 1 week
* Properly handle being redirected to an FTP URL.des2001-12-041-1/+10
| | | | | | | | | 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
* Add prototype for _ftp_request().des2001-12-041-4/+8
|
* Reorganize to reduce code duplication.des2001-12-041-64/+32
|
* Add NO_WERROR so the build won't die because of discarded qualifiersdes2001-10-191-0/+2
|
* Back out part of previous commit which was gcc-centricdes2001-10-191-2/+2
|
* Tons of type, style and warning fixes that have been rotting in my tree fordes2001-10-185-70/+101
| | | | | ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were willing to do something (-fno-builtin) about it.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-011-3/+3
|
* Add __FBSDID()s to libfetchdillon2001-09-305-10/+15
|
* Use fseeko() instead of fseek() (u->offset is already an off_t), and markdes2001-09-051-4/+4
| | | | some function arguments as unused.
* Handle snprintf() returning < 0 (not just -1)brian2001-08-201-1/+1
| | | | MFC after: 2 weeks
* Handle snrintf overflows.brian2001-08-201-0/+2
| | | | Spotted by: bde
* Handle snprintf() returning -1.brian2001-08-201-1/+2
| | | | MFC after: 2 weeks
* The fix for schemeless and hostless URLs (rev. 1.27) broke the schemelessse2001-07-281-1/+2
| | | | | | | | | proxy specification, which seems to be valid according to the man page. Change the logic to consider "hostname:port" a hostname and port instead of a file URL. Approved by: des
* Unbreak parsing URLs that have a host part but no document part.des2001-07-171-2/+3
| | | | While we're here, fix a snprintf() usage warning.
* Remove whitespace at EOL.dd2001-07-151-19/+19
|
* mdoc(7) police: remove extraneous .Pp before and/or after .Sh.dd2001-07-091-1/+0
|
* Handle shemeless, hostless URLs correctly.des2001-07-081-3/+5
|
* mdoc(7) police: fixed markup and typo.ru2001-07-051-16/+16
|
* Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. Thisdes2001-06-111-1/+1
| | | | fixes a bug in pkg_add(1) (which nobody noticed because of another bug).
* Implement a HTTP_USER_AGENT environment variable.des2001-05-272-1/+8
| | | | | PR: 27669 Submitted by: Eoin Lawless <eoin@maths.tcd.ie>
* Document the authentication callback interface.des2001-05-261-3/+42
| | | | Update RFC references (should have done that ages ago...)
* Bump major number.des2001-05-261-1/+1
|
* Add rudimentary support for an authentication callback function.des2001-05-264-59/+91
|
* MAXPATHLEN -> PATH_MAXdes2001-05-262-2/+2
|
* Plug memory leak.des2001-05-261-6/+3
| | | | PR: 27506
* Add some error codes that were added in RFC2616.des2001-05-231-0/+3
|
* Apply 'const' liberally.archie2001-04-248-129/+134
| | | | Fix some other minor glitches.
* Grammar police: "its", not "it's", is the possessive form of "it".dd2001-04-151-1/+1
|
* If the server's reply to the SIZE command is unparseable, reset us->sizedes2001-04-071-0/+1
| | | | to -1 so the caller will know it's invalid. This is an MFC candidate.
* MAN[1-9] -> MAN.ru2001-03-271-1/+1
|
* Use high port range by default, and replace the 'h' option with an 'l' optiondes2001-03-242-7/+7
| | | | that forces the ftp code to use the low (default) port range instead.
* Don't remember an EINTR, since the caller may want to restart the call.des2001-03-071-2/+4
|
* Support lower-case versions of the proxy environment variables.des2001-03-073-3/+13
| | | | PR: bin/25494
* mdoc(7) police: fixed broken references.ru2001-01-161-0/+1
|
* Prepare for mdoc(7)NG.ru2001-01-161-1/+1
|
* The user name for anonymous ftp is now "anonymous".des2001-01-081-10/+17
| | | | | Remove the period after the last man page reference. Add a reference to RFC1635, and sort the RFC references by number.
* Back out previous (accidental) commit.des2001-01-081-1/+1
|
OpenPOWER on IntegriCloud