summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Use "anonymous" rather than "ftp" as login name for anonymous ftp.des2001-01-082-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.
* Document FTP_LOGIN.des2000-12-221-0/+2
|
* Check the FTP_LOGIN environment variable before falling back ondes2000-12-221-0/+2
| | | | FTP_ANONYMOUS_USER.
* Avoid a segfault (due to an unitialized pointer) when parsing URLs that havedes2000-12-131-0/+2
| | | | no scheme or host part.
* Somewhere along the line, I misunderstood the whole FTP_PASSIVE_MODE debatedes2000-12-062-4/+4
| | | | | | | and had libfetch selecting passive mode even when FTP_PASSIVE_MODE was not set at all, which is really quite surprising unless you know about it. So change it to the agreed default behaviour of selecting passive mode if FTP_PASSIVE_MODE is set, but not "no".
* Remove some obsolete comments.des2000-12-011-13/+0
|
* Clean up the whitespace encoding code.des2000-12-011-5/+6
|
* Add SCHEME_HTTPS.des2000-12-011-0/+1
|
* Fix old-style proxy specs: default to FTP if FTP_PROXY was set; only defaultdes2000-11-271-2/+6
| | | | to HTTP if HTTP_PROXY was used instead.
* Don't try to get the proxy port number from /etc/services.des2000-11-271-4/+0
|
* Don't go haywire if the server closes the connection in the middle of ades2000-11-221-1/+1
| | | | multiline response (proper fix this time).
* Revert previous commit, it was somewhat hasty.des2000-11-221-5/+1
|
* Don't go haywire if the server closes the connection during a multilinedes2000-11-221-1/+5
| | | | response.
* logru2000-11-221-1/+2
|
* Spell the des's name correctly.ru2000-11-141-2/+2
|
* Use Fx macro wherever possible.ru2000-11-141-1/+3
|
* Use the documented (and historical) defaults. Centralize the decision logicdes2000-11-104-37/+45
| | | | | | in order to avoid this bug in the future. Submitted by: se
* Use CHECK_FLAGdes2000-10-294-22/+22
|
* Stricter error checking in the I/O functions.des2000-10-291-1/+25
|
* Add CHECK_FLAGS, a macro for (safely) checking if a particular flag is set.des2000-10-291-0/+5
|
* Document FTP_PASSIVE_MODE and FTP_PASSWORD.des2000-10-291-1/+8
| | | | | PR: docs/20626 Submitted by: nik
* Fix this my way. David had absolutely no call overriding MAINTAINER withoutdes2000-10-281-3/+3
| | | | even giving me 24 hours to read his mail and find the bug.
* Install per function manpages so one doesn't mistakenly think we don'tobrien2000-10-281-0/+8
| | | | have manpages for libfetch's functions.
* Repeat after me, "check to see that a pointer isn't NULL beforeobrien2000-10-281-3/+3
| | | | dereferenceing it". This fixes ``pkg_add -r''.
* MFS: don't expect result code until you close the data connectiondes2000-10-271-3/+3
|
OpenPOWER on IntegriCloud