]> granicus.if.org Git - apache/log
apache
10 years agoError log providers need to be able to trigger a startup error from their
Jeff Trawick [Fri, 27 Sep 2013 17:52:13 +0000 (17:52 +0000)]
Error log providers need to be able to trigger a startup error from their
init() function.  A NULL return code is the trigger.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1527003 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_lua: Use a (new) global pool/mutex setup for IVM rather than a per-process pool.
Daniel Gruno [Fri, 27 Sep 2013 13:56:53 +0000 (13:56 +0000)]
mod_lua: Use a (new) global pool/mutex setup for IVM rather than a per-process pool.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526906 13f79535-47bb-0310-9956-ffa450edef68

10 years agoWinNT MPM: Exit the child if the parent process crashes or is terminated.
Jeff Trawick [Thu, 26 Sep 2013 20:08:33 +0000 (20:08 +0000)]
WinNT MPM: Exit the child if the parent process crashes or is terminated.

Submitted by: Oracle, via trawick

The original modification was made some years ago for Oracle HTTP Server
by an Oracle employee.  trawick made additional changes for style and
for trunk/2.4.x changes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526666 13f79535-47bb-0310-9956-ffa450edef68

10 years agoallow building mod_authnz_fcgi with 2.4.x branch
Jeff Trawick [Thu, 26 Sep 2013 19:14:39 +0000 (19:14 +0000)]
allow building mod_authnz_fcgi with 2.4.x branch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526647 13f79535-47bb-0310-9956-ffa450edef68

10 years agoutil_fcgi.c now in 2.4.x branch too
Jeff Trawick [Thu, 26 Sep 2013 19:06:05 +0000 (19:06 +0000)]
util_fcgi.c now in 2.4.x branch too

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526643 13f79535-47bb-0310-9956-ffa450edef68

10 years agoarrange previous fix.
Jean-Frederic Clere [Thu, 26 Sep 2013 14:03:31 +0000 (14:03 +0000)]
arrange previous fix.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526499 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFollow-up to r1526436: Fix compilation error
Jeff Trawick [Thu, 26 Sep 2013 13:11:15 +0000 (13:11 +0000)]
Follow-up to r1526436: Fix compilation error

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526473 13f79535-47bb-0310-9956-ffa450edef68

10 years agoremove entry for r1525931 (APLOG_STARTUP with ErrorLogFormat), now
Jeff Trawick [Thu, 26 Sep 2013 11:13:52 +0000 (11:13 +0000)]
remove entry for r1525931 (APLOG_STARTUP with ErrorLogFormat), now
in 2.4.x branch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526443 13f79535-47bb-0310-9956-ffa450edef68

10 years agominor edits
Jeff Trawick [Thu, 26 Sep 2013 11:08:27 +0000 (11:08 +0000)]
minor edits

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526441 13f79535-47bb-0310-9956-ffa450edef68

10 years agoFix for PR 54626.
Jean-Frederic Clere [Thu, 26 Sep 2013 09:56:41 +0000 (09:56 +0000)]
Fix for PR 54626.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526436 13f79535-47bb-0310-9956-ffa450edef68

10 years ago worker MPM: Don't forcibly kill worker threads if the child process is
Jeff Trawick [Wed, 25 Sep 2013 16:23:28 +0000 (16:23 +0000)]
 worker MPM: Don't forcibly kill worker threads if the child process is
 exiting gracefully.

Submitted by: Oracle, via trawick

This modification was made some years ago for Oracle HTTP Server
by an Oracle employee.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526220 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_proxy: Add ap_connection_reusable() for checking if a connection
Jeff Trawick [Wed, 25 Sep 2013 14:29:02 +0000 (14:29 +0000)]
mod_proxy: Add ap_connection_reusable() for checking if a connection
is reusable as of this point in processing.

mod_proxy_fcgi uses the new API to determine if FCGI_CONN_CLOSE
should be enabled, but that doesn't change existing behavior
since the connection is currently marked for closure elsewhere
in the module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526189 13f79535-47bb-0310-9956-ffa450edef68

