summaryrefslogtreecommitdiff
path: root/networking/wget.c
AgeCommit message (Collapse)Author
2006-01-25just whitespaceTim Riker
2005-12-02If we really _need_ an #ifdef like this, then we should be using the libbbRob Landley
getopt infrastructure instead.
2005-10-14- new bb_opt_complementally syntax, use [-:?] only - 'free' chars"Vladimir N. Oleynik"
- new bb_getopt_ulflags features: check max and min args, convert first argv to options special for ar and tar applets - use bb_default_error_retval for env applet
2005-09-051) bb_opt_complementaly -> bb_opt_complementally"Vladimir N. Oleynik"
2) better support long options 3) new flag '!' for bb_opt_complementally: produce bb_show_usage() if BB_GETOPT_ERROR internally
2005-04-16Patch from Bernhard Fischer to make a bunch of symbols staticEric Andersen
which were otherwise cluttering the global namespace.
2004-10-08Patch from Denis Vlasenko to fix a problem whereEric Andersen
wget http://1.2.3.4/abc/ loses last '/'
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-04-08Fix ftp resumeGlenn L McGrath
Terminate returned message at <CRLF> so strtoul returns without error
2004-03-27s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen
s/fileno\(stdout\)/STDOUT_FILENO/g
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 swapped1_00_pre6Glenn 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