summaryrefslogtreecommitdiff
path: root/networking/wget.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Patch from Denis Vlasenko to fix a problem whereEric Andersen2004-10-081-4/+8
| | | | wget http://1.2.3.4/abc/ loses last '/'
* Larry Doolittle writes:Eric Andersen2004-04-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | 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
* Fix ftp resumeGlenn L McGrath2004-04-081-5/+9
| | | | Terminate returned message at <CRLF> so strtoul returns without error
* s/fileno\(stdin\)/STDIN_FILENO/gEric Andersen2004-03-271-2/+2
| | | | s/fileno\(stdout\)/STDOUT_FILENO/g
* Remove trailing whitespace. Update copyright to include 2004.Eric Andersen2004-03-151-25/+25
|
* Fix/eliminate use of atolEric Andersen2004-03-061-3/+11
|
* No need to check proxy env variable twice, ignore proxy env variable ifGlenn L McGrath2004-02-221-14/+15
| | | | its set to 0
* Fix http proxy use, bytes were swapped1_00_pre6Glenn L McGrath2004-01-311-2/+2
|
* Pascal Brisset writes:Eric Andersen2004-01-261-2/+2
| | | | | | | | | | 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
* Patch from Leif Lindholm (slightly modified by me), to fix httpGlenn L McGrath2004-01-171-1/+4
| | | | | | | 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
* Modify bb_lookup_port to allow the protocol to be specified, allowingGlenn L McGrath2004-01-171-3/+3
| | | | /etc/services support for inetd, netcat and tftp.
* Fix a bug of mine, identified by Stephane BilliartGlenn L McGrath2003-12-271-3/+2
|
* Change interface to bb_lookup_host, dont try and set port inside thisGlenn L McGrath2003-12-201-21/+14
| | | | | | | | 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.
* Use getopt_ulflagsGlenn L McGrath2003-12-191-58/+50
|
* Rework wget, the xconnect interface, and its various clientsEric Andersen2003-10-311-9/+21
| | | | | | | | | | | | | | 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
* Be entirely consistant when using ioctl(0, TIOCGWINSZ, &winsize)Eric Andersen2003-09-151-7/+4
| | | | | to ensure proper fallback behavior on, i.e. serial consoles. -Erik
* Patch from Philip Blundell:Eric Andersen2003-09-111-2/+2
| | | | | | | | | | 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.
* add ipv6 literal support to wgetGlenn L McGrath2003-09-101-4/+26
|
* Correct logic in determining size of block to download, as pointed outGlenn L McGrath2003-08-291-2/+2
| | | | by Junio C Hamano
* "When the initial request by wget is responded by a 3XX redirectGlenn L McGrath2003-08-281-2/+5
| | | | | | | | | | | 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@ ----------------------------------------------------------------------
* "When the filesize is known from content-length header, safe_fread isGlenn L McGrath2003-08-281-13/+15
| | | | | | | | 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
* Remove remaining libc5 support codeEric Andersen2003-07-221-14/+1
|
* Major coreutils update.Manuel Novoa III2003-03-191-23/+23
|
* cope with crappy windoze ftp serversEric Andersen2003-03-111-2/+2
|
* Accept the --passive-ftp cmd.line option. We always use passive ftp mode,Robert Griebl2002-07-121-8/+14
| | | | so it doesn't hurt (adds compatibility though)
* A patch from Bart Visscher <magick@linux-fan.com> to add anEric Andersen2002-07-031-12/+4
| | | | | | | | | 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!
* Added support for -Y|--proxy=on/off to wgetRobert Griebl2002-05-141-6/+14
|
* * networking/wget.c (wget_main): Check return value of safe_fwrite.Matt Kraai2002-04-171-2/+3
|
* * networking/wget.c (parse_url): Allocate a string for the empty path.Matt Kraai2002-03-191-2/+2
| | | | * testsuite/wget/wget-handles-empty-path: New.
* Major rework of the directory structure and the entire build system.Eric Andersen2001-10-241-12/+12
| | | | -Erik
* Some adjustments, mostly from David McCullough <davidm@lineo.com> toEric Andersen2001-07-191-2/+2
| | | | | | | 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
* The -P prefix should only be prepended to filenames which are not explicitlyMatt Kraai2001-07-191-4/+4
| | | | specified.
* The directory name should only be prepended if one was specified.Matt Kraai2001-07-191-2/+3
|
* Add wget -P support, finishing off bug #1176Eric Andersen2001-06-211-3/+7
| | | | -Erik
* Add xgethostbyname and herror_msg* functions.Matt Kraai2001-05-161-3/+2
|
* Suggestion from Larry: no format string, use fputs instead.Eric Andersen2001-05-151-2/+2
|
* Patch from Adam Heath <doogie@debian.org> to add arbitrary header supportEric Andersen2001-05-151-3/+38
| | | | to wget, so it can now do funky interactive things with cgi scripts.
* When doing a 'wget -O -' turn on the quiet flag, lest the status barEric Andersen2001-05-131-1/+2
| | | | | noise get mingled with the retrieved webpage. -Erik
* Make stdio functions which can be interrupted by the progressmeter timerMatt Kraai2001-05-091-5/+49
| | | | recover gracefully from EINTR.
* Applied a patch from Laurence Anderson to fix the wget statusbar and a patchMark Whitley2001-04-171-19/+17
| | | | to usage.h to document the -q option.
* Use putc, and write to stderr as the rest of the progressmeter does.Matt Kraai2001-04-111-2/+2
|
* Only finish with a newline if we are displaying the progress indicator.Matt Kraai2001-04-111-2/+5
|
* Fix behavior when extracting to stdout. Report and patch byMatt Kraai2001-04-111-5/+5
| | | | Evin Robertson <nitfol@my-deja.com>.
* This patch from Laurence Anderson <laurence@zxmail.com> fixesEric Andersen2001-04-101-17/+30
| | | | | wget HTTP 1.1 support and addes chunked encoding so bb wget is now fully RFC compliant.
* A patch from Dmitry Zakharov <dmit@crp.bank.gov.ua> which addsEric Andersen2001-04-051-97/+282
| | | | | | | | | | | | | | - 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
* A nice patch from Larry Doolittle that adds -Wshadow andEric Andersen2001-03-211-7/+7
| | | | cleans up most of the now-revealed problems.
* A cleanup patch from Jeff Garzik to static-ify a number ofEric Andersen2001-03-091-11/+11
| | | | namespace polluting things that really should be static.
* It turns out that DODMALLOC was broken when I reorganized busybox.hEric Andersen2001-02-201-2/+3
| | | | | | 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
* This patch, put together by Manuel Novoa III, is a merge of workEric Andersen2001-02-141-3/+3
| | | | | | done by Evin Robertson (bug#1105) and work from Manuel to make usage messages occupy less space and simplify how usage messages are displayed.
* Fix wget error message and add (and use) chomp library function.Matt Kraai2001-02-011-1/+2
|