10 years agomeanwhile in 2.4.6 and 2.2.25, respectively
Kaspar Brand [Wed, 25 Sep 2013 12:59:59 +0000 (12:59 +0000)]
meanwhile in 2.4.6 and 2.2.25, respectively

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526169 13f79535-47bb-0310-9956-ffa450edef68

10 years agoStreamline ephemeral key handling:
Kaspar Brand [Wed, 25 Sep 2013 12:52:35 +0000 (12:52 +0000)]
Streamline ephemeral key handling:

- drop support for ephemeral RSA keys (only allowed/needed
  for export ciphers)

- drop pTmpKeys from the per-process SSLModConfigRec, and remove
  the temp key generation at startup (unnecessary for DHE/ECDHE)

- unconditionally disable null and export-grade ciphers by always
  prepending "!aNULL:!eNULL:!EXP:" to any cipher suite string

- do not configure per-connection SSL_tmp_*_callbacks, as it is
  sufficient to set them for the SSL_CTX

- set default curve for ECDHE at startup, obviating the need
  for a per-handshake callback, for the time being (and also
  configure SSL_OP_SINGLE_ECDH_USE, previously left out)

For additional background, see
https://mail-archives.apache.org/mod_mbox/httpd-dev/201309.mbox/%3C52358ED1.2070704@velox.ch%3E

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1526168 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSuppress formatting of startup messages written to the console when
Jeff Trawick [Tue, 24 Sep 2013 15:57:07 +0000 (15:57 +0000)]
Suppress formatting of startup messages written to the console when
ErrorLogFormat is used.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525931 13f79535-47bb-0310-9956-ffa450edef68

10 years agoChange the default value of AuthLDAPMaxSubGroupDepth, so sub-group searching
Eric Covener [Tue, 24 Sep 2013 12:14:57 +0000 (12:14 +0000)]
Change the default value of AuthLDAPMaxSubGroupDepth, so sub-group searching
is opt-in.  Not intended for 2.4 backport.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525866 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd AP_ERRORLOG_PROVIDER_ADD_EOL_STR flag for ap_errorlog_provider, bump MMN.
Jan Kaluža [Tue, 24 Sep 2013 11:03:55 +0000 (11:03 +0000)]
Add AP_ERRORLOG_PROVIDER_ADD_EOL_STR flag for ap_errorlog_provider, bump MMN.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525845 13f79535-47bb-0310-9956-ffa450edef68

10 years agoallow the provider to decide whether or not APLOG_NOTICE
Jeff Trawick [Mon, 23 Sep 2013 18:15:32 +0000 (18:15 +0000)]
allow the provider to decide whether or not APLOG_NOTICE
messages should be logged

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525664 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_syslog: New module implementing syslog ap_error_log provider.
Jan Kaluža [Mon, 23 Sep 2013 14:16:17 +0000 (14:16 +0000)]
mod_syslog: New module implementing syslog ap_error_log provider.
Previously, this code was part of core, now it's in separate module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525600 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd ap_errorlog_provider to make ErrorLog logging modular. Move
Jan Kaluža [Mon, 23 Sep 2013 14:02:27 +0000 (14:02 +0000)]
Add ap_errorlog_provider to make ErrorLog logging modular. Move
syslog support from core to new mod_syslog.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525597 13f79535-47bb-0310-9956-ffa450edef68

10 years agoadd a note about sub-group searching and large groups.
Eric Covener [Mon, 23 Sep 2013 13:42:06 +0000 (13:42 +0000)]
add a note about sub-group searching and large groups.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525588 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRemove grossly outdated browser compatibility column
Rich Bowen [Mon, 23 Sep 2013 01:05:50 +0000 (01:05 +0000)]
Remove grossly outdated browser compatibility column

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525489 13f79535-47bb-0310-9956-ffa450edef68

10 years agoVarious rebuilds
Rich Bowen [Mon, 23 Sep 2013 00:25:34 +0000 (00:25 +0000)]
Various rebuilds

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525481 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMissing '$' in variable.
Rich Bowen [Mon, 23 Sep 2013 00:22:09 +0000 (00:22 +0000)]
Missing '$' in variable.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525479 13f79535-47bb-0310-9956-ffa450edef68

