| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=341013
|
| |
|
|
|
|
|
|
|
|
|
| |
There is probably a PR for this, but I can't find this, or remember who
submitted it. The patch got lost in the noise of another that wasn't
ready to commit.
MFC after: 3 days
Notes:
svn path=/head/; revision=341011
|
| |
|
|
|
|
|
|
|
|
|
|
| |
value of $HOME and always use the home directory from the passwd
database, unless $HOME was unset, in which case it would use (null).
While there, clean up handling of netrcfd and add debugging aids.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=334326
|
| |
|
|
|
|
|
| |
MFC after: 3 weeks
Notes:
svn path=/head/; revision=334317
|
| |
|
|
| |
Notes:
svn path=/head/; revision=326408
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using mis-identified many licenses so this was mostly a manual - error
prone - task.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Notes:
svn path=/head/; revision=326219
|
| |
|
|
|
|
|
|
|
| |
repeating the same DNS lookups.
MFC after: 3 weeks
Notes:
svn path=/head/; revision=308996
|
| |
|
|
|
|
|
|
|
| |
Found with devel/coccinelle.
Reviewed by: des
Notes:
svn path=/head/; revision=297754
|
| |
|
|
| |
Notes:
svn path=/head/; revision=226537
|
| |
|
|
| |
Notes:
svn path=/head/; revision=225814
|
| |
|
|
|
|
|
|
|
| |
1. Allow the caller to select active mode.
2. Fix the envar logic so it *always* overrides the caller's flags.
3. Document the change from active to passive.
Notes:
svn path=/head/; revision=225812
|
| |
|
|
| |
Notes:
svn path=/head/; revision=225810
|
| |
|
|
| |
Notes:
svn path=/head/; revision=221822
|
| |
|
|
|
|
|
|
|
|
|
| |
a STAT command.
PR: kern/153748 (different patch)
Submitted by: Mark Johnston <markjdb@gmail.com>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=217505
|
| |
|
|
|
|
|
|
|
|
| |
Submitted by: Sandvine Incorporated
Reviewed by: des, emaste
Sponsored by: Sandvine Incorporated
MFC: 1 week
Notes:
svn path=/head/; revision=199801
|
| |
|
|
|
|
|
|
| |
Submitted by: Joerg Sonnenberger <joerg@britannica.bec.de>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=176105
|
| |
|
|
|
|
|
|
|
| |
explaining why f cannot possibly be a valid FILE * at this point.
MFC after: 1 day
Notes:
svn path=/head/; revision=175611
|
| |
|
|
|
|
|
|
|
|
| |
way (not for the first time...)
Noticed by: bde, ru ++
MFC after: 1 week
Notes:
svn path=/head/; revision=174761
|
| |
|
|
|
|
|
|
|
|
|
|
| |
lynx, curl etc. Note that this patch differs significantly from that
in the PR, as the submitter refined it after submitting the PR.
PR: 110388
Submitted by: Alexander Pohoyda <alexander.pohoyda@gmx.net>
MFC after: 3 weeks
Notes:
svn path=/head/; revision=174752
|
| |
|
|
|
|
|
|
|
| |
IWBNI gcc could warn about this the way it warns about printf() abuse.
MFC after: 1 week
Notes:
svn path=/head/; revision=174751
|
| |
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=174588
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
once (CWD a/b/c vs. 3 CWDs). If an error occurs, we fall back to the default
method of a single CWD per directory element. Since this is technically
a violation of the basic FTP RFC, this behavior is under a compile-time
option FTP_COMBINE_CWDS and is off by default. It should work with most
Unix-based FTP daemons and can save latency.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=168960
|
| |
|
|
|
|
|
| |
PR: misc/98872
Notes:
svn path=/head/; revision=159566
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=159565
|
| |
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=154550
|
| |
|
|
|
|
|
|
|
|
| |
work in progress; it partially fixed bin/83278 and is a prerequisite to
fixing bin/83277.
PR: bin/83277, bin/83278
Notes:
svn path=/head/; revision=148986
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135546
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119557
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
Approved by: des, markm (mentor)(implicit)
Notes:
svn path=/head/; revision=112420
|
| |
|
|
|
|
|
| |
functional difference, but debugging output will be less confusing.
Notes:
svn path=/head/; revision=112081
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=109967
|
| |
|
|
| |
Notes:
svn path=/head/; revision=109697
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
closed through _fetch_close() which is the only one who knows the connection
REALLY was closed (since ref -> 0). However, FTP keeps its own local
cached_connection and checks if it is valid by comparing it to NULL. This
is bogus since it may have been freed elsewhere by _fetch_close().
This change checks if we are closing the cached_connection and the ref is 1
(soon to be 0). If so, set cached_connection to NULL so we don't
accidentally reuse it. The REAL fix should be to move connection caching
to the common.c level (_fetch_* functions) and NULL the cache(s) in
_fetch_close(). Then all layers could benefit from caching.
Notes:
svn path=/head/; revision=105903
|
| |
|
|
|
|
|
|
| |
the heap block does not get freed and reused. This should fix the
pkg_add -r crashes that have been happening for months.
Notes:
svn path=/head/; revision=105511
|
| |
|
|
|
|
|
| |
Tell ftp that _fetch_connect() always sets the error code (http already knew)
Notes:
svn path=/head/; revision=103459
|
| |
|
|
|
|
|
|
|
|
| |
scope identifier).
Approved by: des
MFC after: 3 weeks
Notes:
svn path=/head/; revision=99253
|
| |
|
|
|
|
|
| |
free a cached FTP connection.
Notes:
svn path=/head/; revision=98117
|
| |
|
|
|
|
|
|
| |
(except for DNS operations). Always use funopen() for HTTP, to support
both timeouts and SSL.
Notes:
svn path=/head/; revision=97866
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
which contains the socket descriptor, the input buffer and (yet unused)
SSL state variables. This has the neat side effect of greatly improving
reentrance (though we're not *quite* there yet) and opening the door to
HTTP connection caching.
This commit is inspired by email conversations with and patches from
Henry Whincup <henry@techiebod.com> last fall.
Notes:
svn path=/head/; revision=97856
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93150
|
| |
|
|
|
|
|
|
| |
ftp.c and http.c now have exceedingly long lines due to deep nesting;
this will be corrected by reorganizing the code in a later revision.
Notes:
svn path=/head/; revision=90267
|
| |
|
|
|
|
|
|
| |
PR: misc/34043
MFC after: 2 weeks
Notes:
svn path=/head/; revision=89589
|
| |
|
|
|
|
|
|
|
|
| |
default.
PR: 32988
MFC after: 3 days
Notes:
svn path=/head/; revision=88769
|
| |
|
|
| |
Notes:
svn path=/head/; revision=87315
|
| |
|
|
|
|
|
|
| |
ages - some of which wouldn't be necessary if gcc wasn't broken or TPTB were
willing to do something (-fno-builtin) about it.
Notes:
svn path=/head/; revision=85093
|
| |
|
|
| |
Notes:
svn path=/head/; revision=84203
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=81985
|
| |
|
|
|
|
|
| |
Spotted by: bde
Notes:
svn path=/head/; revision=81978
|
| |
|
|
|
|
|
| |
MFC after: 2 weeks
Notes:
svn path=/head/; revision=81972
|