summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
2006-07-07Remove extraneous code:Ray Lai
2006-06-23free and sl_free already check against NULL, remove a few unneeded ifs.Steven Mestdagh
2006-06-01Remove two unnecessary strlen() calls. Also, check if asprintfRay Lai
2006-05-25No matter how big the buffer size is, always limit to INT_MAX forRay Lai
2006-05-25Don't recalculate string length, just use return value from vasprintf.Ray Lai
2006-05-25Minor type correction.Ray Lai
2006-05-16Remove shadowing variables and properly use /* FALLTHROUGH */Ray Lai
2006-05-16https URL support; rototilled by a few people including me; originallyTheo de Raadt
2006-04-25two strtol calls that were begging to be converted to strtonumTed Unangst
2006-04-03Ignore http_proxy for file urls; ok millert deraadtUwe Stuehler
2006-03-29fix fetching zero-length files via proxy. while there, also fix progress-meterAlexander von Gernler
2006-02-01save errno, from Ray Lai in PR 4999.Otto Moerbeek
2005-08-05when i did the cleanup and switched to http 1.1, i forgot to add chunkedFederico G. Schwindt
2005-07-18some cleanup and on non-proxy operation switch to HTTP 1.1 since we'veFederico G. Schwindt
2005-04-21avoid infinite recursion on redirects; From NetBSD but limit set to 10.Federico G. Schwindt
2005-04-11knf; cloder okTheo de Raadt
2005-04-05a : in the path is not a port # indicator so don't take ones intoHenning Brauer
2004-09-16type corrections and other delintingTheo de Raadt
2004-07-20ansi; khalek@linuxgamers.netTheo de Raadt
2004-02-28Open a new connection for each URL given on the command line.Kenneth R Westerback
2003-12-16for -DSMALL, do not include rcsid[]sTheo de Raadt
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-04-05string fixes; ok miod henningTheo de Raadt
2003-03-31Treat empty environment variables the same as NULL. henning@ OKTodd C. Miller
2003-03-10correct use of getnameinfo. PR 3138Jun-ichiro itojun Hagino
2003-02-17Fix double free; Brian PooleTodd C. Miller
2002-12-30minor KNFTheo de Raadt
2002-12-19only do "Trying ..." if verboseTheo de Raadt
2002-11-08http redirect support; adapted from NetBSD.Federico G. Schwindt
2002-05-30-4 and -6 options; kanai@big.or.jp; itojun okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ...Todd C. Miller
2001-11-14o Don't accept URLs with user:pass@ and an extra unencoded @.Heikki Korpela
2001-10-27Send User-Agent: OpenBSD ftp to WWW servers and proxies.Heikki Korpela
2001-10-03o Only send port number in the HTTP request 'Host: ' specificationHeikki Korpela
2001-06-23remove evil #ifdef __GNUC__ garbage to avoid longjmp clobbering and use volat...Todd C. Miller
2000-06-30warnx?/errx? paranoia (use "%s" not a bare string unless it is aTodd C. Miller
2000-05-25do not attach incorrect Host: directive if we are using proxy.Jun-ichiro itojun Hagino
2000-05-15parse RFC2732 ftp URL (ftp://[::1]:21/readme)Jun-ichiro itojun Hagino
2000-05-03if no /etc/services file, use defaults. found by millert, fixed by itojunTheo de Raadt
2000-05-02always attach port in numeric, for HTTP Host: header.Jun-ichiro itojun Hagino
2000-04-24support RFC2732 IPv6 address literal URLs (http://[::1]:80/index.html).Jun-ichiro itojun Hagino
2000-01-09Make 'ftp host:/path/to/file' work again. This got broken during IPV6Todd C. Miller
2000-01-04fix file:// URL support; broken by KAME supportTheo de Raadt
1999-12-08ftp(1) from KAME, should be good for testing.Jun-ichiro itojun Hagino
1999-02-09if we read less than Content-Length, whine and errorTheo de Raadt
1998-09-30something was too verboase in http fetch modeTheo de Raadt
1998-09-28first cut at file:/ URL supportTheo de Raadt
1998-09-11don't display Retrieving... message unless verbose output desiredMarco S Hyman
1998-05-13oopsTheo de Raadt
1998-05-13try other h_addr_list addresses when connecting, and handle EINTRTheo de Raadt