10 years agoCorrect XMl error. Rebuild docs/
Rich Bowen [Sun, 22 Sep 2013 22:06:21 +0000 (22:06 +0000)]
Correct XMl error. Rebuild docs/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525458 13f79535-47bb-0310-9956-ffa450edef68

10 years agoClearer explanation of undefining a macro.
Rich Bowen [Sun, 22 Sep 2013 22:03:38 +0000 (22:03 +0000)]
Clearer explanation of undefining a macro.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525457 13f79535-47bb-0310-9956-ffa450edef68

10 years agovarious other rebuilds
Rich Bowen [Sun, 22 Sep 2013 20:25:42 +0000 (20:25 +0000)]
various other rebuilds

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525438 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRenames the 'tips' section.
Rich Bowen [Sun, 22 Sep 2013 20:23:08 +0000 (20:23 +0000)]
Renames the 'tips' section.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525433 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRename: This is more a "tips" section than technical details.
Rich Bowen [Sun, 22 Sep 2013 20:21:12 +0000 (20:21 +0000)]
Rename: This is more a "tips" section than technical details.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525431 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRebuild mod_macro docs
Rich Bowen [Sun, 22 Sep 2013 20:12:54 +0000 (20:12 +0000)]
Rebuild mod_macro docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525428 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRestructure the mod_macro doc a little, with a 'usage', 'details', and
Rich Bowen [Sun, 22 Sep 2013 20:11:05 +0000 (20:11 +0000)]
Restructure the mod_macro doc a little, with a 'usage', 'details', and
'examples' section. More examples to come.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525426 13f79535-47bb-0310-9956-ffa450edef68

10 years agoinstall libhttpd.exp
Jeff Trawick [Sun, 22 Sep 2013 01:15:29 +0000 (01:15 +0000)]
install libhttpd.exp

