| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
| |
Also change one case of blatant __progname abuse (several more remain)
This commit does not touch anything in src/{contrib,crypto,gnu}/.
Notes:
svn path=/head/; revision=95258
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95083
|
| |
|
|
|
|
|
|
| |
#include <sys/time.h> instead of depending on namespace pollution in
<sys/stat.h> for the declaration of struct timeval.
Notes:
svn path=/head/; revision=93257
|
| |
|
|
| |
Notes:
svn path=/head/; revision=93213
|
| |
|
|
|
|
|
|
|
|
|
|
| |
<sys/stat.h> for the declaration of struct timeval.
Removed unused includes (<time.h> doesn't declare anything of interest;
only <sys/time.h> does).
Sorted includes a bit.
Notes:
svn path=/head/; revision=91225
|
| |
|
|
|
|
|
|
|
|
|
| |
on the file we're replacing.
PR: bin/34992
Submitted by: Shunichiro Ariura <syun1rou@blackshell.org>
MFC after: 1 week
Notes:
svn path=/head/; revision=90729
|
| |
|
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
Notes:
svn path=/head/; revision=90415
|
| |
|
|
|
|
|
|
|
| |
PR: docs/33640
Submitted by: Maxim Konovalov <maxim@macomnet.ru>
Approved by: des
Notes:
svn path=/head/; revision=89429
|
| |
|
|
|
|
|
|
| |
PR: bin/32615
MFC after: 1 week
Notes:
svn path=/head/; revision=87563
|
| |
|
|
|
|
|
| |
Reviewed by: des
Notes:
svn path=/head/; revision=86242
|
| |
|
|
| |
Notes:
svn path=/head/; revision=85933
|
| |
|
|
|
|
|
| |
PR: 30764
Notes:
svn path=/head/; revision=83863
|
| |
|
|
|
|
|
| |
Discussed with: des
Notes:
svn path=/head/; revision=83307
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to resume a transfer, download the requested document into a temporary file
which we later rename. This avoids leaving half-completed files around in
case of a crash (it'll still leave a half-completed file, but with a hope-
fully non-conflicting name), and should reduce the need for human inter-
vention on ports-building machines.
The temporary file name for "foo/bar" is constructed by invoking mkstemps()
with the pattern "foo/.fetch.XXXXXX.bar"
Requested by: obrien
Notes:
svn path=/head/; revision=83217
|
| |
|
|
|
|
|
| |
Set the default timeout to 120 seconds instead of 0 (no timeout).
Notes:
svn path=/head/; revision=81884
|
| |
|
|
| |
Notes:
svn path=/head/; revision=81863
|
| |
|
|
|
|
|
|
|
|
| |
warning in said message, since fetch may be run from a makefile or script
which does not print the command line.
Approved by: des
Notes:
svn path=/head/; revision=80521
|
| |
|
|
|
|
|
| |
Submitted by: wollman
Notes:
svn path=/head/; revision=79838
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79837
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79755
|
| |
|
|
| |
Notes:
svn path=/head/; revision=79422
|
| |
|
|
|
|
|
|
| |
PR: 27780
Submitted by: Craig Leres <leres@ee.lbl.gov>
Notes:
svn path=/head/; revision=77576
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77260
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77241
|
| |
|
|
|
|
|
| |
PR: bin/26160
Notes:
svn path=/head/; revision=74957
|
| |
|
|
|
|
|
| |
make it use the low (default) port range instead.
Notes:
svn path=/head/; revision=74717
|
| |
|
|
|
|
|
|
|
|
|
| |
to the summary shown at the end of the transfer.
Some days, I really hate Unix...
Suggested by: cracauer
Notes:
svn path=/head/; revision=73937
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73924
|
| |
|
|
| |
Notes:
svn path=/head/; revision=71895
|
| |
|
|
|
|
|
|
|
|
| |
If the -R option was specified, don't truncate the local file even if its
mtime is incorrect.
PR: bin/23719
Notes:
svn path=/head/; revision=70275
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69976
|
| |
|
|
|
|
|
| |
to be, assume it was truncated.
Notes:
svn path=/head/; revision=69383
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69256
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69027
|
| |
|
|
| |
Notes:
svn path=/head/; revision=68718
|
| |
|
|
|
|
|
| |
This has been sitting in my tree for ages...
Notes:
svn path=/head/; revision=67326
|
| |
|
|
|
|
|
| |
Pointed out by: cwt
Notes:
svn path=/head/; revision=65362
|
| |
|
|
| |
Notes:
svn path=/head/; revision=65277
|
| |
|
|
|
|
|
| |
Some people liked this and some didn't, so POLA won.
Notes:
svn path=/head/; revision=63877
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63720
|
| |
|
|
|
|
|
|
| |
Don't add the offset to the size; it's libfetch's job to report the correct
size of the requested file.
Notes:
svn path=/head/; revision=63717
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- if the dates didn't match, fetch would append the received file to the
existing file instead of replacing it.
- if the local file was complete and up-to-date, fetch would miscalculate
the expected size and report a failure instead of a success, because it
had no way of knowing that the server was actually resending the entire
file since the requested offset was invalid.
Notes:
svn path=/head/; revision=63568
|
| |
|
|
|
|
|
|
| |
PR: bin/20025
Submitted by: HIYAMA Takeshi <th@cis.ibaraki.ac.jp>
Notes:
svn path=/head/; revision=63501
|
| |
|
|
|
|
|
|
|
| |
* Insert newline before "and" in ".Fl c and".
Approved by: des
Notes:
svn path=/head/; revision=63465
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63354
|
| |
|
|
|
|
|
| |
and adjust the verbosity level of another.
Notes:
svn path=/head/; revision=63353
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63346
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
libfetch features (fetchRestartCalls, fetchXGet()).
Since it doesn't make much sense to have m_flag and r_flag set at the same
time, and it can actually cause trouble in some cases, die if they're both
set.
Set the SA_RESETHAND flag for SIGINT so that when we've caught one, we can
kill ourselves with a second SIGINT (thus notifying our parent of our tragic
fate) instead of just exiting.
These changes fix several problems that would show up when fetching ports,
as well as speeding up HTTP transfers quite a bit (at least for relatively
small files).
Most of these changes were prompted by an interaction problem with an HTTP
server called SWS-1.0, which exhibited two bugs, the first of which prevented
fetch from working around the second (the first was not sending content-type
in reply to HEAD requests, the second was sending garbage after the end of
the requested file).
Notes:
svn path=/head/; revision=63345
|
| |
|
|
|
|
|
| |
Submitted by: green
Notes:
svn path=/head/; revision=63235
|
| |
|
|
|
|
|
| |
Submitted by: green
Notes:
svn path=/head/; revision=63067
|