summaryrefslogtreecommitdiff
path: root/usr.bin/ftp/fetch.c
AgeCommit message (Expand)Author
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
1999-11-11whitespace nitslukem
1999-11-10- implement restarting file:/// non-proxied http:// URLs (with -R).lukem
1999-11-09- split the version string into product and versionlukem
1999-11-09when using http/1.1 for unproxied http requests, send the port as a numberlukem
1999-11-03support `about:version'. also display the version in the output of `status'.lukem
1999-10-24new features:lukem
1999-10-12a few user interface and cosmetic tweaks:lukem
1999-10-10use sigjmp_buf for sigsetjmp(), instead of jmp_buf.lukem
1999-10-09* use sigsetjmp()/siglongjump() instead of setjmp()/longjmp(); the latterlukem
1999-10-06more propaganda :)lukem
1999-10-05* fetch_url(): specifically set SIGQUIT to psummary before each xfer.lukem
1999-10-05* factor out SIGINFO setting into a handler that is always active (but onlylukem
1999-10-05add TNFi copyright to all files i've done more than a minor amount of work to...lukem
1999-10-05enhancments from Marc Horowitz <marc@mit.edu> to improve connection timeouts:lukem