Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Modernize my email address | Poul-Henning Kamp | 2002-03-25 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=93150 | |||||
* | Switch to a self-starting allocation scheme. | Dag-Erling Smørgrav | 2002-02-05 | 1 | -10/+3 | |
| | | | | Notes: svn path=/head/; revision=90268 | |||||
* | Reindent, and add parentheses to return statements. Some functions in | Dag-Erling Smørgrav | 2002-02-05 | 8 | -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. Notes: svn path=/head/; revision=90267 | |||||
* | Eliminate a redundant loop. | Dag-Erling Smørgrav | 2002-02-05 | 1 | -2/+1 | |
| | | | | Notes: svn path=/head/; revision=90264 | |||||
* | Check the return value from read() when reading the CR/LF at the end of a | Dag-Erling Smørgrav | 2002-01-20 | 1 | -2/+4 | |
| | | | | | | | | | | chunk. PR: bin/33608 MFC after: 2 weeks Notes: svn path=/head/; revision=89590 | |||||
* | Mark uploads as O_WRONLY, not O_RDONLY. | Dag-Erling Smørgrav | 2002-01-20 | 1 | -2/+6 | |
| | | | | | | | | PR: misc/34043 MFC after: 2 weeks Notes: svn path=/head/; revision=89589 | |||||
* | Remove long-obsolete README. | Dag-Erling Smørgrav | 2002-01-01 | 1 | -10/+0 | |
| | | | | Notes: svn path=/head/; revision=88772 | |||||
* | In verbose mode, display the full error message from the server, stripping | Dag-Erling Smørgrav | 2002-01-01 | 1 | -3/+48 | |
| | | | | | | | | | | it of HTML tags and comments. PR: bin/32989 MFC after: 1 week Notes: svn path=/head/; revision=88771 | |||||
* | Remove VT100 escapes from debugging messages now that they're enabled by | Dag-Erling Smørgrav | 2002-01-01 | 4 | -22/+21 | |
| | | | | | | | | | | default. PR: 32988 MFC after: 3 days Notes: svn path=/head/; revision=88769 | |||||
* | Don't build with NDEBUG. | Dag-Erling Smørgrav | 2001-12-09 | 1 | -3/+0 | |
| | | | | | | | | PR: bin/32615 MFC after: 1 week Notes: svn path=/head/; revision=87562 | |||||
* | Conditionalize some debugging code that didn't use the DEBUG macro. | Dag-Erling Smørgrav | 2001-12-09 | 1 | -8/+10 | |
| | | | | | | | MFC after: 1 week Notes: svn path=/head/; revision=87561 | |||||
* | Introduce a fetchDebug global. Change the DEBUG macro so it only runs the | Dag-Erling Smørgrav | 2001-12-09 | 3 | -1/+5 | |
| | | | | | | | | | | debugging code if fetchDebug is set. PR: bin/32615 MFC after: 1 week Notes: svn path=/head/; revision=87560 | |||||
* | Properly handle being redirected to an FTP URL. | Dag-Erling Smørgrav | 2001-12-04 | 1 | -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 Notes: svn path=/head/; revision=87317 | |||||
* | Add prototype for _ftp_request(). | Dag-Erling Smørgrav | 2001-12-04 | 1 | -4/+8 | |
| | | | | Notes: svn path=/head/; revision=87316 | |||||
* | Reorganize to reduce code duplication. | Dag-Erling Smørgrav | 2001-12-04 | 1 | -64/+32 | |
| | | | | Notes: svn path=/head/; revision=87315 | |||||
* | Add NO_WERROR so the build won't die because of discarded qualifiers | Dag-Erling Smørgrav | 2001-10-19 | 1 | -0/+2 | |
| | | | | Notes: svn path=/head/; revision=85144 | |||||
* | Back out part of previous commit which was gcc-centric | Dag-Erling Smørgrav | 2001-10-19 | 1 | -2/+2 | |
| | | | | Notes: svn path=/head/; revision=85143 | |||||
* | Tons of type, style and warning fixes that have been rotting in my tree for | Dag-Erling Smørgrav | 2001-10-18 | 5 | -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. Notes: svn path=/head/; revision=85093 | |||||
* | mdoc(7) police: Use the new .In macro for #include statements. | Ruslan Ermilov | 2001-10-01 | 1 | -3/+3 | |
| | | | | Notes: svn path=/head/; revision=84306 | |||||
* | Add __FBSDID()s to libfetch | Matthew Dillon | 2001-09-30 | 5 | -10/+15 | |
| | | | | Notes: svn path=/head/; revision=84203 | |||||
* | Use fseeko() instead of fseek() (u->offset is already an off_t), and mark | Dag-Erling Smørgrav | 2001-09-05 | 1 | -4/+4 | |
| | | | | | | | some function arguments as unused. Notes: svn path=/head/; revision=83076 | |||||
* | Handle snprintf() returning < 0 (not just -1) | Brian Somers | 2001-08-20 | 1 | -1/+1 | |
| | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81985 | |||||
* | Handle snrintf overflows. | Brian Somers | 2001-08-20 | 1 | -0/+2 | |
| | | | | | | | Spotted by: bde Notes: svn path=/head/; revision=81978 | |||||
* | Handle snprintf() returning -1. | Brian Somers | 2001-08-20 | 1 | -1/+2 | |
| | | | | | | | MFC after: 2 weeks Notes: svn path=/head/; revision=81972 | |||||
* | The fix for schemeless and hostless URLs (rev. 1.27) broke the schemeless | Stefan Eßer | 2001-07-28 | 1 | -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 Notes: svn path=/head/; revision=80520 | |||||
* | Unbreak parsing URLs that have a host part but no document part. | Dag-Erling Smørgrav | 2001-07-17 | 1 | -2/+3 | |
| | | | | | | | While we're here, fix a snprintf() usage warning. Notes: svn path=/head/; revision=79834 | |||||
* | Remove whitespace at EOL. | Dima Dorfman | 2001-07-15 | 1 | -19/+19 | |
| | | | | Notes: svn path=/head/; revision=79754 | |||||
* | mdoc(7) police: remove extraneous .Pp before and/or after .Sh. | Dima Dorfman | 2001-07-09 | 1 | -1/+0 | |
| | | | | Notes: svn path=/head/; revision=79454 | |||||
* | Handle shemeless, hostless URLs correctly. | Dag-Erling Smørgrav | 2001-07-08 | 1 | -3/+5 | |
| | | | | Notes: svn path=/head/; revision=79423 | |||||
* | mdoc(7) police: fixed markup and typo. | Ruslan Ermilov | 2001-07-05 | 1 | -16/+16 | |
| | | | | Notes: svn path=/head/; revision=79315 | |||||
* | Don't call _ftp_closefn() upon EOF in _ftp_readfn(); just return 0. This | Dag-Erling Smørgrav | 2001-06-11 | 1 | -1/+1 | |
| | | | | | | | fixes a bug in pkg_add(1) (which nobody noticed because of another bug). Notes: svn path=/head/; revision=78071 | |||||
* | Implement a HTTP_USER_AGENT environment variable. | Dag-Erling Smørgrav | 2001-05-27 | 2 | -1/+8 | |
| | | | | | | | | PR: 27669 Submitted by: Eoin Lawless <eoin@maths.tcd.ie> Notes: svn path=/head/; revision=77261 | |||||
* | Document the authentication callback interface. | Dag-Erling Smørgrav | 2001-05-26 | 1 | -3/+42 | |
| | | | | | | | Update RFC references (should have done that ages ago...) Notes: svn path=/head/; revision=77240 | |||||
* | Bump major number. | Dag-Erling Smørgrav | 2001-05-26 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=77239 | |||||
* | Add rudimentary support for an authentication callback function. | Dag-Erling Smørgrav | 2001-05-26 | 4 | -59/+91 | |
| | | | | Notes: svn path=/head/; revision=77238 | |||||
* | MAXPATHLEN -> PATH_MAX | Dag-Erling Smørgrav | 2001-05-26 | 2 | -2/+2 | |
| | | | | Notes: svn path=/head/; revision=77237 | |||||
* | Plug memory leak. | Dag-Erling Smørgrav | 2001-05-26 | 1 | -6/+3 | |
| | | | | | | | PR: 27506 Notes: svn path=/head/; revision=77234 | |||||
* | Add some error codes that were added in RFC2616. | Dag-Erling Smørgrav | 2001-05-23 | 1 | -0/+3 | |
| | | | | Notes: svn path=/head/; revision=77056 | |||||
* | Apply 'const' liberally. | Archie Cobbs | 2001-04-24 | 8 | -129/+134 | |
| | | | | | | | Fix some other minor glitches. Notes: svn path=/head/; revision=75891 | |||||
* | Grammar police: "its", not "it's", is the possessive form of "it". | Dima Dorfman | 2001-04-15 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=75531 | |||||
* | If the server's reply to the SIZE command is unparseable, reset us->size | Dag-Erling Smørgrav | 2001-04-07 | 1 | -0/+1 | |
| | | | | | | | to -1 so the caller will know it's invalid. This is an MFC candidate. Notes: svn path=/head/; revision=75292 | |||||
* | MAN[1-9] -> MAN. | Ruslan Ermilov | 2001-03-27 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=74870 | |||||
* | Use high port range by default, and replace the 'h' option with an 'l' option | Dag-Erling Smørgrav | 2001-03-24 | 2 | -7/+7 | |
| | | | | | | | that forces the ftp code to use the low (default) port range instead. Notes: svn path=/head/; revision=74716 | |||||
* | Don't remember an EINTR, since the caller may want to restart the call. | Dag-Erling Smørgrav | 2001-03-07 | 1 | -2/+4 | |
| | | | | Notes: svn path=/head/; revision=73934 | |||||
* | Support lower-case versions of the proxy environment variables. | Dag-Erling Smørgrav | 2001-03-07 | 3 | -3/+13 | |
| | | | | | | | PR: bin/25494 Notes: svn path=/head/; revision=73932 | |||||
* | mdoc(7) police: fixed broken references. | Ruslan Ermilov | 2001-01-16 | 1 | -0/+1 | |
| | | | | Notes: svn path=/head/; revision=71107 | |||||
* | Prepare for mdoc(7)NG. | Ruslan Ermilov | 2001-01-16 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=71097 | |||||
* | The user name for anonymous ftp is now "anonymous". | Dag-Erling Smørgrav | 2001-01-08 | 1 | -10/+17 | |
| | | | | | | | | Remove the period after the last man page reference. Add a reference to RFC1635, and sort the RFC references by number. Notes: svn path=/head/; revision=70797 | |||||
* | Back out previous (accidental) commit. | Dag-Erling Smørgrav | 2001-01-08 | 1 | -1/+1 | |
| | | | | Notes: svn path=/head/; revision=70796 | |||||
* | Use "anonymous" rather than "ftp" as login name for anonymous ftp. | Dag-Erling Smørgrav | 2001-01-08 | 2 | -4/+3 | |
| | | | | | | | | | 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. Notes: svn path=/head/; revision=70795 |