Commit Graph

1766 Commits

Author SHA1 Message Date
Garrett Wollman
4c33feed58 Document the bogus standard requirement of delaying the close.
Also include a reference to the FINGER RFC.
1997-08-01 20:26:47 +00:00
Garrett Wollman
a32cbefa87 So somebody actually found language in the FINGER RFC which requires
implementations to leave the client side open until the server closes.
While this is totally idiotic, it seems as if some servers actually require
it (e.g., the one at mit.mit.edu).  So, we bow to the weight of the bogus
standard and disable the initial close.  Hopefully now fetch(1) can serve
the role of T/TCP demonstration application.
1997-08-01 20:10:44 +00:00
Philippe Charnier
1e133604e1 Use err(3). Add prototypes. Silent -Wall. 1997-07-31 06:59:26 +00:00
Philippe Charnier
7e19b1ec24 Cosmetic in usage string and err() messages. 1997-07-31 06:57:47 +00:00
Philippe Charnier
7eb436730f Use err(3). 1997-07-31 06:54:45 +00:00
Philippe Charnier
885a85b6c1 Use err(3). Add missing flags in usage string. 1997-07-31 06:53:36 +00:00
Bill Paul
d4a27db19e Modify passwd and chpass to use new AF_LOCAL RPC interface instead of
old kludged-up 'yppasswd_comm' support.
1997-07-29 15:45:36 +00:00
Philippe Charnier
f2abddceac Add usage(), use err(3).
Rewrote man page in mdoc format.
1997-07-29 06:54:16 +00:00
Philippe Charnier
5d422d6aa7 Remove prog, unused variables.
Cosmetic in usage string.
1997-07-29 06:51:41 +00:00
Philippe Charnier
ff456ca439 Use err(3) instead of local redefinition. 1997-07-29 06:49:16 +00:00
Philippe Charnier
e46a3508d0 Use err(3).
sprintf -> snprintf from OpenBSD.
Add usage(), prototypes.
Use MAXPATHLEN instead of 128 from OpenBSD.
Obtained from: OpenBSD
1997-07-29 06:47:18 +00:00
Philippe Charnier
096118ee27 Add usage(). 1997-07-29 06:42:33 +00:00
Philippe Charnier
053f348568 Cosmetic in usage string. 1997-07-28 07:01:02 +00:00
Garrett Wollman
12b7829739 Work around a brokenness in the HTTP spec by generating the Host header
for ftp: URLs as well.  This can't possibly be done in the general case,
but since we only claim to support http and ftp, we'll adhere to the
bogus requirement (RFC 2068, s. 14.25) anyway...  >sigh<

Submitted by: =?iso-8859-1?Q?=C5ge_R=F8bekk?= <aagero@aage.priv.no>
1997-07-26 20:18:43 +00:00
Garrett Wollman
efd4ad4cd2 Fix the error message for when mirroring and restarting are rejected
due to the output not being a regular file.  Also split the error message
in any error case here to be on two lines to lessen the likelihood of it
being too long to fit on just one.
1997-07-26 20:00:05 +00:00
Garrett Wollman
2ec04c7076 Implement HTTP 1.1's ``chunked'' Transfer-Encoding (ick). This hasn't
been extensively tested, but I now can successfully retrieve
<http://www.apache.org/index.html>, so I guess that's a victory of some
sort.

