aboutsummaryrefslogtreecommitdiff
path: root/lib/libfetch/ftp.c
Commit message (Expand)AuthorAgeFilesLines
* Remove $FreeBSD$: one-line .c patternWarner Losh2023-08-161-2/+0
* Fix libfetch out of bounds read.Gordon Tetlow2021-08-241-1/+4
* Improve URL parsing. In particular, convert scheme and host to lowercase.Dag-Erling Smørgrav2018-11-271-4/+4
* Support proxying FTP over HTTPS, not just HTTP.Dag-Erling Smørgrav2018-11-271-1/+2
* Fix an inverted conditional in the netrc code, which would ignore theDag-Erling Smørgrav2018-05-291-2/+4
* Use __VA_ARGS__ to simplify the DEBUG macro.Dag-Erling Smørgrav2018-05-291-8/+7
* SPDX: use the Beerware identifier.Pedro F. Giffuni2017-11-301-1/+1
* lib: further adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-261-0/+2
* Refactor fetch_connect() and fetch_bind() to improve readability and avoidDag-Erling Smørgrav2016-11-221-2/+2
* libfetch: replace 0 with NULL for pointers.Pedro F. Giffuni2016-04-091-1/+1
* latin1 -> utf8Dag-Erling Smørgrav2011-10-191-2/+2
* Update copyright dates and strip my middle name.Dag-Erling Smørgrav2011-09-271-1/+1
* Think first, commit second.Dag-Erling Smørgrav2011-09-271-4/+3
* Long overdue: make passive mode the default for ftp.Dag-Erling Smørgrav2011-09-271-2/+2
* Increase WARNS to 4.Dag-Erling Smørgrav2011-05-121-1/+1
* Fix a bug related to connection caching which could cause a crash afterDag-Erling Smørgrav2011-01-171-0/+1
* Fix a socket leak in ftp_request() after that a connection is established.Attilio Rao2009-11-251-3/+9
* Use memcpy(3) instead of the BSD-specific bcopy(3).Dag-Erling Smørgrav2008-02-081-4/+4
* Fix a regression introduced in rev 1.99: replace fclose(f) with a commentDag-Erling Smørgrav2008-01-231-1/+5
* As several people pointed out, I did all the ctype casts the wrongDag-Erling Smørgrav2007-12-191-11/+17
* Add support for the NO_PROXY / no_proxy environment variable as used byDag-Erling Smørgrav2007-12-181-5/+7
* Old patch I had lying around: correctly cast the argument to is*().Dag-Erling Smørgrav2007-12-181-10/+10
* Clean up namespace violations.Dag-Erling Smørgrav2007-12-141-116/+116
* Add back the original behavior of changing the entire directory path atNate Lawson2007-04-221-1/+23
* Respect FETCH_BIND_ADDRESS when opening the data connection.Dag-Erling Smørgrav2006-06-131-0/+5
* Fix a bug introduced in rev 1.92, where, when changing from one directoryDag-Erling Smørgrav2006-06-131-0/+2
* In order to maintain interoperability with certain broken FTP servers,Dag-Erling Smørgrav2006-01-191-2/+18
* Change directory one level at a time, and use CDUP to back out. This is aDag-Erling Smørgrav2005-08-121-29/+152
* Update copyright years.Dag-Erling Smørgrav2004-09-211-1/+1
* Don't close a FILE * which we know is bogus.Dag-Erling Smørgrav2003-08-291-1/+0
* Some servers respond to RETR in active mode with 125 (connection alreadyDag-Erling Smørgrav2003-08-191-1/+1
* The flags passed in to _ftp_get_proxy may be nullMike Makonnen2003-03-191-1/+1
* Don't parse the proxy URL unless we're actually going to use it. No realDag-Erling Smørgrav2003-03-111-5/+10
* style(9): add parentheses to sizeof even when not strictly required.Dag-Erling Smørgrav2003-01-281-6/+6
* Hook in the .netrc code + don't use pointers as if they were booleans.Dag-Erling Smørgrav2003-01-221-4/+6
* The FTP connection caching needs a better interface -- connections areNate Lawson2002-10-251-0/+4
* When recycling a cached connection, increment the reference count so thatTim J. Robbins2002-10-201-1/+1
* Make _fetch_connect() always set the error code.Bill Fenner2002-09-171-3/+2
* Cope with 2292bis-01 getaddrinfo (no NI_WITHSCOPEID, always attachHajimu UMEMOTO2002-07-021-0/+1
* Add a reference count to struct fetchconn so we don't prematurely close andDag-Erling Smørgrav2002-06-111-1/+1
* Wrap everything in struct connection, and enforce timeouts everywhereDag-Erling Smørgrav2002-06-051-15/+17
* First step towards SSL support: wrap connections in a 'struct connection'Dag-Erling Smørgrav2002-06-051-92/+89
* Modernize my email addressPoul-Henning Kamp2002-03-251-1/+1
* Reindent, and add parentheses to return statements. Some functions inDag-Erling Smørgrav2002-02-051-689/+694
* Mark uploads as O_WRONLY, not O_RDONLY.Dag-Erling Smørgrav2002-01-201-2/+6
* Remove VT100 escapes from debugging messages now that they're enabled byDag-Erling Smørgrav2002-01-011-3/+2
* Reorganize to reduce code duplication.Dag-Erling Smørgrav2001-12-041-64/+32
* Tons of type, style and warning fixes that have been rotting in my tree forDag-Erling Smørgrav2001-10-181-29/+29
* Add __FBSDID()s to libfetchMatthew Dillon2001-09-301-2/+3
* Handle snprintf() returning < 0 (not just -1)Brian Somers2001-08-201-1/+1