Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Set the TCP_NODELAY socket option and clear TCP_NOPUSH in order to flush | kbyanc | 2005-03-02 | 1 | -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 to | des | 2005-02-16 | 1 | -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-trips | kbyanc | 2005-02-16 | 1 | -1/+9 |
| | | | | | | necessary to establish each connection. MFC after: 2 weeks | ||||
* | Expand contractions. | ru | 2005-02-13 | 1 | -2/+2 |
| | |||||
* | Expand *n't contractions. | ru | 2005-02-13 | 1 | -1/+1 |
| | |||||
* | NOCRYPT -> NO_CRYPT | ru | 2004-12-21 | 1 | -1/+1 |
| | |||||
* | Update copyright years. | des | 2004-09-21 | 8 | -8/+9 |
| | |||||
* | Don't forget to allocate space for the terminating NUL when converting to | des | 2004-08-07 | 1 | -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 component | cperciva | 2004-08-06 | 1 | -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. | ru | 2004-07-02 | 1 | -1/+1 |
| | |||||
* | Slight tweak to previous commit: don't forget to call _http_seterr() if | des | 2004-02-11 | 1 | -0/+1 |
| | | | | we get a genuine 416 reply. | ||||
* | When restarting a transfer that has already completed, the server will | des | 2004-02-11 | 1 | -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. | des | 2004-02-11 | 1 | -6/+7 |
| | |||||
* | I don't normally use my middle name, so remove it from attributions in | des | 2004-01-25 | 1 | -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. | ume | 2003-10-23 | 1 | -0/+2 |
| | |||||
* | mdoc(7): Use the new feature of the .In macro. | ru | 2003-09-08 | 1 | -4/+4 |
| | |||||
* | Don't close a FILE * which we know is bogus. | des | 2003-08-29 | 1 | -1/+0 |
| | |||||
* | Some servers respond to RETR in active mode with 125 (connection already | des | 2003-08-19 | 1 | -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 in | ru | 2003-07-22 | 1 | -0/+1 |
| | | | | | | the "crypto" distribution. Approved by: des | ||||
* | Add an EXAMPLES section. | trhodes | 2003-06-10 | 1 | -0/+22 |
| | | | | | PR: 43899 Reviewed by: des, ru | ||||
* | Assorted mdoc(7) fixes. | ru | 2003-05-22 | 1 | -1/+1 |
| | | | | Approved by: re (blanket) | ||||
* | Retire the useless NOSECURE knob. | des | 2003-05-19 | 1 | -1/+1 |
| | | | | Approved by: re (scottl) | ||||
* | Mark libfetch as c99-clean. Always build at WARNS level 2 rather than | des | 2003-05-01 | 1 | -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) | des | 2003-03-29 | 1 | -1/+1 |
| | |||||
* | The flags passed in to _ftp_get_proxy may be null | mtm | 2003-03-19 | 1 | -1/+1 |
| | | | | Approved by: des, markm (mentor)(implicit) | ||||
* | Don't parse the proxy URL unless we're actually going to use it. No real | des | 2003-03-11 | 2 | -8/+16 |
| | | | | functional difference, but debugging output will be less confusing. | ||||
* | Add and document support for a FETCH_BIND_ADDRESS environment variable | des | 2003-03-03 | 3 | -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. | markm | 2003-01-31 | 1 | -1/+1 |
| | | | | Fixed by: nectar | ||||
* | Adjust for OpenSSL 0.9.7. | markm | 2003-01-28 | 1 | -1/+1 |
| | |||||
* | style(9): add parentheses to sizeof even when not strictly required. | des | 2003-01-28 | 5 | -22/+22 |
| | | | | MFC after: 3 days | ||||
* | Fix signed/unsigned comparison warning/error from 'make release' | jwd | 2003-01-28 | 1 | -4/+4 |
| | |||||
* | Document .netrc support. | des | 2003-01-22 | 1 | -0/+8 |
| | |||||
* | Hook in the .netrc code + don't use pointers as if they were booleans. | des | 2003-01-22 | 1 | -4/+6 |
| | |||||
* | Experimental support for .netrc. | des | 2003-01-22 | 2 | -0/+92 |
| | |||||
* | Initialization paranoia. | des | 2003-01-22 | 1 | -0/+8 |
| | |||||
* | A negative offset means "get it all". | des | 2003-01-22 | 1 | -2/+2 |
| | |||||
* | Set auto-retry mode to avoid some spurious errors. | des | 2003-01-03 | 1 | -0/+1 |
| | | | | | Submitted by: Andre Albsmeier <andre.albsmeier@siemens.com> MFC after: 7 days | ||||
* | english(4) police. | schweikh | 2002-12-27 | 1 | -2/+2 |
| | |||||
* | Reduce WARNS level to 3 in the non-crypto case to fix make release on sparc64. | jake | 2002-12-04 | 1 | -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. | des | 2002-11-28 | 2 | -12/+26 |
| | | | | | | | PR: 28171 Submitted by: Andre Albsmeier <andre.albsmeier@mchp.siemens.de> Approved by: re (bmah) MFC after: 1 week | ||||
* | Fix two typos. | fenner | 2002-11-08 | 1 | -2/+2 |
| | |||||
* | Use __func__ and break a long line. | des | 2002-10-30 | 1 | -5/+4 |
| | |||||
* | Fix a bug in fenner's _fetch_writev() patch (rev 1.36) | des | 2002-10-30 | 1 | -1/+6 |
| | | | | Submitted by: fenner | ||||
* | Recognize the (incorrect) error code a MediaHawk server sends in reply to | des | 2002-10-30 | 1 | -0/+1 |
| | | | | | | unrecognized commands such as MDTM. Requested by: Stephen Roome <stephen_roome@pepcross.com> | ||||
* | Clarify my feelings towards fetch / libfetch. | des | 2002-10-30 | 1 | -1/+0 |
| | |||||
* | Recommit the non-broken parts of 1.34 and 1.37. | des | 2002-10-30 | 1 | -6/+11 |
| | | | | Change the type and name of a variable introduced in 1.33. | ||||
* | Don't forget to set the error flag when _fetch_read() returns -1. | des | 2002-10-30 | 1 | -2/+6 |
| | |||||
* | Reinstate revs 1.35-36 and 1.38. Revisions 1.34 and 1.37 were specifically | imp | 2002-10-30 | 1 | -12/+38 |
| | | | | | | | | the root cause of the bus errors I was experiencing. Submitted by: fenner Tested by: obrien Prompted by: peter | ||||
* | Fix `pkg_add -r' by backing out revs 1.34-1.38. | obrien | 2002-10-29 | 1 | -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. | ||||
* | libfetch is now WARNS5 clean in the non-SSL case. | des | 2002-10-28 | 1 | -1/+1 |
| |