aboutsummaryrefslogtreecommitdiff
path: root/networking/wget.c
AgeCommit message (Collapse)Author
2004-03-15Remove trailing whitespace. Update copyright to include 2004.Eric Andersen
2004-03-06Fix/eliminate use of atolEric Andersen
2004-02-22No need to check proxy env variable twice, ignore proxy env variable ifGlenn L McGrath
its set to 0
2004-01-31Fix http proxy use, bytes were swappedGlenn L McGrath
2004-01-26Pascal Brisset writes:Eric Andersen
uuencode fails to encode binary data because it right-shifts bytes as signed chars and keeps the duplicated sign bits. The original base64_encode() from wget/http.c is broken as well, but it is only used to encode ascii data. -- Pascal
2004-01-17Patch from Leif Lindholm (slightly modified by me), to fix httpGlenn L McGrath
redirection. Example of incorrect behaviour was the following url, busybox wget didnt get redirected to the busybox url as it should. http://freshmeat.net/redir/busybox/953/url_homepage/www.busybox.net
2004-01-17Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath
/etc/services support for inetd, netcat and tftp.
2003-12-27Fix a bug of mine, identified by Stephane BilliartGlenn L McGrath
2003-12-20Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath
function as there is no gracefull way of handling failures. Rename bb_getport to bb_lookup_port, allow a default port to be specified so it always returns a correct value. Modify ftpgetput/rdate/wget to use the new interface. wget/rdate now use etc/services with a falback default value.
2003-12-19Use getopt_ulflagsGlenn L McGrath
2003-10-31Rework wget, the xconnect interface, and its various clientsEric Andersen
in order to fix the problems with round robin DNS reported by Andrew Flegg: http://busybox.net/lists/busybox/2003-October/009579.html This removes the ipv6 specific xconnect dns lookups. I do not see why that would need to be special cased for ipv6 as was done, but that will just have to be tested. So IPV6 people -- please test this change! -Erik
2003-09-15Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen
to ensure proper fallback behavior on, i.e. serial consoles. -Erik
2003-09-11Patch from Philip Blundell:Eric Andersen
On Thu, 2003-09-11 at 01:09, Glenn McGrath wrote: > Applied Thanks. Unfortunately there was one small bug in that last patch. Could you apply this one as well? p.
2003-09-10add ipv6 literal support to wgetGlenn L McGrath
2003-08-29Correct logic in determining size of block to download, as pointed outGlenn L McGrath
by Junio C Hamano
2003-08-28"When the initial request by wget is responded by a 3XX redirectGlenn L McGrath
response sent in chunked transfer encoding, the code path to resubmit the request to the redirected URL forgets to reset got_clen and chunked variables in the loop. If the redirected URL does not use chunked transfer encoding, this causes the code that slurps the body of the response to incorrectly try to parse out the chunk length which does not exist." - junkio@ ----------------------------------------------------------------------
2003-08-28"When the filesize is known from content-length header, safe_fread isGlenn L McGrath
always told to read sizeof(buf). This waits until the underlying fread() to time-out for the last part of the downloaded body. Fix this by sending the number of remaining bytes to read when known." - junkio@ I reworked the logic in his patch
2003-07-22Remove remaining libc5 support codeEric Andersen
2003-03-19Major coreutils update.Manuel Novoa III
2003-03-11cope with crappy windoze ftp serversEric Andersen
2002-07-12Accept the --passive-ftp cmd.line option. We always use passive ftp mode,Robert Griebl
so it doesn't hurt (adds compatibility though)
2002-07-03A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen
xconnect helper routine which does: -address and port resolving -tries to connect to all resolved addresses until connected -uses getaddrinfo, so works for IPv6 too This patch also ports rdate, telnet, and wget to use the new xconnect function. Thanks Bart!
2002-05-14Added support for -Y|--proxy=on/off to wgetRobert Griebl
2002-04-17* networking/wget.c (wget_main): Check return value of safe_fwrite.Matt Kraai
2002-03-19* networking/wget.c (parse_url): Allocate a string for the empty path.Matt Kraai
* testsuite/wget/wget-handles-empty-path: New.
2001-10-24Major rework of the directory structure and the entire build system.Eric Andersen
-Erik
2001-07-19Some adjustments, mostly from David McCullough <davidm@lineo.com> toEric Andersen
make busybox be more uClinux friendly. I also adjusted Config.h for uClinux so it will automagically disable apps the arn't going to work without fork() and such. -Erik
2001-07-19The -P prefix should only be prepended to filenames which are not explicitlyMatt Kraai
specified.
2001-07-19The directory name should only be prepended if one was specified.Matt Kraai
2001-06-21Add wget -P support, finishing off bug #1176Eric Andersen
-Erik
2001-05-16Add xgethostbyname and herror_msg* functions.Matt Kraai
2001-05-15Suggestion from Larry: no format string, use fputs instead.Eric Andersen
2001-05-15Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportEric Andersen
to wget, so it can now do funky interactive things with cgi scripts.
2001-05-13When doing a 'wget -O -' turn on the quiet flag, lest the status barEric Andersen
noise get mingled with the retrieved webpage. -Erik
2001-05-09Make stdio functions which can be interrupted by the progressmeter timerMatt Kraai
recover gracefully from EINTR.
2001-04-17Applied a patch from Laurence Anderson to fix the wget statusbar and a patchMark Whitley
to usage.h to document the -q option.
2001-04-11Use putc, and write to stderr as the rest of the progressmeter does.Matt Kraai
2001-04-11Only finish with a newline if we are displaying the progress indicator.Matt Kraai
2001-04-11Fix behavior when extracting to stdout. Report and patch byMatt Kraai
Evin Robertson <nitfol@my-deja.com>.
2001-04-10This patch from Laurence Anderson <laurence@zxmail.com> fixesEric Andersen
wget HTTP 1.1 support and addes chunked encoding so bb wget is now fully RFC compliant.
2001-04-05A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which addsEric Andersen
- support for ftp downloads - HTTP basic authentication support (as an optional feature) - handling of http redirections - protocol version changed to 1.0 (to stop servers from requesting chunked encoding) - bugfix: in the case when content-length not given, wget didn't download anything - when attempting to continue an aborted download but server doesn't support restarts, reopen output file in write mode - changed assumption that existing file should restart an aborted download. Now the user must explicitly specify this with -c
2001-03-21A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen
cleans up most of the now-revealed problems.
2001-03-09A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen
namespace polluting things that really should be static.
2001-02-20It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen
header file usage before the 0.49 release. To fix it, I had to move the '#include "busybox.h"' to the end of the list of #include files. -Erik
2001-02-14This patch, put together by Manuel Novoa III, is a merge of workEric Andersen
done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
2001-02-01Fix wget error message and add (and use) chomp library function.Matt Kraai
2001-01-31Removed trailing \n from error_msg{,_and_die} messages.Matt Kraai
2001-01-31Patch from Vladimir N. Oleynik to simplify wget file openingEric Andersen
using xfopen (which is what everything should be using).
2001-01-27Fix header file usage -- there were many unnecessary header files included inEric Andersen
busybox.h which slowed compiles. I left only what was needed and then fixed up all the apps to include their own header files. I also fixed naming for pwd.h and grp.h functions. Tested to compile and run with libc5, glibc, and uClibc. -Erik
2001-01-26Add errno.hEric Andersen