]>
granicus.if.org Git - apache/log
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Daniel Gruno [Thu, 5 Sep 2013 08:59:10 +0000 (08:59 +0000)]
mod_lua: init cookie as NULL.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1520256 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Thu, 5 Sep 2013 08:24:29 +0000 (08:24 +0000)]
remove an unneeded variable I just added, oops.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1520250 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Thu, 5 Sep 2013 08:23:05 +0000 (08:23 +0000)]
mod_lua: Use ap_cookie_read for reading cookie values, since it's already there.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1520248 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 4 Sep 2013 22:15:24 +0000 (22:15 +0000)]
Set LONG_NAME and BIN_NAME to something reasonable for httpd.rc,
which otherwise sets the properties to "LONG_NAME" and "BIN_NAME".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1520153 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Wed, 4 Sep 2013 10:47:46 +0000 (10:47 +0000)]
Add r:setcookie(key, val, secure, expires) and r:getcookie(key) to the request_rec table.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519977 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 3 Sep 2013 07:26:34 +0000 (07:26 +0000)]
Update related to r1519556
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519587 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 3 Sep 2013 06:27:48 +0000 (06:27 +0000)]
Add missing space
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519579 13f79535 -47bb-0310-9956-
ffa450edef68
Christophe Jaillet [Tue, 3 Sep 2013 04:49:20 +0000 (04:49 +0000)]
mod_status, mod_echo: Fix the display of client addresses. They were truncated to 31 characters which is not enough for IPv6 addresses.
PR 54848 [Bernhard Schmidt <berni birkenwald de>]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519556 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 18:38:07 +0000 (18:38 +0000)]
mod_lua: If the first yield() of a LuaOutputFilter returns a string, it should
be prefixed to the response as documented.
Also, don't put empty heap buckets in the brigade if a yield() is called with
no string.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519492 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 18:08:25 +0000 (18:08 +0000)]
mention some trickyness with mod_lua + mod_filter.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519488 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 17:55:28 +0000 (17:55 +0000)]
avoid non-continous ranges in EBCDIC in the scanner, important characters like '{' come
between alphas in IBM1047.
(If you're reading this because you're building 2.4-or-later on z/OS, you'll have to build a new flex
with the system flex and system bison. flex-2.5.35 worked.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519485 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 17:46:06 +0000 (17:46 +0000)]
forgot my name
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519484 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 17:45:40 +0000 (17:45 +0000)]
mod_lua: Remove ETAG, Content-Length, and Content-MD5 when a LuaOutputFilter
is configured without mod_filter. [Eric Covener]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519483 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 17:06:16 +0000 (17:06 +0000)]
register LuaOutputFilters with AP_FILTER_PROTO_CHANGE|AP_FILTER_PROTO_CHANGE_LENGTH
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519476 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 17:03:47 +0000 (17:03 +0000)]
*) mod_filter: Add "change=no" as a proto-flag to FilterProtocol
to remove a providers initial flags set at registration time.
[Eric Covener]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519475 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 11:43:53 +0000 (11:43 +0000)]
Return a 500 error instead of DECLINED when LuaHook* script does not
return a numeric value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519398 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Mon, 2 Sep 2013 01:21:39 +0000 (01:21 +0000)]
trace4 logging of return codes from LuaHook* functions.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519329 13f79535 -47bb-0310-9956-
ffa450edef68
Guenter Knauf [Sun, 1 Sep 2013 15:37:41 +0000 (15:37 +0000)]
Removed comment which should never have been committed.
(thanks Eric!)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519285 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sun, 1 Sep 2013 15:12:48 +0000 (15:12 +0000)]
some xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519279 13f79535 -47bb-0310-9956-
ffa450edef68
Daniel Gruno [Sun, 1 Sep 2013 15:10:32 +0000 (15:10 +0000)]
Adding a simple logging hook for mod_lua, which allows users to create their own logs or bypass the generic logging on a per-request basis.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519277 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 1 Sep 2013 13:49:55 +0000 (13:49 +0000)]
Let the location of APR[-Util] and PCRE libs and
includes default to the same prefix where this package
is installed, generally eliminating four required settings
for users.
APR trunk vs. APR[-Util] 1.x is selected automatically,
as is PCRE debug vs. release. (But if you have both
debug and release builds of PCRE you may not like the choice,
and will need to override.
Add a bunch of gory details about the build to the configuration
summary.
Document that static PCRE builds aren't yet supported (before
or after this commit).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519270 13f79535 -47bb-0310-9956-
ffa450edef68
Stefan Fritsch [Sun, 1 Sep 2013 12:26:25 +0000 (12:26 +0000)]
add some log messages and AP_DEBUG_ASSERTs for functions that should never be
called
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519264 13f79535 -47bb-0310-9956-
ffa450edef68
Lucien Gentis [Sat, 31 Aug 2013 16:36:38 +0000 (16:36 +0000)]
Updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519189 13f79535 -47bb-0310-9956-
ffa450edef68
Eric Covener [Sat, 31 Aug 2013 16:02:15 +0000 (16:02 +0000)]
remove c++ comment
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519188 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 31 Aug 2013 13:19:16 +0000 (13:19 +0000)]
Simplify -DENABLE_MOD_foo to -DENABLE_FOO
Improve display of module selections at end of configuration
Zap an unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519179 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 31 Aug 2013 12:37:31 +0000 (12:37 +0000)]
add option EXTRA_INCLUDE_DIRS for pointing to outside directories
for .h files (sometimes needed with statically linked, third-party
modules)
axe remnant of the old way of finding private APR .h files
install .h files that live outside of the top include directory
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1519175 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 23:56:11 +0000 (23:56 +0000)]
adjust default module enablement to kinda-sorta sync with
autoconf-based build (see commentary added as part of this
revision
sync-ing is limited by
* not all modules with prereqs can be built yet
* no infrastructure yet to control related modules together (e.g.,
enabling mod_proxy also enables a slew of others)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518859 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 20:18:02 +0000 (20:18 +0000)]
mention the PATH issue
this will be resolved for most users by bundlers/distributors, but some hints
are appropriate
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518801 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 17:59:11 +0000 (17:59 +0000)]
move cmake howto/buglist to a separate file, README.cmake
add license text to CMakeLists.txt
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518736 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 15:40:52 +0000 (15:40 +0000)]
Only minor adjustments were required to support 2.4.x too, so
look at AP_SERVER_MINORVERSION_NUMBER and adjust the lists of
available modules and libhttpd sources.
The build already worked with apr/aprutil 1.x, so adjust the
doc, defaults, and todo list.
The --with-module equivalent is already done, so zap the todo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518676 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 15:02:25 +0000 (15:02 +0000)]
Fix source path to error documents and icons.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518668 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 29 Aug 2013 14:24:50 +0000 (14:24 +0000)]
Don't forget to disable an optional module if the prerequisite
wasn't found.
Tweak the doc a little.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518660 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 28 Aug 2013 23:01:12 +0000 (23:01 +0000)]
Support new configuration feature
-DWITH_MODULES=d:/path/to/mod_foo.c,d:/path/to/mod_bar.c,
analogous to --with-module=modpath:/path/to/mod_foo.c,...
with the autoconf-based build.
This introduces a dependency on awk, but only for users that
use this feature. Other users will get the canned
os/win32/modules.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518414 13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 28 Aug 2013 20:38:14 +0000 (20:38 +0000)]
Generate and install .conf files
(with heavy lifting from tdonovan!).
Install sample docroot (if the top directory doesn't exist).
Change installation of error and icons directories to match
Unix -- only if the top directory doesn't exist.
Provide a simple Perl script to help with non-standard copy
semantics used by the install.
THIS ADDS PERL AS A BUILD PREREQ. (The VisualStudio-specific
Windows build system required it too.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@
1518376 13f79535 -47bb-0310-9956-
ffa450edef68