| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Reviewed by: -current list
|
|
|
|
|
|
| |
Fix usage string. Fix getopt() string. Fix ordering of compatibility options.
fetch.1:
Fix synopsis. Fix ordering of T and t options. Fix minor grammar nit.
|
|
|
|
|
| |
the server. There exists a broken server which sends a few extra
garbage bytes in response to HTTP/1.1 requests.
|
|
|
|
|
| |
don't use it. That's why I'm bringing it in during our "code slush"
Submitted by: Stefan Esser <se@mi.uni-koeln.de>
|
|
|
|
| |
PR: bin/7203
|
|
|
|
|
|
| |
- failed to use authorization parameters passed in the environment, if
/dev/tty could not be opened (i.e. if running from cron)
- mixed use of /dev/tty and stdin for prompt and reading of the result
|
|
|
|
| |
argument, so use `.Tn FreeBSD' instead.
|
|
|
|
|
| |
to the case in question. (Said case being quite clearly defined by
the basic TCP specification, RFC 792.)
|
| |
|
|
|
|
| |
PR: bin/6558
|
|
|
|
| |
around uncommitted for 2 months =(
|
| |
|
|
|
|
| |
cast to that instead of quad_t.
|
|
|
|
|
| |
long (yuk). So give time() what it wants and let the compiler
promote the variable when it is assigned to tv_sec.
|
|
|
|
| |
of broken TCP stack).
|
| |
|
|
|
|
|
|
| |
Also fixed some "didn't make the most sense" problems.
Submitted by: bde
|
| |
|
|
|
|
| |
previous change about #? parms
|
|
|
|
| |
Require to correctly parse http://...cgi?http://...
|
|
|
|
|
|
|
| |
is contrary to RFC1738, which specifies that empty elements between
slashes really mean to send a CWD command with an empty argument.
Most FTP servers consider this an error, so strict RFC compliance
is advisable in this case.
|
|
|
|
|
|
|
| |
slash-seperated element of the URL and then RETR the last element.
PR: bin/4670
Reviewed by: wollman
|
|
|
|
|
|
| |
PR: bin/4625
Submitted by: "Timo J. Rinne" <tri@pooh.tky.hut.fi>
Obtained from:bin/4625
|
|
|
|
|
|
| |
there even was one of them about ten lines above in the same file.)
Reminded by: joerg's commit to usr.bin/ftp/ftp.c rev 1.9
|
|
|
|
| |
Submitted by: Marc Slemko <marcs@znep.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
that can't deal with a half-closed connection.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Closes PR#2947
Submitted-by: Peter Childs <pjchilds@imforei.apana.org.au>
|
|
|
|
|
|
|
|
|
| |
Slight modification of patch by wollman.
Closes PR#2870
Reviewed by: wollman
Submitted by: Marc Slemko <marcs@znep.com>
|
|
|
|
|
| |
. don't try to interpet a colon in the pathname as a port number
. don't report an errno message when one don't exist
|
|
|
|
|
|
|
|
|
|
|
| |
undocumented FTP_PROXY_USER
Make FTP file errors contian hostname and path.
Pass the FTP port to libftp.
Partially un-HTMLify error messages returned from server
Handle "HTTP NNN" instead of "HTTP/V.vv NNN" response sent by
pre-HTTP/1.0 servers
Reviewed by: wollman
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
corruption of file being recieved to stdout.
Submitted-by: Kent Vander Velden <graphix@iastate.edu>
Closes PR#2739
|
|
|
|
|
|
|
|
|
| |
file. When it is don't do the percentage update, but still display the file
size and rate.
Closes PR#2725
Reviewed by: wollman
|
| |
|
|
|
|
|
|
| |
from the restart point, not the end of the file (blush!).
Submitted by: John-Mark Gurney <jmg@nike.efn.org>
|
|
|
|
| |
Submitted by: fenner
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Fix the bug with URIs of the form ftp://host/filename.
- Fix some more string-termination bugs in util.c.
- Use safe_malloc() rather than testing the return value of
regular malloc() in 15 places.
- Implement HTTP authentication, for both servers and proxies.
Currently only ``basic'' authentication is supported; This Is A Bug
(but less of one tjhan nmot supporting any authentication).
I think there is only one more feature which is required for full
HTTP/1.1 support, which is Transfer-Encoding: chunked; this should
not be toohard, but it isn't very important, either.
|
|
|
|
|
|
| |
malloc() returning zeroed storage or dump core while starting up.
Found-by: /etc/malloc.conf ->AJ
|
|
|
|
|
|
|
|
|
|
|
| |
1) Implement redirects (or try to, at least).
2) Implement automatic retry after 503 errors when Retry-After is given.
3) Implement a -a flag to enable both of these behaviors.
4) Recognize Transfer-Encoding headers and emit a warning that the file
is likely to be damaged.
5) Bug fix: only write the amount of data we read.
6) Actually document some of these.
7) Fix the usage message to display flags in semi-alphabetical order.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
recognize it any more. This makes the following significant changes:
- The main body of the program doesn't know a thing about URIs,
HTTP, or FTP. This makes it possible to easily plug in other
protocols. (The next revision will probably be able to dynamically
add new recognizers.)
- There are no longer arbitrary timeouts for the protocols. If you want
to set one for yourself, use the environment variables.
- FTP proxies are now supported (if I implemented it right).
- The HTTP implementation is much more complete, and can now do restarts,
preserve modtimes, and mrun in mirror mode. It's not yet up to 1.1,
but it's getting there.
- Transaction TCP is now used for sending HTTP requests. The HTTP/1.1 syntax
for requesting that the connection be closed after one request is
implemented.
In all of this, I have doubtless broken somebody. Please test it and tell me
about the bugs.
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.
|