| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the following clang 3.7.0 warnings in lib/libfetch/http.c:
lib/libfetch/http.c:1628:26: error: address of array 'purl->user'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.user = purl->user ?
~~~~~~^~~~ ~
lib/libfetch/http.c:1630:30: error: address of array 'purl->pwd'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.password = purl->pwd?
~~~~~~^~~~
lib/libfetch/http.c:1657:25: error: address of array 'url->user'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.user = url->user ?
~~~~~^~~~ ~
lib/libfetch/http.c:1659:29: error: address of array 'url->pwd'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.password = url->pwd ?
~~~~~^~~ ~
lib/libfetch/http.c:1669:25: error: address of array 'url->user'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.user = url->user ?
~~~~~^~~~ ~
lib/libfetch/http.c:1671:29: error: address of array 'url->pwd'
will always evaluate to 'true' [-Werror,-Wpointer-bool-conversion]
aparams.password = url->pwd ?
~~~~~^~~ ~
Since url->user and url->pwd are arrays, they can never be NULL, so the
checks can be removed.
Reviewed by: bapt
Differential Revision: https://reviews.freebsd.org/D2673
Notes:
svn path=/stable/7/; revision=284643
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFH r221830: mark all descriptors close-on-exec
MFH r225813: man page fixes
MFH r225814: adjust copyright statement
MFH r226537: latin1 -> utf8
MFH r230307, r230478: fix SIGINFO infinite loop and data loss
MFH r233648: man page fixes
MFH r234138: support percent-encoded user and password
MFH r234837: avoid busy-loop on slow connections
MFH r234838: don't reuse credentials when redirected to another host
MFH r236193: avoid SIGPIPE on network connections
MFH r240496: use libmd if and only if OpenSSL is not available
Notes:
svn path=/stable/7/; revision=242608
|
| |
|
|
|
|
|
|
|
|
| |
Implement HTTP 305 redirect handling.
PR: 172452
Approved by: cperciva (implicit)
Notes:
svn path=/stable/7/; revision=242292
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Don't deny non-temporary redirects if the -A option is set (per
the man page) [0]
While here add support for draft-reschke-http-status-308-07
PR: 172451 [0]
Approved by: cperciva (implicit)
Notes:
svn path=/stable/7/; revision=242290
|
| |
|
|
|
|
|
|
|
|
| |
Be a bit more lenient in the maximum number of redirects allowed.
Chrome and Firefox have a limit of 20. IE has a limit of 8.
Approved by: cperciva (implicit)
Notes:
svn path=/stable/7/; revision=242033
|
| |
|
|
|
|
|
|
|
|
| |
Adding missing return statements during error conditions.
PR: kern/171187
Approved by: cperciva (implicit)
Notes:
svn path=/stable/7/; revision=241018
|
| |
|
|
|
|
|
| |
Noticed by: pluknet
Notes:
svn path=/stable/7/; revision=221774
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=221765
|
| |
|
|
|
|
|
|
|
|
| |
in FTP code (r199801), add support for HTTP (r202613, r202623, r203028).
Also record mergeinfo for previously merged patches (r174752, r174588).
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=203071
|
| |
|
|
|
|
|
|
|
| |
Fix the NO_PROXY handling.
PR: 139751
Notes:
svn path=/stable/7/; revision=200013
|
| |
|
|
|
|
|
|
|
|
| |
Add support for If-Modified-Since to fetch with new -i option.
Consistently return 1 on error.
Improve usage and SYNOPSIS.
Notes:
svn path=/stable/7/; revision=186920
|
| |
|
|
|
|
|
| |
Approved by: re (kib)
Notes:
svn path=/stable/7/; revision=184225
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=182493
|
| |
|
|
|
|
|
|
| |
Approved by: imp (mentor, implicit), DES
Glanced at by: des
Notes:
svn path=/stable/7/; revision=176899
|
| |
|
|
|
|
|
| |
Approved by: re (kensmith)
Notes:
svn path=/stable/7/; revision=175625
|
| |
|
|
| |
Notes:
svn path=/stable/7/; revision=175441
|
| |
|
|
| |
Notes:
svn path=/head/; revision=169960
|
| |
|
|
|
|
|
| |
Ok'd by: kan
Notes:
svn path=/head/; revision=169807
|
| |
|
|
|
|
|
|
|
| |
PR: kern/112515
Submitted by: Ryan C. Gordon <icculus@icculus.org>
MFC after: 3 weeks
Notes:
svn path=/head/; revision=169386
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=160737
|
| |
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
|
| |
http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html
The src.conf(5) manpage is to follow in a few days.
Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)
Notes:
svn path=/head/; revision=156813
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
pkh@ to phk@.
Approved by: ade
Notes:
svn path=/head/; revision=152941
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
correctly in the case of FTP_PROXY, because an empty FTP_PROXY has a
specific meaning ("don't use any proxy at all for ftp, even if HTTP_PROXY
is defined"), while an empty HTTP_PROXY has no meaning at all.
PR: bin/85185
Submitted by: Conall O'Brien <conallob=freebsd@maths.tcd.ie>
MFC after: 2 weeks
Notes:
svn path=/head/; revision=149414
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
been bumped since RELENG_5.
Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)
Notes:
svn path=/head/; revision=148297
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
|
|
| |
free the connection buffer as well.
PR: bin/76153
MFC after: 1 week
Notes:
svn path=/head/; revision=141970
|
| |
|
|
|
|
|
|
|
| |
necessary to establish each connection.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=141958
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141851
|
| |
|
|
| |
Notes:
svn path=/head/; revision=141846
|
| |
|
|
| |
Notes:
svn path=/head/; revision=139113
|
| |
|
|
| |
Notes:
svn path=/head/; revision=135546
|
| |
|
|
|
|
|
|
|
|
|
| |
base 64.
PR: misc/70022
Submitted by: Herve Masson <herve-bsdbt@mindstep.com>
MFC after: 3 days
Notes:
svn path=/head/; revision=133280
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=131504
|
| |
|
|
|
|
|
| |
we get a genuine 416 reply.
Notes:
svn path=/head/; revision=125697
|
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
| |
Notes:
svn path=/head/; revision=125695
|
| |
|
|
|
|
|
|
| |
man pages (though not from copyright notices). While I'm here, add email
addresses where appropriate.
Notes:
svn path=/head/; revision=124963
|
| |
|
|
| |
Notes:
svn path=/head/; revision=121423
|
| |
|
|
| |
Notes:
svn path=/head/; revision=119893
|
| |
|
|
| |
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
|
| |
|
|
|
|
|
|
|
| |
the "crypto" distribution.
Approved by: des
Notes:
svn path=/head/; revision=117890
|
| |
|
|
|
|
|
|
| |
PR: 43899
Reviewed by: des, ru
Notes:
svn path=/head/; revision=116169
|
| |
|
|
|
|
|
| |
Approved by: re (blanket)
Notes:
svn path=/head/; revision=115225
|