summaryrefslogtreecommitdiff
path: root/lib/libfetch
Commit message (Collapse)AuthorAgeFilesLines
* Insta-MFC of the shared library version bump. All shared librariesKen Smith2005-07-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | whose version has not already been bumped since RELENG_5 are being bumped. Revisions of files being MFC-ed: > Path Revision > src/gnu/lib/libdialog/Makefile 1.43 > src/gnu/lib/libg2c/Makefile 1.16 > src/gnu/lib/libobjc/Makefile 1.27 > src/gnu/lib/libreadline/Makefile.inc 1.12 > src/gnu/lib/libregex/Makefile 1.32 > src/gnu/lib/libstdc++/Makefile 1.56 > src/kerberos5/lib/Makefile.inc 1.7 > src/lib/Makefile.inc 1.3 > src/lib/libalias/Makefile 1.31 > src/lib/libarchive/Makefile 1.37 > src/lib/libbegemot/Makefile 1.3 > src/lib/libbluetooth/Makefile 1.2 > src/lib/libbsnmp/Makefile.inc 1.6 > src/lib/libbz2/Makefile 1.6 > src/lib/libc_r/Makefile 1.42 > src/lib/libcrypt/Makefile 1.36 > src/lib/libdevstat/Makefile 1.15 > src/lib/libdevstat/devstat.h 1.11 > src/lib/libedit/Makefile 1.29 > src/lib/libexpat/Makefile 1.5 > src/lib/libfetch/Makefile 1.45 > src/lib/libftpio/Makefile 1.14 > src/lib/libgpib/Makefile 1.2 > src/lib/libipsec/Makefile 1.17 > src/lib/libkiconv/Makefile 1.3 > src/lib/libmagic/Makefile 1.7 > src/lib/libmp/Makefile 1.10 > src/lib/libncp/Makefile 1.6 > src/lib/libncurses/Makefile 1.79 > src/lib/libnetgraph/Makefile 1.11 > src/lib/libngatm/Makefile 1.6 > src/lib/libopie/Makefile 1.21 > src/lib/libpam/Makefile.inc 1.17 > src/lib/libpthread/Makefile 1.54 > src/lib/libradius/Makefile 1.12 > src/lib/libsdp/Makefile 1.4 > src/lib/libsmb/Makefile 1.8 > src/lib/libtacplus/Makefile 1.7 > src/lib/libthr/Makefile 1.14 > src/lib/libthread_db/Makefile 1.6 > src/lib/libugidfw/Makefile 1.7 > src/lib/libusbhid/Makefile 1.10 > src/lib/libutil/Makefile 1.57 > src/lib/libvgl/Makefile 1.11 > src/lib/libwrap/Makefile 1.17 > src/lib/libypclnt/Makefile 1.13 > src/lib/msun/Makefile 1.72 > src/secure/lib/libcrypto/Makefile 1.74 > src/secure/lib/libssh/Makefile 1.35 > src/secure/lib/libssl/Makefile 1.22 > src/usr.sbin/bsnmpd/modules/Makefile.inc 1.10 Reviewed by: ru Approved by: re (scottl) Notes: svn path=/stable/6/; revision=148300
* Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flushKelly Yancey2005-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) Notes: svn path=/head/; revision=143049
* Fix a memory leak: when freeing the connection structure, don't forget toDag-Erling Smørgrav2005-02-161-0/+1
| | | | | | | | | | free the connection buffer as well. PR: bin/76153 MFC after: 1 week Notes: svn path=/head/; revision=141970
* Set TCP_NOPUSH on HTTP requests, reducing the number of round-tripsKelly Yancey2005-02-161-1/+9
| | | | | | | | | necessary to establish each connection. MFC after: 2 weeks Notes: svn path=/head/; revision=141958
* Expand contractions.Ruslan Ermilov2005-02-131-2/+2
| | | | Notes: svn path=/head/; revision=141851
* Expand *n't contractions.Ruslan Ermilov2005-02-131-1/+1
| | | | Notes: svn path=/head/; revision=141846
* NOCRYPT -> NO_CRYPTRuslan Ermilov2004-12-211-1/+1
| | | | Notes: svn path=/head/; revision=139113
* Update copyright years.Dag-Erling Smørgrav2004-09-218-8/+9
| | | | Notes: svn path=/head/; revision=135546
* Don't forget to allocate space for the terminating NUL when converting toDag-Erling Smørgrav2004-08-071-1/+1
| | | | | | | | | | | base 64. PR: misc/70022 Submitted by: Herve Masson <herve-bsdbt@mindstep.com> MFC after: 3 days Notes: svn path=/head/; revision=133280
* Join the 21st century: Cryptography is no longer an optional componentColin Percival2004-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 Notes: svn path=/head/; revision=133196
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131504
* Slight tweak to previous commit: don't forget to call _http_seterr() ifDag-Erling Smørgrav2004-02-111-0/+1
| | | | | | | we get a genuine 416 reply. Notes: svn path=/head/; revision=125697
* When restarting a transfer that has already completed, the server willDag-Erling Smørgrav2004-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. Notes: svn path=/head/; revision=125696
* Re-wrap some comments.Dag-Erling Smørgrav2004-02-111-6/+7
| | | | Notes: svn path=/head/; revision=125695
* I don't normally use my middle name, so remove it from attributions inDag-Erling Smørgrav2004-01-251-2/+2
| | | | | | | | man pages (though not from copyright notices). While I'm here, add email addresses where appropriate. Notes: svn path=/head/; revision=124963
* preparation for RFC3493. EAI_NODATA was deprecated.Hajimu UMEMOTO2003-10-231-0/+2
| | | | Notes: svn path=/head/; revision=121423
* mdoc(7): Use the new feature of the .In macro.Ruslan Ermilov2003-09-081-4/+4
| | | | Notes: svn path=/head/; revision=119893
* Don't close a FILE * which we know is bogus.Dag-Erling Smørgrav2003-08-291-1/+0
| | | | Notes: svn path=/head/; revision=119557
* Some servers respond to RETR in active mode with 125 (connection alreadyDag-Erling Smørgrav2003-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 Notes: svn path=/head/; revision=119123
* Make sure the crypto versions of libfetch and fetch(1) appear inRuslan Ermilov2003-07-221-0/+1
| | | | | | | | | the "crypto" distribution. Approved by: des Notes: svn path=/head/; revision=117890
* Add an EXAMPLES section.Tom Rhodes2003-06-101-0/+22
| | | | | | | | PR: 43899 Reviewed by: des, ru Notes: svn path=/head/; revision=116169
* Assorted mdoc(7) fixes.Ruslan Ermilov2003-05-221-1/+1
| | | | | | | Approved by: re (blanket) Notes: svn path=/head/; revision=115225
* Retire the useless NOSECURE knob.Dag-Erling Smørgrav2003-05-191-1/+1
| | | | | | | Approved by: re (scottl) Notes: svn path=/head/; revision=115157
* Mark libfetch as c99-clean. Always build at WARNS level 2 rather thanDag-Erling Smørgrav2003-05-011-2/+2
| | | | | | | | juggling with levels 2 and 3, as this has lead to world breakage for NOCRYPT users in the past. Notes: svn path=/head/; revision=114420
* Don't dereference flags if NULL (see http.c rev 1.87)Dag-Erling Smørgrav2003-03-291-1/+1
| | | | Notes: svn path=/head/; revision=112797
* The flags passed in to _ftp_get_proxy may be nullMike Makonnen2003-03-191-1/+1
| | | | | | | Approved by: des, markm (mentor)(implicit) Notes: svn path=/head/; revision=112420
* Don't parse the proxy URL unless we're actually going to use it. No realDag-Erling Smørgrav2003-03-112-8/+16
| | | | | | | functional difference, but debugging output will be less confusing. Notes: svn path=/head/; revision=112081
* Add and document support for a FETCH_BIND_ADDRESS environment variableDag-Erling Smørgrav2003-03-033-4/+37
| | | | | | | | | specifying a local address to bind sockets to. Caveat: lightly tested. PR: bin/37572 Notes: svn path=/head/; revision=111816
* No need for the OPENSSL_NO_KRB5 switch anymore.Mark Murray2003-01-311-1/+1
| | | | | | | Fixed by: nectar Notes: svn path=/head/; revision=110165
* Adjust for OpenSSL 0.9.7.Mark Murray2003-01-281-1/+1
| | | | Notes: svn path=/head/; revision=110011
* style(9): add parentheses to sizeof even when not strictly required.Dag-Erling Smørgrav2003-01-285-22/+22
| | | | | | | MFC after: 3 days Notes: svn path=/head/; revision=109967
* Fix signed/unsigned comparison warning/error from 'make release'John W. De Boskey2003-01-281-4/+4
| | | | Notes: svn path=/head/; revision=109960
* Document .netrc support.Dag-Erling Smørgrav2003-01-221-0/+8
| | | | Notes: svn path=/head/; revision=109701
* Hook in the .netrc code + don't use pointers as if they were booleans.Dag-Erling Smørgrav2003-01-221-4/+6
| | | | Notes: svn path=/head/; revision=109697
* Experimental support for .netrc.Dag-Erling Smørgrav2003-01-222-0/+92
| | | | Notes: svn path=/head/; revision=109695
* Initialization paranoia.Dag-Erling Smørgrav2003-01-221-0/+8
| | | | Notes: svn path=/head/; revision=109694
* A negative offset means "get it all".Dag-Erling Smørgrav2003-01-221-2/+2
| | | | Notes: svn path=/head/; revision=109693
* Set auto-retry mode to avoid some spurious errors.Dag-Erling Smørgrav2003-01-031-0/+1
| | | | | | | | Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 7 days Notes: svn path=/head/; revision=108579
* english(4) police.Jens Schweikhardt2002-12-271-2/+2
| | | | Notes: svn path=/head/; revision=108317
* Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64.Jake Burkholder2002-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 Notes: svn path=/head/; revision=107570
* Implement and document support for an HTTP_REFERER environment variable.Dag-Erling Smørgrav2002-11-282-12/+26
| | | | | | | | | | PR: 28171 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Approved by: re (bmah) MFC after: 1 week Notes: svn path=/head/; revision=107372
* Fix two typos.Bill Fenner2002-11-081-2/+2
| | | | Notes: svn path=/head/; revision=106656
* Use __func__ and break a long line.Dag-Erling Smørgrav2002-10-301-5/+4
| | | | Notes: svn path=/head/; revision=106207
* Fix a bug in fenner's _fetch_writev() patch (rev 1.36)Dag-Erling Smørgrav2002-10-301-1/+6
| | | | | | | Submitted by: fenner Notes: svn path=/head/; revision=106205
* Recognize the (incorrect) error code a MediaHawk server sends in reply toDag-Erling Smørgrav2002-10-301-0/+1
| | | | | | | | | unrecognized commands such as MDTM. Requested by: Stephen Roome <stephen_roome@pepcross.com> Notes: svn path=/head/; revision=106190
* Clarify my feelings towards fetch / libfetch.Dag-Erling Smørgrav2002-10-301-1/+0
| | | | Notes: svn path=/head/; revision=106187
* Recommit the non-broken parts of 1.34 and 1.37.Dag-Erling Smørgrav2002-10-301-6/+11
| | | | | | | Change the type and name of a variable introduced in 1.33. Notes: svn path=/head/; revision=106186
* Don't forget to set the error flag when _fetch_read() returns -1.Dag-Erling Smørgrav2002-10-301-2/+6
| | | | Notes: svn path=/head/; revision=106185
* Reinstate revs 1.35-36 and 1.38. Revisions 1.34 and 1.37 were specificallyWarner Losh2002-10-301-12/+38
| | | | | | | | | | | the root cause of the bus errors I was experiencing. Submitted by: fenner Tested by: obrien Prompted by: peter Notes: svn path=/head/; revision=106175
* Fix `pkg_add -r' by backing out revs 1.34-1.38.David E. O'Brien2002-10-291-52/+19
| | | | | | | | Revs 1.37-8 produce a bus error in some environments. Revs 1.34-6 do not bus error, but write corrupted files. Notes: svn path=/head/; revision=106137