| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
| |
fixes a bug in pkg_add(1) (which nobody noticed because of another bug).
Notes:
svn path=/head/; revision=78071
|
| |
|
|
| |
Notes:
svn path=/head/; revision=77238
|
| |
|
|
|
|
|
| |
PR: 27506
Notes:
svn path=/head/; revision=77234
|
| |
|
|
|
|
|
| |
Fix some other minor glitches.
Notes:
svn path=/head/; revision=75891
|
| |
|
|
|
|
|
| |
to -1 so the caller will know it's invalid. This is an MFC candidate.
Notes:
svn path=/head/; revision=75292
|
| |
|
|
|
|
|
| |
that forces the ftp code to use the low (default) port range instead.
Notes:
svn path=/head/; revision=74716
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73934
|
| |
|
|
|
|
|
| |
PR: bin/25494
Notes:
svn path=/head/; revision=73932
|
| |
|
|
|
|
|
|
|
| |
Rather than have a separate (misnamed) FTP_ANONYMOUS_PASSWORD constant, use
FTP_ANONYMOUS_USER (i.e. "anonymous") to construct the anonymous ftp password
if getlogin() fails.
Notes:
svn path=/head/; revision=70795
|
| |
|
|
|
|
|
| |
FTP_ANONYMOUS_USER.
Notes:
svn path=/head/; revision=70273
|
| |
|
|
|
|
|
|
|
|
| |
and had libfetch selecting passive mode even when FTP_PASSIVE_MODE was not
set at all, which is really quite surprising unless you know about it. So
change it to the agreed default behaviour of selecting passive mode if
FTP_PASSIVE_MODE is set, but not "no".
Notes:
svn path=/head/; revision=69670
|
| |
|
|
|
|
|
| |
to HTTP if HTTP_PROXY was used instead.
Notes:
svn path=/head/; revision=69272
|
| |
|
|
|
|
|
| |
multiline response (proper fix this time).
Notes:
svn path=/head/; revision=69044
|
| |
|
|
| |
Notes:
svn path=/head/; revision=69043
|
| |
|
|
|
|
|
| |
response.
Notes:
svn path=/head/; revision=69041
|
| |
|
|
|
|
|
|
|
| |
in order to avoid this bug in the future.
Submitted by: se
Notes:
svn path=/head/; revision=68551
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67892
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67890
|
| |
|
|
|
|
|
| |
even giving me 24 hours to read his mail and find the bug.
Notes:
svn path=/head/; revision=67810
|
| |
|
|
|
|
|
| |
dereferenceing it". This fixes ``pkg_add -r''.
Notes:
svn path=/head/; revision=67807
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67707
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- ftpTimeout was not honored when reading actual data, as opposed to
talking protocol
- connection caching was broken because _ftp_cached_connect() would see
the result of the transfer instead of the result of the NOOP.
- if the RETR succeeded, but an error occurred later (as can happen
when talking to a proxy), the error would not be detected.
There still remains to register an atexit(3) callback to close the cached
connection gracefully instead of just dropping it on the floor.
Notes:
svn path=/head/; revision=67430
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67259
|
| |
|
|
| |
Notes:
svn path=/head/; revision=67055
|
| |
|
|
|
|
|
| |
As a side effect, remove a lot of duplicate and now redundant code.
Notes:
svn path=/head/; revision=67043
|
| |
|
|
|
|
|
|
|
| |
Microsoft FTP Service.
Reported by: asmodai, eivind
Notes:
svn path=/head/; revision=64883
|
| |
|
|
|
|
|
|
|
|
| |
means that the server doesn't understand SIZE or MDTM, which should not be a
hard failure.
Submitted by: ume
Notes:
svn path=/head/; revision=63910
|
| |
|
|
|
|
|
|
|
|
|
|
| |
a bug in some ftp servers (most notably ftp.vmunix.com) which report the
size of a file correctly in ascii mode, but report it as 0 in binary mode.
Reported by: asmodai
Also remove an unneeded initialization.
Notes:
svn path=/head/; revision=63847
|
| |
|
|
|
|
|
|
| |
Work around YA Apache bug: don't send port in Host: header if it's the
default port.
Notes:
svn path=/head/; revision=63842
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63713
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63712
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63585
|
| |
|
|
|
|
|
|
| |
be a dynamically created file, e.g. a tarball on servers that support sending
tarballs of directories.
Notes:
svn path=/head/; revision=63392
|
| |
|
|
|
|
|
|
|
| |
fetchStat*(). In most cases, either fetchGet*() or fetchXGet*() is a wrapper
around the other; in all cases, calling fetchGet*() is identical to calling
fetchXGet*() with the second argument set to NULL.
Notes:
svn path=/head/; revision=63340
|
| |
|
|
| |
Notes:
svn path=/head/; revision=63336
|
| |
|
|
| |
Notes:
svn path=/head/; revision=62982
|