summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
2003-12-10Don't warn about "ignored setsockopt" failures unless debugging islukem
2003-12-04correct URL syntax in commentlukem
2003-07-31* $FTPUSERAGENT overrides the HTTP User-Agent header.lukem
2003-07-26netbsd.org->NetBSD.orgsalo
2003-07-12strlcpyitojun
2003-05-14Uppercase URL.wiz
2003-03-07fix a bogus error message when given a HTTP URL with a trailinggrant
2003-02-28crank dateslukem
2003-02-28add a cast to appease SUNWspro cc. noted by grant@lukem
2002-11-30tweaks for fparseln(3) move from libutil to libc:lukem
2002-06-05- when showing the final progress bar, replace "00:00 ETA" with thelukem
2002-05-06Handle URLs without files correctly (e.g, when using '-o -').lukem
2002-05-06- Only send port number in HTTP/1.1 Host: request if port != 80.lukem
2002-02-01portnum is unsigned, use %u instead of %ditojun
2001-12-26update copyrightslukem
2001-12-23Add -4 to force IPv4 and -6 to force IPv6 address usage.lukem
2001-11-29use u_char instead of char in base64_encode().lukem
2001-11-25don't make broken file with -R option.yamt
2001-11-25handle "*" in Content-Range properly.yamt
2001-10-15If no_proxy condition is true && urltype == FTP_URL_T, use fetch_ftp to retri...tacha
2001-02-19convert to use getprogname()cgd
2000-09-28explicitly use SOCK_STREAM with socket() instead of res->ai_socktype,lukem
2000-08-28base64_encode should be static. picked up by hp/ux(!) compilerlukem
2000-08-27It appears that whilst Apache 1.3.9 incorrectly puts a trailing spacelukem
2000-08-06* implement parseport(), which takes a string and attempts to convertlukem
2000-08-01- rename NO_QUAD to NO_LONG_LONG, QUAD* -> LL* and add ULL* (unsigned)lukem
2000-07-30* always use getaddrinfo() and getnameinfo() instead of maintaining two codelukem
2000-07-30clean up NO_QUAD support: create helper #defines and use as appropriate:lukem
2000-07-18minor knf. call setbinary()/setascii() with non-NULL 2nd arglukem
2000-07-07errx?/warnx? audit. do not pass variable alone, use %s. idea from openbsditojun
2000-06-15* migrate the SYST parsing from setpeer() into a separate remotesyst().lukem
2000-06-05- fix ai_unmapped() to be a no-op in the !def INET6 caselukem
2000-05-31Add support for 'ftp -u url file ...', to upload a list of files to given url.lukem
2000-05-29convert IPv4 mapped address (::ffff:10.1.1.1) into real IPv4 addressitojun
2000-05-25do not pass scoped IPv6 address notation on Host: directive, sinceitojun
2000-05-01convert to ANSI KNFlukem
2000-05-01* Add support for `fget localfile', which reads a list of filenames tolukem
2000-04-13fixes from cgd:lukem
2000-04-13s/strtoq/strtoll/ (the latter is standardised)lukem
2000-03-09make debugging output unambiguous on IPv6 numeric addrs (don't use host:port)itojun
2000-03-09http://[::1]:8080/ is legal.itojun
2000-02-14only use getaddrinfo() et al if both NI_NUMERICHOST *and* INET6 are defined...lukem
2000-01-31define private type `sigfunc' aslukem
2000-01-25work around bug in apache 1.3.9 which incorrectly puts a trailinglukem
1999-12-21change references from draft-ietf-ipngwg-url-literal-01.txt to RFC 2732lukem
1999-12-11Fix chunked support; probably broke after rate limiting was added.lukem
1999-12-05move version into separate file to reduce recompilation after version crank.lukem
1999-12-05* remove unnecessary freeaddrinfo(res), since res0 was changed to belukem
1999-12-03fix memory leak in fetch_url (no freeaddrinfo was there).itojun
1999-11-26* complete_remote(): use remglob("", ...) instead of remglob(".", ...),lukem