summaryrefslogtreecommitdiffstats
path: root/lib/libfetch
Commit message (Collapse)AuthorAgeFilesLines
* Respect MK_INET6_SUPPORT.yar2006-07-271-1/+4
|
* Respect FETCH_BIND_ADDRESS when opening the data connection.des2006-06-131-0/+5
| | | | PR: misc/98872
* Fix a bug introduced in rev 1.92, where, when changing from one directorydes2006-06-131-0/+2
| | | | | | | | to another, the first CWD after a string of CDUPs would incorrectly include a slash before the directory name. Reported by: obrien PR: bin/83278
* Reimplementation of world/kernel build options. For details, see:ru2006-03-171-1/+3
| | | | | | | | http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html The src.conf(5) manpage is to follow in a few days. Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
* In order to maintain interoperability with certain broken FTP servers,des2006-01-191-2/+18
| | | | | | | ignore a MODE failure if and only if the mode we attempted to set was S (which is supposed to be the default). PR: bin/91973
* Fix misspelling in Poul-Henning Kamp's email address under AUTHORS, fromtmclaugh2005-11-301-1/+1
| | | | | | pkh@ to phk@. Approved by: ade
* Ignore HTTP_PROXY if it is defined but empty. This was already handleddes2005-08-241-1/+1
| | | | | | | | | | correctly in the case of FTP_PROXY, because an empty FTP_PROXY has a specific meaning ("don't use any proxy at all for ftp, even if HTTP_PROXY is defined"), while an empty HTTP_PROXY has no meaning at all. PR: bin/85185 Submitted by: Conall O'Brien <conallob=freebsd@maths.tcd.ie> MFC after: 2 weeks
* Change directory one level at a time, and use CDUP to back out. This is ades2005-08-121-29/+152
| | | | | | | work in progress; it partially fixed bin/83278 and is a prerequisite to fixing bin/83277. PR: bin/83277, bin/83278
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flushkbyanc2005-03-021-2/+15
| | | | | | | | any pending HTTP request rather than calling shutdown(2) with SHUT_WR. This makes libfetch (and thus fetch(1)) work again with Squid proxies configured to not allow half-closed connections. Reported by: Pawel Worach (pawel.worach AT telia DOT com)
* Fix a memory leak: when freeing the connection structure, don't forget todes2005-02-161-0/+1
| | | | | | | free the connection buffer as well. PR: bin/76153 MFC after: 1 week
* Set TCP_NOPUSH on HTTP requests, reducing the number of round-tripskbyanc2005-02-161-1/+9
| | | | | | necessary to establish each connection. MFC after: 2 weeks
* Expand contractions.ru2005-02-131-2/+2
|
* Expand *n't contractions.ru2005-02-131-1/+1
|
* NOCRYPT -> NO_CRYPTru2004-12-211-1/+1
|
* Update copyright years.des2004-09-218-8/+9
|
* Don't forget to allocate space for the terminating NUL when converting todes2004-08-071-1/+1
| | | | | | | | base 64. PR: misc/70022 Submitted by: Herve Masson <herve-bsdbt@mindstep.com> MFC after: 3 days
* Join the 21st century: Cryptography is no longer an optional componentcperciva2004-08-061-1/+0
| | | | | | | | | | of releases. The -DNOCRYPT build option still exists for anyone who really wants to build non-cryptographic binaries, but the "crypto" release distribution is now part of "base", and anyone installing from a release will get cryptographic binaries. Approved by: re (scottl), markm Discussed on: freebsd-current, in late April 2004
* Mechanically kill hard sentence breaks.ru2004-07-021-1/+1
|
* Slight tweak to previous commit: don't forget to call _http_seterr() ifdes2004-02-111-0/+1
| | | | we get a genuine 416 reply.
* When restarting a transfer that has already completed, the server willdes2004-02-111-9/+41
| | | | | | | reply with a 416 error code (requested range not satisfiable) because we ask it to start at the end of the file. Handle this gracefully by considering a 416 reply a success if the requested offset exactly matches the length of the file and the requested length is zero.
* Re-wrap some comments.des2004-02-111-6/+7
|
* I don't normally use my middle name, so remove it from attributions indes2004-01-251-2/+2
| | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate.
* preparation for RFC3493. EAI_NODATA was deprecated.ume2003-10-231-0/+2
|
* mdoc(7): Use the new feature of the .In macro.ru2003-09-081-4/+4
|
* Don't close a FILE * which we know is bogus.des2003-08-291-1/+0
|
* Some servers respond to RETR in active mode with 125 (connection alreadydes2003-08-191-1/+1
| | | | | | | | open) rather than 150 (opening connection). There's no reason why we shouldn't accept that. PR: misc/42172 MFC in: 3 days
* Make sure the crypto versions of libfetch and fetch(1) appear inru2003-07-221-0/+1
| | | | | | the "crypto" distribution. Approved by: des
* Add an EXAMPLES section.trhodes2003-06-101-0/+22
| | | | | PR: 43899 Reviewed by: des, ru
* Assorted mdoc(7) fixes.ru2003-05-221-1/+1
| | | | Approved by: re (blanket)
* Retire the useless NOSECURE knob.des2003-05-191-1/+1
| | | | Approved by: re (scottl)
* Mark libfetch as c99-clean. Always build at WARNS level 2 rather thandes2003-05-011-2/+2
| | | | | juggling with levels 2 and 3, as this has lead to world breakage for NOCRYPT users in the past.
* Don't dereference flags if NULL (see http.c rev 1.87)des2003-03-291-1/+1
|
* The flags passed in to _ftp_get_proxy may be nullmtm2003-03-191-1/+1
| | | | Approved by: des, markm (mentor)(implicit)
* Don't parse the proxy URL unless we're actually going to use it. No realdes2003-03-112-8/+16
| | | | functional difference, but debugging output will be less confusing.
* Add and document support for a FETCH_BIND_ADDRESS environment variabledes2003-03-033-4/+37
| | | | | | specifying a local address to bind sockets to. Caveat: lightly tested. PR: bin/37572
* No need for the OPENSSL_NO_KRB5 switch anymore.markm2003-01-311-1/+1
| | | | Fixed by: nectar
* Adjust for OpenSSL 0.9.7.markm2003-01-281-1/+1
|
* style(9): add parentheses to sizeof even when not strictly required.des2003-01-285-22/+22
| | | | MFC after: 3 days
* Fix signed/unsigned comparison warning/error from 'make release'jwd2003-01-281-4/+4
|
* Document .netrc support.des2003-01-221-0/+8
|
* Hook in the .netrc code + don't use pointers as if they were booleans.des2003-01-221-4/+6
|
* Experimental support for .netrc.des2003-01-222-0/+92
|
* Initialization paranoia.des2003-01-221-0/+8
|
* A negative offset means "get it all".des2003-01-221-2/+2
|
* Set auto-retry mode to avoid some spurious errors.des2003-01-031-0/+1
| | | | | Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 7 days
* english(4) police.schweikh2002-12-271-2/+2
|
* Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64.jake2002-12-041-1/+1
| | | | | | | This may only be turning up now to changes in the cpp predefines for sparc64, which may be turning on more strict alignment checking. Approved by: re
* Implement and document support for an HTTP_REFERER environment variable.des2002-11-282-12/+26
| | | | | | | PR: 28171 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Approved by: re (bmah) MFC after: 1 week
* Fix two typos.fenner2002-11-081-2/+2
|
OpenPOWER on IntegriCloud