aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch/common.c
Commit message (Expand)AuthorAgeFilesLines
* Mark all socket and file descriptors close-on-exec.Dag-Erling Smørgrav2011-05-131-0/+1
* Move variable declarations into the conditional block where they areEd Maste2010-10-241-1/+1
* Redo fetch_read() using non-blocking sockets. This is necessary toDag-Erling Smørgrav2010-07-281-20/+89
* PR: 139751Fabien Thomas2009-10-211-1/+1
* Fix one-byte buffer overflow: NUL gets written to the buffer, but isn'tColin Percival2008-04-151-1/+1
* s/wait/delta/ to avoid namespace collision.Dag-Erling Smørgrav2008-03-201-16/+16
* Use memcpy(3) instead of the BSD-specific bcopy(3).Dag-Erling Smørgrav2008-02-081-1/+1
* As several people pointed out, I did all the ctype casts the wrongDag-Erling Smørgrav2007-12-191-2/+2
* Add support for the NO_PROXY / no_proxy environment variable as used byDag-Erling Smørgrav2007-12-181-0/+50
* Clean up namespace violations.Dag-Erling Smørgrav2007-12-141-50/+50
* Fix a memory leak: when freeing the connection structure, don't forget toDag-Erling Smørgrav2005-02-161-0/+1
* Update copyright years.Dag-Erling Smørgrav2004-09-211-1/+1
* preparation for RFC3493. EAI_NODATA was deprecated.Hajimu UMEMOTO2003-10-231-0/+2
* Add and document support for a FETCH_BIND_ADDRESS environment variableDag-Erling Smørgrav2003-03-031-3/+32
* style(9): add parentheses to sizeof even when not strictly required.Dag-Erling Smørgrav2003-01-281-8/+8
* Fix signed/unsigned comparison warning/error from 'make release'John W. De Boskey2003-01-281-4/+4
* Experimental support for .netrc.Dag-Erling Smørgrav2003-01-221-0/+91
* Set auto-retry mode to avoid some spurious errors.Dag-Erling Smørgrav2003-01-031-0/+1
* Fix a bug in fenner's _fetch_writev() patch (rev 1.36)Dag-Erling Smørgrav2002-10-301-1/+6
* Recommit the non-broken parts of 1.34 and 1.37.Dag-Erling Smørgrav2002-10-301-6/+11
* Reinstate revs 1.35-36 and 1.38. Revisions 1.34 and 1.37 were specificallyWarner Losh2002-10-301-12/+38
* Fix `pkg_add -r' by backing out revs 1.34-1.38.David E. O'Brien2002-10-291-52/+19
* Fix an off-by-one error (> where >= should have been used) which causedDag-Erling Smørgrav2002-10-281-6/+5
* Slight amendment to rev 1.34: instead of considering any short read anDag-Erling Smørgrav2002-10-271-6/+8
* Introduce _fetch_writev(), which is the conn_t version of writev(2). InDag-Erling Smørgrav2002-10-271-7/+34
* Eliminate two cases of undefined behaviour: total in _fetch_write() wasDag-Erling Smørgrav2002-10-271-0/+1
* Back out the previous commit, and fix the bug rather than try to hide itsDag-Erling Smørgrav2002-10-271-10/+18
* Fix an infinite loop when _fetch_read() can return 0 (if theAlfred Perlstein2002-09-201-1/+5
* Make _fetch_connect() always set the error code.Bill Fenner2002-09-171-1/+3
* Reintroduce debugging code that somehow got lost in a previous revision.Dag-Erling Smørgrav2002-06-241-0/+2
* Add a reference count to struct fetchconn so we don't prematurely close andDag-Erling Smørgrav2002-06-111-0/+19
* Make SSL support conditional on NOCRYPT.Dag-Erling Smørgrav2002-06-051-0/+11
* Add SSL support + slight cleanup.Dag-Erling Smørgrav2002-06-051-1/+49
* Wrap everything in struct connection, and enforce timeouts everywhereDag-Erling Smørgrav2002-06-051-61/+130
* First step towards SSL support: wrap connections in a 'struct connection'Dag-Erling Smørgrav2002-06-051-24/+56
* Switch to a self-starting allocation scheme.Dag-Erling Smørgrav2002-02-051-10/+3
* Reindent, and add parentheses to return statements. Some functions inDag-Erling Smørgrav2002-02-051-233/+230
* Remove VT100 escapes from debugging messages now that they're enabled byDag-Erling Smørgrav2002-01-011-3/+3
* Back out part of previous commit which was gcc-centricDag-Erling Smørgrav2001-10-191-2/+2
* Tons of type, style and warning fixes that have been rotting in my tree forDag-Erling Smørgrav2001-10-181-5/+8
* Add __FBSDID()s to libfetchMatthew Dillon2001-09-301-2/+3
* MAXPATHLEN -> PATH_MAXDag-Erling Smørgrav2001-05-261-1/+1
* Apply 'const' liberally.Archie Cobbs2001-04-241-9/+9
* Don't try to get the proxy port number from /etc/services.Dag-Erling Smørgrav2000-11-271-4/+0
* Use the documented (and historical) defaults. Centralize the decision logicDag-Erling Smørgrav2000-11-101-0/+34
* Introduce the (undocumented) variable fetchRestartCalls, which controls whetherDag-Erling Smørgrav2000-07-171-2/+2
* Add _fetch_putln()Dag-Erling Smørgrav2000-07-111-5/+29
* Clean up the debugging outputDag-Erling Smørgrav2000-07-111-3/+2
* Free chunks obtained by getaddrinfo(3).Hajimu UMEMOTO2000-07-101-0/+1
* Output newline after debugging messageDag-Erling Smørgrav2000-05-251-0/+1