install mod_foo.lib and mod_foo.exp for modules which APIs
that other modules need to link against (e.g., mod_dav, mod_proxy,
etc.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525308 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUse ap_log_rdata() to dump the FastCGI header, axing a bunch
Jeff Trawick [Sat, 21 Sep 2013 18:59:47 +0000 (18:59 +0000)]
Use ap_log_rdata() to dump the FastCGI header, axing a bunch
of custom data dumping code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525281 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBorrow a fix from mod_authnz_fcgi:
Jeff Trawick [Sat, 21 Sep 2013 18:48:20 +0000 (18:48 +0000)]
Borrow a fix from mod_authnz_fcgi:

mod_proxy_fcgi: Handle reading protocol data that is split between
packets.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525280 13f79535-47bb-0310-9956-ffa450edef68

10 years agoBring some envvar flexibility from mod_authnz_fcgi to mod_proxy_fcgi:
Jeff Trawick [Sat, 21 Sep 2013 18:29:57 +0000 (18:29 +0000)]
Bring some envvar flexibility from mod_authnz_fcgi to mod_proxy_fcgi:

mod_proxy_fcgi: Remove 64K limit on encoded length of all envvars.
An individual envvar with an encoded length of more than 16K will be
omitted.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525276 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUpdates.
Lucien Gentis [Sat, 21 Sep 2013 14:22:34 +0000 (14:22 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525239 13f79535-47bb-0310-9956-ffa450edef68

10 years agorename EXTRA_INCLUDE_DIRS to EXTRA_INCLUDES, add EXTRA_COMPILE_FLAGS
Jeff Trawick [Fri, 20 Sep 2013 13:56:53 +0000 (13:56 +0000)]
rename EXTRA_INCLUDE_DIRS to EXTRA_INCLUDES, add EXTRA_COMPILE_FLAGS
and EXTRA_LIBS

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525006 13f79535-47bb-0310-9956-ffa450edef68

10 years agoname-based vhosts listed twice with apachectl -S
Eric Covener [Fri, 20 Sep 2013 13:36:33 +0000 (13:36 +0000)]
name-based vhosts listed twice with apachectl -S

When processing a vhost with * or _default_, we'd add the "names" once
for 0.0.0.0 and once for [::], but these are stored in the same "default"
ip chain.  Catch the back-to-back wildcard + same port and short-circuit the
second add.

Submitted By: rjung
Committed By: covener

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1525000 13f79535-47bb-0310-9956-ffa450edef68

10 years agotypo
Jim Jagielski [Fri, 20 Sep 2013 12:05:58 +0000 (12:05 +0000)]
typo

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524980 13f79535-47bb-0310-9956-ffa450edef68

10 years agodraft-ietf-httpbis-p1-messaging-23 fixes regarding interactions
Jim Jagielski [Thu, 19 Sep 2013 15:30:10 +0000 (15:30 +0000)]
draft-ietf-httpbis-p1-messaging-23 fixes regarding interactions
between TE and content-length in the same req/resp.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524770 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUse apr_socket_timeout_get instead of hard-coded 30 seconds timeout.
Jan Kaluža [Wed, 18 Sep 2013 12:34:15 +0000 (12:34 +0000)]
Use apr_socket_timeout_get instead of hard-coded 30 seconds timeout.

Document r1524368 in CHANGES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524388 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUse apr_socket_timeout_get instead of hard-coded 30 seconds timeout.
Jan Kaluža [Wed, 18 Sep 2013 11:18:02 +0000 (11:18 +0000)]
Use apr_socket_timeout_get instead of hard-coded 30 seconds timeout.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524368 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_lua: ap_ntoh64 endianess test
Daniel Gruno [Wed, 18 Sep 2013 07:48:22 +0000 (07:48 +0000)]
mod_lua: ap_ntoh64 endianess test

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524321 13f79535-47bb-0310-9956-ffa450edef68

10 years agorebuild
Rich Bowen [Tue, 17 Sep 2013 22:27:59 +0000 (22:27 +0000)]
rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524242 13f79535-47bb-0310-9956-ffa450edef68

10 years agosubject/verb
Rich Bowen [Tue, 17 Sep 2013 22:25:57 +0000 (22:25 +0000)]
subject/verb

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524240 13f79535-47bb-0310-9956-ffa450edef68

10 years agoUpdate rationale
Jim Jagielski [Tue, 17 Sep 2013 19:44:08 +0000 (19:44 +0000)]
Update rationale

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524192 13f79535-47bb-0310-9956-ffa450edef68

10 years agorevert 1524161 for the time being
Jim Jagielski [Tue, 17 Sep 2013 19:37:03 +0000 (19:37 +0000)]
revert 1524161 for the time being

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524190 13f79535-47bb-0310-9956-ffa450edef68

10 years agoRFC2616 issue
Jim Jagielski [Tue, 17 Sep 2013 18:37:18 +0000 (18:37 +0000)]
RFC2616 issue

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524161 13f79535-47bb-0310-9956-ffa450edef68

10 years agoMore cool info ;)
Jim Jagielski [Tue, 17 Sep 2013 18:31:58 +0000 (18:31 +0000)]
More cool info ;)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524158 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd note to balancer manager whether changes will/will not survive a restart
Daniel Ruggeri [Tue, 17 Sep 2013 15:46:56 +0000 (15:46 +0000)]
Add note to balancer manager whether changes will/will not survive a restart

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524101 13f79535-47bb-0310-9956-ffa450edef68

10 years agoAdd exec: callout support for mod_session_crypto
Daniel Ruggeri [Tue, 17 Sep 2013 14:53:21 +0000 (14:53 +0000)]
Add exec: callout support for mod_session_crypto

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524079 13f79535-47bb-0310-9956-ffa450edef68

10 years agofill in missing message numbers in APLOGNO() invocations
Jeff Trawick [Tue, 17 Sep 2013 12:51:08 +0000 (12:51 +0000)]
fill in missing message numbers in APLOGNO() invocations

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1524018 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_lua: Adjust documentation for r:wsread()
Daniel Gruno [Sun, 15 Sep 2013 12:50:50 +0000 (12:50 +0000)]
mod_lua: Adjust documentation for r:wsread()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523433 13f79535-47bb-0310-9956-ffa450edef68

10 years agomod_lua: Figure out a way to read from SSL connections with WebSockets. Brigades...
Daniel Gruno [Sun, 15 Sep 2013 12:47:50 +0000 (12:47 +0000)]
mod_lua: Figure out a way to read from SSL connections with WebSockets. Brigades ain't my strong side, so if someone could adjust it a bit, that'd be swell. It _works_, but I'm sure it could be improved upon. Also make r:wsclose() work properly with SSL.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523432 13f79535-47bb-0310-9956-ffa450edef68

10 years agoremove some recently backported fixes.
Eric Covener [Sun, 15 Sep 2013 02:28:01 +0000 (02:28 +0000)]
remove some recently backported fixes.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523388 13f79535-47bb-0310-9956-ffa450edef68

10 years agoIn 2.4, the MPM leaves a copy of the non-disconnected FD sitting in
Eric Covener [Sun, 15 Sep 2013 02:25:32 +0000 (02:25 +0000)]
In 2.4, the MPM leaves a copy of the non-disconnected FD sitting in
context->accept_socket. This FD will be closed a second time, often
shortly after a worker picks it up in this same FD being reused.  The
first recv fails with WSAENOTSOCK since the same FD was closed in the
listener thread while the worker was pulling it off the queue

(The second close is of the underlying FD/socket, not a shared
apr_socket_t, so it's not short-circuited)

This patch makes it a bit more 2.2.x-ish and solves my problem -- the
context->accept_socket gets zapped at the bottom of the loop if
!disconnected.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523387 13f79535-47bb-0310-9956-ffa450edef68

10 years agodoc change=no
Eric Covener [Sat, 14 Sep 2013 21:03:11 +0000 (21:03 +0000)]
doc change=no

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523323 13f79535-47bb-0310-9956-ffa450edef68

10 years agoSwitch from private FastCGI protocol handling to util_fcgi API.
Jeff Trawick [Sat, 14 Sep 2013 18:14:49 +0000 (18:14 +0000)]
Switch from private FastCGI protocol handling to util_fcgi API.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523281 13f79535-47bb-0310-9956-ffa450edef68

11 years agoskiplist.c now in 2.4.x
Jeff Trawick [Sat, 14 Sep 2013 14:51:39 +0000 (14:51 +0000)]
skiplist.c now in 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523260 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_auth_digest: Be more specific when the realm mismatches because the
Graham Leggett [Sat, 14 Sep 2013 13:48:46 +0000 (13:48 +0000)]
mod_auth_digest: Be more specific when the realm mismatches because the
realm has not been specified.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523239 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUpdates.
Lucien Gentis [Sat, 14 Sep 2013 13:47:29 +0000 (13:47 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523237 13f79535-47bb-0310-9956-ffa450edef68

11 years agoSECURITY (CVE-2013-4352): Fix a NULL pointer deference which allowed
Graham Leggett [Sat, 14 Sep 2013 13:32:25 +0000 (13:32 +0000)]
SECURITY (CVE-2013-4352): Fix a NULL pointer deference which allowed
untrusted origin servers to crash mod_cache in a forward proxy configuration.

mod_cache: Avoid a crash with strcmp() when the hostname is not provided.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523235 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUse APR type; rename var.
Guenter Knauf [Sat, 14 Sep 2013 11:05:05 +0000 (11:05 +0000)]
Use APR type; rename var.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523211 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFixed mod_lua NetWare build.
Guenter Knauf [Sat, 14 Sep 2013 10:55:53 +0000 (10:55 +0000)]
Fixed mod_lua NetWare build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523208 13f79535-47bb-0310-9956-ffa450edef68

11 years agoFixed ap_ntoh64 argument.
Guenter Knauf [Sat, 14 Sep 2013 10:55:10 +0000 (10:55 +0000)]
Fixed ap_ntoh64 argument.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1523207 13f79535-47bb-0310-9956-ffa450edef68

11 years agofix broken link
Daniel Gruno [Fri, 13 Sep 2013 13:59:42 +0000 (13:59 +0000)]
fix broken link

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522936 13f79535-47bb-0310-9956-ffa450edef68

11 years agothat line was obviously wrong.
Daniel Gruno [Fri, 13 Sep 2013 12:41:21 +0000 (12:41 +0000)]
that line was obviously wrong.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522900 13f79535-47bb-0310-9956-ffa450edef68

11 years agoworks with (Strawberry) Perl 5.010 from 2009, so require that version; move to older...
Jeff Trawick [Fri, 13 Sep 2013 00:01:21 +0000 (00:01 +0000)]
works with (Strawberry) Perl 5.010 from 2009, so require that version; move to older File::Path interface

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522747 13f79535-47bb-0310-9956-ffa450edef68

11 years agoset binary attributes for remaining binaries via httpd.rc, fix the
Jeff Trawick [Thu, 12 Sep 2013 15:36:28 +0000 (15:36 +0000)]
set binary attributes for remaining binaries via httpd.rc, fix the
missing feather (icon) on httpd.exe

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522622 13f79535-47bb-0310-9956-ffa450edef68

11 years agospecify base addresses for libhttpd.dll and modules; mention an issue about Perl...
Jeff Trawick [Thu, 12 Sep 2013 12:22:46 +0000 (12:22 +0000)]
specify base addresses for libhttpd.dll and modules; mention an issue about Perl compatibility of a support script

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522547 13f79535-47bb-0310-9956-ffa450edef68

11 years agoBaseAddr.ref:
Jeff Trawick [Thu, 12 Sep 2013 12:15:02 +0000 (12:15 +0000)]
BaseAddr.ref:
. Update sizes as necessary based on a 64-bit debug build with Visual Studio
  2012.
. Add missing modules mod_apreq, mod_authnz_fcgi, mod_dialup,
  mod_optional_fn_export, mod_optional_fn_import, mod_optional_hook_export,
  mod_optional_hook_import, and mod_policy.
  (The example mods aren't important, but adding them avoids having to
  treat those as exceptions in any sort of automatic update mechanism.
  Potential issues with the several modules that aren't currently buildable
  with the cmake-based solution have not been addressed.)

fixBaseAddrs.pl:
. New script to generate a new BaseAddr.ref based on Microsoft linker
  warnings about inadequate size or missing module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522544 13f79535-47bb-0310-9956-ffa450edef68

11 years agomod_lua: Add rudimentary WebSocket support. This is a WIP (emphasis on the W, I and...
Daniel Gruno [Wed, 11 Sep 2013 20:50:46 +0000 (20:50 +0000)]
mod_lua: Add rudimentary WebSocket support. This is a WIP (emphasis on the W, I and P) and subject to change as the idea surrounding it evolves into something meaningful. But for now, WebSockets, yay! Please do review this!

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522030 13f79535-47bb-0310-9956-ffa450edef68

11 years agorevert comments in r1521973, may be more misleadin then good.
Eric Covener [Wed, 11 Sep 2013 20:24:40 +0000 (20:24 +0000)]
revert comments in r1521973, may be more misleadin then good.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1522021 13f79535-47bb-0310-9956-ffa450edef68

11 years agocomments only, before I task switch.
Eric Covener [Wed, 11 Sep 2013 18:22:18 +0000 (18:22 +0000)]
comments only, before I task switch.

Subgroup checking is cached, but very inefficient for large groups.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521973 13f79535-47bb-0310-9956-ffa450edef68

11 years agomake docs xforms
Jeff Trawick [Wed, 11 Sep 2013 15:42:24 +0000 (15:42 +0000)]
make docs xforms

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521911 13f79535-47bb-0310-9956-ffa450edef68

11 years agofix tagging problems that break validation
Jeff Trawick [Wed, 11 Sep 2013 15:39:52 +0000 (15:39 +0000)]
fix tagging problems that break validation

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521910 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd "default user id" capability for authorizers that handle
Jeff Trawick [Wed, 11 Sep 2013 15:37:34 +0000 (15:37 +0000)]
Add "default user id" capability for authorizers that handle
check_authn and return success but don't have a specific user
id to assign (e.g., guest users).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521909 13f79535-47bb-0310-9956-ffa450edef68

11 years agoinstall .pdb files when available
Jeff Trawick [Wed, 11 Sep 2013 12:36:38 +0000 (12:36 +0000)]
install .pdb files when available

generate separate ab/abs binaries, following traditional Windows practice

add missing utility httxt2dbm

provide options to disable installation of manual and .pdb files

tweak todo list

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521821 13f79535-47bb-0310-9956-ffa450edef68

11 years agoForgot to add getcookie/setcookie to CHANGES. Hereby done.
Daniel Gruno [Wed, 11 Sep 2013 11:01:48 +0000 (11:01 +0000)]
Forgot to add getcookie/setcookie to CHANGES. Hereby done.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521796 13f79535-47bb-0310-9956-ffa450edef68

11 years agoDrag the example into this decade.
Rich Bowen [Tue, 10 Sep 2013 14:16:24 +0000 (14:16 +0000)]
Drag the example into this decade.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521498 13f79535-47bb-0310-9956-ffa450edef68

11 years agocorrect path
Jim Jagielski [Tue, 10 Sep 2013 12:17:19 +0000 (12:17 +0000)]
correct path

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521456 13f79535-47bb-0310-9956-ffa450edef68

11 years agoRebuild
Rich Bowen [Tue, 10 Sep 2013 02:06:19 +0000 (02:06 +0000)]
Rebuild

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521346 13f79535-47bb-0310-9956-ffa450edef68

11 years agoReplaces some awkward phrasing
Rich Bowen [Tue, 10 Sep 2013 01:57:14 +0000 (01:57 +0000)]
Replaces some awkward phrasing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521342 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd ProxyExpressEnable directive to example
Rich Bowen [Tue, 10 Sep 2013 01:50:08 +0000 (01:50 +0000)]
Add ProxyExpressEnable directive to example

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1521337 13f79535-47bb-0310-9956-ffa450edef68

11 years agowordsmithing
Jeff Trawick [Mon, 9 Sep 2013 00:57:05 +0000 (00:57 +0000)]
wordsmithing

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520946 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd a global ENABLE_MODULES setting to make it easy
Jeff Trawick [Sun, 8 Sep 2013 22:13:41 +0000 (22:13 +0000)]
Add a global ENABLE_MODULES setting to make it easy
to build and/or activate all possible modules.

A few modules that are not currently buildable needed a
prereq to be defined so that they will be skipped over
appropriately for reasonable values of ENABLE_MODULES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520937 13f79535-47bb-0310-9956-ffa450edef68

11 years agoSince a couple of modules have module names that don't
Jeff Trawick [Sun, 8 Sep 2013 20:58:10 +0000 (20:58 +0000)]
Since a couple of modules have module names that don't
match their source file name, don't try to declare modules
using the source name, but instead list them as simply

  modules/xxx/mod_xxx

(IOW, stop pretending that there is a modules/ldap/mod_ldap.c
and modules/apreq/mod_apreq.c.)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520925 13f79535-47bb-0310-9956-ffa450edef68

11 years agoadd "Header note" which was the solution for two users this week on IRC.
Eric Covener [Sun, 8 Sep 2013 20:04:06 +0000 (20:04 +0000)]
add "Header note" which was the solution for two users this week on IRC.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520908 13f79535-47bb-0310-9956-ffa450edef68

11 years agoinstall cache_common.h; add notes on other files that aren't installed
Jeff Trawick [Sun, 8 Sep 2013 18:19:23 +0000 (18:19 +0000)]
install cache_common.h; add notes on other files that aren't installed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520890 13f79535-47bb-0310-9956-ffa450edef68

11 years agoadd apreq and skiplist to libhttpd, support mod_apreq
Jeff Trawick [Sun, 8 Sep 2013 18:06:47 +0000 (18:06 +0000)]
add apreq and skiplist to libhttpd, support mod_apreq

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520888 13f79535-47bb-0310-9956-ffa450edef68

11 years agofix odd bug that prevented the manual from being installed
Jeff Trawick [Sun, 8 Sep 2013 15:12:43 +0000 (15:12 +0000)]
fix odd bug that prevented the manual from being installed

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520877 13f79535-47bb-0310-9956-ffa450edef68

11 years agoelaborate on fastcgistarer, which is a) not yet supported on windows and
Eric Covener [Sun, 8 Sep 2013 15:02:18 +0000 (15:02 +0000)]
elaborate on fastcgistarer, which is a) not yet supported on windows and
b) only needed when the frameworker doesn't have something built-in.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520875 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdded missing export for proxy module.
Guenter Knauf [Sun, 8 Sep 2013 13:12:21 +0000 (13:12 +0000)]
Added missing export for proxy module.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520866 13f79535-47bb-0310-9956-ffa450edef68

11 years agosupport mod_lua; add some tweaks/disclaimers to the README
Jeff Trawick [Sun, 8 Sep 2013 11:57:35 +0000 (11:57 +0000)]
support mod_lua; add some tweaks/disclaimers to the README

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520856 13f79535-47bb-0310-9956-ffa450edef68

11 years agohandle mod_ldap/mod_authnz_ldap, along with tiny infrastructure
Jeff Trawick [Sat, 7 Sep 2013 22:28:23 +0000 (22:28 +0000)]
handle mod_ldap/mod_authnz_ldap, along with tiny infrastructure
for modules whose main source doesn't match the module name
(i.e., util_ldap.c vs. mod_ldap)

please let mod_ldap be the only user of that support foreverandever

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520819 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd macro for checking apr/apu defines like APR_HAS_feature,
Jeff Trawick [Sat, 7 Sep 2013 16:28:35 +0000 (16:28 +0000)]
Add macro for checking apr/apu defines like APR_HAS_feature,
and for now use it to detect APR_HAS_XLATE and APU_HAVE_CRYPTO.

Add special logic for special APR_HAS_LDAP.

Display summary of feature detection.

mod_session_crypto can now build, so do so if the prereq is present.
(By default it won't be activated.)

Sketch in more support for Lua, mod_charset_lite, mod_ldap, and
mod_authnz_ldap, though  they should be expected to fail until
somebody actually tries it and fixes the problem.

The documented ab issue was my own problem with a mismatch between
my compiler and the OpenSSL compiler, resolved by building OpenSSL
myself like everybody else.

Document another of the possibly zillions of bugs/limitations.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520783 13f79535-47bb-0310-9956-ffa450edef68

11 years agoUpdate.
Lucien Gentis [Sat, 7 Sep 2013 15:06:45 +0000 (15:06 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520780 13f79535-47bb-0310-9956-ffa450edef68

11 years agostyle consistency in winnt's worker_main
Eric Covener [Sat, 7 Sep 2013 12:44:09 +0000 (12:44 +0000)]
style consistency in winnt's worker_main

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520760 13f79535-47bb-0310-9956-ffa450edef68

11 years agoAdd a warning if protocol given in SSLProtocol or SSLProxyProtocol will override...
Christophe Jaillet [Thu, 5 Sep 2013 22:30:59 +0000 (22:30 +0000)]
Add a warning if protocol given in SSLProtocol  or SSLProxyProtocol will override other parameters given in the same directive.
This could be a missing + or - prefix.

PR 52820

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520445 13f79535-47bb-0310-9956-ffa450edef68

11 years agoMistakenly try to use a line comment to the end of your Listen
Jeff Trawick [Thu, 5 Sep 2013 16:33:11 +0000 (16:33 +0000)]
Mistakenly try to use a line comment to the end of your Listen
directive on Windows => crash-o-matic

Or,

WinNT MPM: Don't crash during child process initialization if the
Listen protocol is unrecognized.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1520368 13f79535-47bb-0310-9956-ffa450edef68