Also move the initialization of ``autherror'' to hopefully eliminate
the reported loop involving authentication.  Still need to implement
MD5 digest authentication.
1997-07-26 19:25:56 +00:00
Garrett Wollman
0c8cc99e5b Provide a new `-b' flag to work around some broken HTTP/TCP implementations
that can't deal with a half-closed connection.
1997-07-25 19:35:44 +00:00
Philippe Charnier
2487a449d3 Use err(3), add usage(), silent -Wall. 1997-07-24 07:05:02 +00:00
Philippe Charnier
3974610c18 Add includes and prototype. 1997-07-24 07:02:55 +00:00
Philippe Charnier
1988cbc558 .Nm mkdep -> .Nm. 1997-07-24 07:01:18 +00:00
Philippe Charnier
7501dcaa36 Add usage(). 1997-07-24 07:00:17 +00:00
Philippe Charnier
950622c987 Use err(3). Cosmetic in usage string. 1997-07-24 06:58:08 +00:00
Philippe Charnier
0e11b68bdd Use err(3). 1997-07-24 06:56:33 +00:00
Philippe Charnier
9510535891 Use err(3) instead of local redefinition. Remove progname. 1997-07-23 06:50:06 +00:00
Philippe Charnier
176d344d18 Typo. 1997-07-23 06:48:01 +00:00
Philippe Charnier
9baefe4a3f Use err(3) instead of local redefinition. 1997-07-23 06:46:10 +00:00
Philippe Charnier
9c9cb2bffe = -> ==, strcpy -> strncpy from OpenBSD.
update man page. Add usage().
Obtained from: OpenBSD
1997-07-22 07:39:43 +00:00
Philippe Charnier
df0715563d Use err(3). 1997-07-22 07:33:48 +00:00
Philippe Charnier
3ec665d482 lockf: usage : lockf -> usage: lockf by using fprintf instead of errx. 1997-07-22 07:32:23 +00:00
Wolfram Schneider
b5b5fc9dc3 Add ref to idprio(1). 1997-07-21 23:05:06 +00:00
Bruce Evans
745ec60f07 Added top.1 to CLEANFILES. 1997-07-21 16:06:00 +00:00
Philippe Charnier
a4a2bc1716 Use err(3). Add usage(). 1997-07-21 12:09:34 +00:00
Philippe Charnier
bef3ca0315 Use err(3). Use .Pa macro for filenames in man page. 1997-07-21 12:08:14 +00:00
Philippe Charnier
78cad0814f Cosmetic in usage string. Typos in man page. 1997-07-21 12:06:18 +00:00
Philippe Charnier
492dbf7344 Check fgets' return value, silent -Wall.
Obtained from: OpenBSD
1997-07-21 12:04:31 +00:00
Philippe Charnier
342548bf0f Cosmetic in usage string. 1997-07-21 12:01:47 +00:00
John Fieber
2ef9b73dba Remove SGML tools from -current. 1997-07-19 15:19:08 +00:00
Wolfram Schneider
f71a4cccdc A not initialized variable forced malloc to abort if the user
press ^Z (undelete line).

Detected by: /etc/malloc.conf -> AJ
1997-07-18 13:51:54 +00:00
Philippe Charnier
df8996586c Use err(3) instead of local redefintion. Add usage() as a separate
function. Rewrote man page in mdoc format.
1997-07-18 06:43:15 +00:00
Philippe Charnier
517c663956 Use err(3). Mdoc'ify man page. 1997-07-18 06:40:46 +00:00
Philippe Charnier
4a744ef67d Cosmetic in usage string. 1997-07-17 06:45:22 +00:00
Philippe Charnier
2eecfa7416 Mdoc'ify man page. 1997-07-17 06:44:11 +00:00
Philippe Charnier
34d890bafe Use err(3). Mdoc'ify man page. 1997-07-17 06:42:26 +00:00
David Nugent
b3848628ff Fix typos.
PR:		4101
Submitted by:	Horikawa Kazuo <k-horik@mail.yk.rim.or.jp>
1997-07-16 11:35:18 +00:00
Philippe Charnier
5827e97390 Rewrote man page in mdoc format. 1997-07-16 06:52:13 +00:00
Philippe Charnier
ca22ec7d08 Use err(3). Rewrote man page in mdoc format. 1997-07-16 06:51:12 +00:00
Philippe Charnier
15fc002be8 Use err(3). Correct incomplete man page. 1997-07-16 06:49:49 +00:00
Philippe Charnier
7bd7ad50aa Use err(3) instead of local redefinition. Add usage(). 1997-07-15 09:59:30 +00:00
Philippe Charnier
21a3d1655c Cosmetic in usage string. 1997-07-15 09:57:28 +00:00
Philippe Charnier
00bbaadcfd Add rcsid, Remove unused vars. 1997-07-15 09:55:59 +00:00