Checkout Tools
  • last updated 7 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Introduce the HOST command (and XWEL command for diagnostics), and support for

TLS-SNI provided hostname via an implicit HOST invocation. Corrects headers

and fields to ensure the host names are initialized at the appropriate times,

and that the orig_server maps to the correct host. This is known to work

correctly with the latest Filezilla (uses SNI by default), for both Explicit

and Implicit SSL connections on httpd-2.2, but the SSL logic is known to be

broken for the data channel on httpd-2.4 (likely not a regression).

  1. … 8 more files in changeset.
Introduce 2.4 logging mechanics
  1. … 12 more files in changeset.
This Copyright is already preserved in NOTICE-FTP as well as in svn history
  1. … 14 more files in changeset.
Cleanup effort in prep for GA push:

Trim trailing whitespace... no func change

  1. … 7 more files in changeset.
Fix Rainer's observed compiler warnings, follow unixd.c formatting choice
Revert r816061 and instead follow along the lines

of r782531.

APR currentyl doesn't correctly define APR_HAVE_SYS_STAT_H.

So fall back to HAVE_SYS_STAT_H as a second option.

  1. … 2 more files in changeset.

- implicit declaration of function 'fchmod'

- 'S_I[RWX](USR|GRP|OTH)' undeclared

At least on Solaris we need sys/types.h and sys/stat.h.

sys/types.h already get included, but stat.h is missing.

  1. … 1 more file in changeset.
Another comparison issue due to signedness of char.

Fix analogous to r816005.

Use ftp_escape_control_text for untrusted control channel text
Introduce ftp_escape_control_text for control channel text presentation
  1. … 1 more file in changeset.
Drop APR_FNM_PERIOD matching, officially, for this next release.
  1. … 1 more file in changeset.
ftp_internal had nothing to do with this, however. Revert a bit of

r782581 for testing in my tree.

ftp_internal.h does all this for us
  1. … 5 more files in changeset.
Revert one delta from r779989 to disambiguate this change from the httpd 2.2

backwards compatibility work.

No wonder JimJag and I were mutually confused(!)

More compile-time warnings... protect with normal checks

  1. … 2 more files in changeset.
Backwards compatibility to 2.2
  1. … 5 more files in changeset.
Clean up internal includes, FTP_BUILD is not required any longer
  1. … 12 more files in changeset.
Move internals to a sep header file... allow for

2.2 and earlier/later compilation

  1. … 16 more files in changeset.
Update sources to conform to the new copyright/license labeling policy,

correct the date format of the Original copyrights, and promote the inet_pton

notice into NOTICE-FTP and LICENSE-FTP

  1. … 28 more files in changeset.
Before we actually do a release, adjust to

follow normal ASF C indent guidelines.

  1. … 13 more files in changeset.
Fix ap_get_scoreboard_worker_from_indexes for post-2.2 API,

and drop Require dir-name with post-2.2 API for now, because

this must be either refactored for the new auth conf stuff,

or implemented as a distinct module (preferable, if possible).

  1. … 1 more file in changeset.
Correct test for an unknown user before propogating r-> user/auth fields

Revert breakage from auth refactoring, and set Authorization

header appropriately, and never fill in headers when user is

still the 'unknown' reserved value.

  1. … 3 more files in changeset.
Introduce virtual hosts, using FTPOptions VirtualHostByUser which will

take the virtual host name from the username@hostname if provided.

It will match the first vhost (as with http) when there is no hostname

provided or no host names or aliases match.

The corresponding option FTPOptions StripHostname presents only

'user' of 'user@hostname' to the authentication modules, otherwise

the full USER text is passed to the authentication modules.

  1. … 5 more files in changeset.
Major Change (of a major-MMN bump scope) to move ftp_connection

configuration entry from r->request_config to c->conn_config, because

these members have a connection lifetime scope.

  1. … 10 more files in changeset.
Refactor ftp_config out of win32, and out of unix in-tree builds.

FTP_APXS_BUILD is hiding in Makefile.apxs, and won't otherwise

be defined.

  1. … 13 more files in changeset.
Jim and I both reviewed this code, it's a remnant that's uninteresting

today now that we use fnmatch.

Correct IPv6 pre-parser, missed the xdigit, and dot-digit IPv6

fragments from form C must finish the sequence.

With two explicit pieces of logic, we lose any need for the sep value.