Add support for TLS-SRP (Secure Remote Password key exchange
for TLS, RFC 5054).
Including some improvements as suggested by Kaspar

PR: 51075
Submitted by: Quinn Slack <sqs cs stanford edu>, Christophe Renou,
              Peter Sylvester
Backported by: sf
Reviewed by: sf, minfrin, rjung

Backports of r1347980 and r1348653 form trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420057 13f79535-47bb-0310-9956-ffa450edef68
Change my vote after further thought.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420064 13f79535-47bb-0310-9956-ffa450edef68
mod_auth_form: Support the expr parser in the
AuthFormLoginRequiredLocation, AuthFormLoginSuccessLocation
and AuthFormLogoutLocation directives.

mod_auth_form: Make sure 500 Internal Server Error is
returned should an error occur while parsing an expression.

Submitted by: minfrin
Backported by: minfrin
Reviewed by: minfrin, sf, rjung

Backports of r1388648 and r1418721 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420071 13f79535-47bb-0310-9956-ffa450edef68
mod_session_crypto: Protect ourselves against underlying libraries who
fail to load without providing an error message of their own.

Submitted by: minfrin
Backported by: minfrin
Reviewed by: minfrin, sf, rjung

Backport of r1418655 from turnk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420072 13f79535-47bb-0310-9956-ffa450edef68
Start refactoring of htpasswd and htdbm
- Move many common code parts into separate source file. This adds some
  of htpasswd's recent improvements to htdbm.
- Rework salt generation to use the full 48bit of entropy for MD5
  Previously, it would only generate 2^32 different salts on a given
  platform.
- Use apr_getopt().
Submitted by: sf
Backport of r1395253 from trunk.

Add passwd_common.c build support for Windows and Netware
Submitted by: sf
Backport of r1395254 from trunk.

Add support for bcrypt (requires apr-util 1.5 or higher).
PR: 49288
Submitted by: sf
Backport of r1395255 from trunk.

Optionally read passwords from stdin as more secure alternative to -b.
PR: 40243
Submitted by: Adomas Paltanavicius <adomas paltanavicius gmail com>, sf
Backport of r1395256 from trunk.
Submitted by: Adomas Paltanavicius <adomas paltanavicius gmail com>, sf

Removed __func__ usage which is c99.
Submitted by: sf
Backport of r1395792 from trunk.

All of the above backported by: sf
All of the above reviewed by: sf, gsmith, rjung

fix unresolved external symbol __imp__UuidCreate error
Submitted by: gsmith
Backported by: gsmith
Reviewed by: gsmith, rjung
Backport of r1419084 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420084 13f79535-47bb-0310-9956-ffa450edef68
Fixed comment.
Submitted by: fuankg
Backported by: rjung
Reviewed by: fuankg,rjung (CTR docs/comment)

Backport of r1391771 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420101 13f79535-47bb-0310-9956-ffa450edef68
Address rjung's veto


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420133 13f79535-47bb-0310-9956-ffa450edef68
Merge r1392345, r1392346 from trunk:

Bring XML output up to snuff for balancer-manager

and allow the xml param
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420135 13f79535-47bb-0310-9956-ffa450edef68
Fix typo dbd -> dbm and add htdbm
to dbmmanage note.

Backport of r1420149 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420151 13f79535-47bb-0310-9956-ffa450edef68
Update mod_proxy_ftp EPSV handling patch per sf's comment.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420229 13f79535-47bb-0310-9956-ffa450edef68
Update


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420269 13f79535-47bb-0310-9956-ffa450edef68
Note dependency


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420274 13f79535-47bb-0310-9956-ffa450edef68
Propose

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420450 13f79535-47bb-0310-9956-ffa450edef68
backport vote


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420646 13f79535-47bb-0310-9956-ffa450edef68
vote for cleanups backport


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420652 13f79535-47bb-0310-9956-ffa450edef68
these two SSL issues are stalled, IMO.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420653 13f79535-47bb-0310-9956-ffa450edef68
ivote


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420687 13f79535-47bb-0310-9956-ffa450edef68
ipromote


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420689 13f79535-47bb-0310-9956-ffa450edef68
propose disk-cache fix for windows.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420694 13f79535-47bb-0310-9956-ffa450edef68
Merge r1407459, r1407460, r1419781, r1418524, r1401448, r1405407, r1405973, r1419726, r1418769, r1417197 from trunk:

remove warning:
mod_remoteip.c:404:38: warning: data argument not used by format string [-Wformat-extra-args]
It's a hack, but maintain the orig hack ;)

Remove warnings
mod_speling.c:400:41: warning: data argument not used by format string [-Wformat-extra-args]
                          r->uri, nuri, ref);
                                                                                                                        mod_speling.c:508:53: warning: data argument not used by format string [-Wformat-extra-args]
                          r->uri, candidates->nelts, ref);

Use 'apr_is_empty_table()' instead of testing against 'apr_table_elts(...)->nelts'

Use ap_rputs instead of ap_rvputs where applicable.

No need to apr_pstrdup things here, 'apr_socket_accept_filter' already makes it own copy.

Not compiled nor tested as on my system APR_HAS_SO_ACCEPTFILTER is set to 0.

revert r1401448 and add a comment on why there's a bewildering copy
of args passed to apr_socket_accept_filter()


cppCheck: kill two warnings about incorrect printf parameters.
'worker_thread_count' is unsigned

cppCheck: same expression on both side of '|'.
Fix it the same way other messages are managed in the function.

Fix a few 'too many arguments for format' warnings


cppCheck: kill a unread variable warning
Submitted by: jim, jailletc36, jailletc36, jailletc36, trawick, jailletc36, jailletc36, sf, jailletc36
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1420696 13f79535-47bb-0310-9956-ffa450edef68