]> granicus.if.org Git - apache/log
apache
8 years agompm_event/worker: make ap_queue_term() atomic (acquire/release the mutex once).
Yann Ylavic [Tue, 15 Sep 2015 16:05:31 +0000 (16:05 +0000)]
mpm_event/worker: make ap_queue_term() atomic (acquire/release the mutex once).

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

8 years agoFollow up to r1703157: tags/next-number update.
Yann Ylavic [Tue, 15 Sep 2015 15:24:56 +0000 (15:24 +0000)]
Follow up to r1703157: tags/next-number update.

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

8 years agomod_slotmem_shm: follow up to r1702450; CHANGES entry.
Yann Ylavic [Tue, 15 Sep 2015 14:06:17 +0000 (14:06 +0000)]
mod_slotmem_shm: follow up to r1702450; CHANGES entry.

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

8 years agomod_slotmem_shm: follow up to r1702450.
Yann Ylavic [Tue, 15 Sep 2015 12:24:24 +0000 (12:24 +0000)]
mod_slotmem_shm: follow up to r1702450.
Make systems without unlink() semantic happy by destroying (detaching) the SHM
before removing the base file.
Windows is supposed to have the "delete on last handle closed" semantic but yet
fails here when this handle is owned by the same process (go figure!).

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

8 years agompm_winnt: make AP_MPMQ_GENERATION available in the child process as soon
Yann Ylavic [Tue, 15 Sep 2015 11:40:53 +0000 (11:40 +0000)]
mpm_winnt: make AP_MPMQ_GENERATION available in the child process as soon
as possible, so that hooks/modules can query it at config stage.
This is (e.g.) needed by r1702501 for PR 58024.

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

8 years agofixes description of ProtocolsHonorOrder directive
Stefan Eissing [Tue, 15 Sep 2015 11:13:26 +0000 (11:13 +0000)]
fixes description of ProtocolsHonorOrder directive

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

8 years agomod_slotmem_shm: follow up to r1702450.
Yann Ylavic [Tue, 15 Sep 2015 11:01:40 +0000 (11:01 +0000)]
mod_slotmem_shm: follow up to r1702450.
r1702450 changed the behaviour of slotmem_{create,attach}() when given
given an absolute (SHM file )name.
Don't mangle the SHM file name in this case, it's up to the caller to
provide a unique name per call when this matters.

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

8 years agomod_slotmem_shm: revert frivolous s/name/fname/ from r1702473, keep the comments.
Yann Ylavic [Mon, 14 Sep 2015 14:04:19 +0000 (14:04 +0000)]
mod_slotmem_shm: revert frivolous s/name/fname/ from r1702473, keep the comments.

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

8 years agoreverting unwanted loss of missing case
Stefan Eissing [Mon, 14 Sep 2015 13:57:09 +0000 (13:57 +0000)]
reverting unwanted loss of missing case

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

8 years agohttpd compiles warning free on gcc and every new warning will be treated as an error...
Stefan Eissing [Mon, 14 Sep 2015 13:29:35 +0000 (13:29 +0000)]
httpd compiles warning free on gcc and every new warning will be treated as an error, standard c-89 is enforced

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

8 years agochanging r->protocol to HTTP/2 for all directly handles requests, fixing handling...
Stefan Eissing [Mon, 14 Sep 2015 12:26:18 +0000 (12:26 +0000)]
changing r->protocol to HTTP/2 for all directly handles requests, fixing handling of H2SerializeHeader config to have an effect

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

8 years agoRebuild.
Lucien Gentis [Sun, 13 Sep 2015 16:49:53 +0000 (16:49 +0000)]
Rebuild.

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

8 years agoXML updates.
Lucien Gentis [Sun, 13 Sep 2015 16:48:51 +0000 (16:48 +0000)]
XML updates.

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

8 years agoaxe unused variable
Jeff Trawick [Sat, 12 Sep 2015 16:27:24 +0000 (16:27 +0000)]
axe unused variable

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

8 years agoupdate mod_ssl transformations
Kaspar Brand [Sat, 12 Sep 2015 15:50:07 +0000 (15:50 +0000)]
update mod_ssl transformations

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

8 years agoRemove SSLALPNPreference directive docs (superseded
Kaspar Brand [Sat, 12 Sep 2015 15:45:30 +0000 (15:45 +0000)]
Remove SSLALPNPreference directive docs (superseded
by Protocols/ProtocolsHonorOrder in r1692486/r1695727)

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

8 years agolink to the OpenSSL 1.0.2 version of the SSL_CONF_cmd man page
Kaspar Brand [Sat, 12 Sep 2015 15:42:40 +0000 (15:42 +0000)]
link to the OpenSSL 1.0.2 version of the SSL_CONF_cmd man page

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

8 years agoAppend :!aNULL:!eNULL:!EXP to the cipher string settings,
Kaspar Brand [Sat, 12 Sep 2015 15:33:28 +0000 (15:33 +0000)]
Append :!aNULL:!eNULL:!EXP to the cipher string settings,
instead of prepending !aNULL:!eNULL:!EXP: (as was the case in 2.4.7
and later). Enables support for configuring the SUITEB* cipher
strings introduced in OpenSSL 1.0.2. PR 58213.

Apply the same treatment to the "SSLOpenSSLConfCmd CipherString ..." directive.

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

9 years agomod_slotmem_shm: follow up to r1702450.
Yann Ylavic [Fri, 11 Sep 2015 15:30:16 +0000 (15:30 +0000)]
mod_slotmem_shm: follow up to r1702450.
Use the generation number from the MPM (AP_MPMQ_GENERATION) since
AP_SQ_CONFIG_GEN is irrelevent in non-forked MPMs children.

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

9 years agomod_slotmem_shm: follow up to r1702450.
Yann Ylavic [Fri, 11 Sep 2015 13:58:44 +0000 (13:58 +0000)]
mod_slotmem_shm: follow up to r1702450.
Rename ap_slotmem_instance_t's field 'name' to 'fname' since it really stores
the file path/name of the file-based SHM.

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

9 years agomod_slotmem_shm: Fix balancers and balancer members slots reuse on
Yann Ylavic [Fri, 11 Sep 2015 13:00:53 +0000 (13:00 +0000)]
mod_slotmem_shm: Fix balancers and balancer members slots reuse on
restart when new ones are added (Windows and OS/2 only).  PR 58024.

Since Windows and OS/2 don't have the unlink() but the "delete on last close"
semantic for opened files being removed, we can't reuse the same SHM files
names for processes of different generation.  Let's append the generation
number in the files names for those.

This commit also axes unused Unix specifics about mutexes/semaphores.

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

9 years agoRebuild
Rich Bowen [Wed, 9 Sep 2015 14:03:28 +0000 (14:03 +0000)]
Rebuild

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

9 years agoPatch from info@mathijs.info to use 2.4 authz syntax.
Rich Bowen [Wed, 9 Sep 2015 13:59:56 +0000 (13:59 +0000)]
Patch from info@mathijs.info to use 2.4 authz syntax.

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

9 years agoUse 2.4 access control syntax. Patch from info@mathijs.info
Rich Bowen [Wed, 9 Sep 2015 13:58:54 +0000 (13:58 +0000)]
Use 2.4 access control syntax. Patch from info@mathijs.info

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

9 years agoIn order to save a few cycles, delay a hash table lookup which is not necessary needed
Christophe Jaillet [Tue, 8 Sep 2015 03:14:34 +0000 (03:14 +0000)]
In order to save a few cycles, delay a hash table lookup which is not necessary needed

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

9 years agoImprove macro definition in order to avoid potential precedence issues.
Christophe Jaillet [Mon, 7 Sep 2015 05:24:43 +0000 (05:24 +0000)]
Improve macro definition in order to avoid potential precedence issues.

For example, sparse spotted that the following line was spurious:
        newcond->flags &= ~CONDFLAG_NOCASE;
It this particular case, 2 bits were resetted (instead of only 1). This was harmless because the first bit (i.e. CONDFLAG_NONE) is never tested as-is.

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

9 years agoRevert r1697735.
Christophe Jaillet [Mon, 7 Sep 2015 05:15:48 +0000 (05:15 +0000)]
Revert r1697735.

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

9 years agoallow autoindex w/o mod_dir/mod_mime setting the DIR_MAGIC_TYPE.
Eric Covener [Sun, 6 Sep 2015 02:04:30 +0000 (02:04 +0000)]
allow autoindex w/o mod_dir/mod_mime setting the DIR_MAGIC_TYPE.

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

9 years agorebuild
Christophe Jaillet [Sat, 5 Sep 2015 06:36:56 +0000 (06:36 +0000)]
rebuild

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

9 years agoFix typo spotted in comment in online doc. [comment #4454)
Christophe Jaillet [Sat, 5 Sep 2015 06:34:02 +0000 (06:34 +0000)]
Fix typo spotted in comment in online doc. [comment #4454)

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

9 years agoRemove duplicate reference to h2_workers.c
Gregg Lewis Smith [Sat, 5 Sep 2015 04:18:50 +0000 (04:18 +0000)]
Remove duplicate reference to h2_workers.c

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

9 years agomod_h2 version bump, more c89 goodiness
Stefan Eissing [Fri, 4 Sep 2015 10:25:31 +0000 (10:25 +0000)]
mod_h2 version bump, more c89 goodiness

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

9 years agoimprovements in ap_select_protocol(), supplied by yann ylavic
Stefan Eissing [Fri, 4 Sep 2015 08:52:15 +0000 (08:52 +0000)]
improvements in ap_select_protocol(), supplied by yann ylavic

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

9 years agos/;;/;/
Gregg Lewis Smith [Fri, 4 Sep 2015 07:03:38 +0000 (07:03 +0000)]
s/;;/;/

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

9 years agomod_ssl: fix compiler warning (bad cast).
Yann Ylavic [Thu, 3 Sep 2015 22:59:18 +0000 (22:59 +0000)]
mod_ssl: fix compiler warning (bad cast).

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

9 years agochanged Protocols default to http/1.1 only, updated documentation, changed ap_select_...
Stefan Eissing [Thu, 3 Sep 2015 12:45:26 +0000 (12:45 +0000)]
changed Protocols default to http/1.1 only, updated documentation, changed ap_select_protocol() to return NULL when no protocol could be agreed upon

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

9 years agofinal final change to the new ap_array_str_* functions after review
Stefan Eissing [Thu, 3 Sep 2015 09:39:59 +0000 (09:39 +0000)]
final final change to the new ap_array_str_* functions after review

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

9 years agomissed in r1698023
Gregg Lewis Smith [Thu, 3 Sep 2015 02:29:05 +0000 (02:29 +0000)]
missed in r1698023

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

9 years agoC89
Gregg Lewis Smith [Thu, 3 Sep 2015 00:30:53 +0000 (00:30 +0000)]
C89

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

9 years agomod_negotiation: simplify type-map body tag lookup, and be safe
Yann Ylavic [Wed, 2 Sep 2015 16:42:06 +0000 (16:42 +0000)]
mod_negotiation: simplify type-map body tag lookup, and be safe
should it contain a NUL byte.

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

9 years agoeliminating the last surviving H2Engine directive
Stefan Eissing [Wed, 2 Sep 2015 12:20:57 +0000 (12:20 +0000)]
eliminating the last surviving H2Engine directive

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

9 years agoeliminating some stricter compiler warnings in mod_h2
Stefan Eissing [Wed, 2 Sep 2015 12:01:05 +0000 (12:01 +0000)]
eliminating some stricter compiler warnings in mod_h2

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

9 years agoFollow up to r1698123: also revert r1697352.
Yann Ylavic [Tue, 1 Sep 2015 15:52:46 +0000 (15:52 +0000)]
Follow up to r1698123: also revert r1697352.

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

9 years agoRebuild
Rich Bowen [Tue, 1 Sep 2015 15:28:40 +0000 (15:28 +0000)]
Rebuild

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

9 years agobetter connection state on ending sessions, improved default extra file config value...
Stefan Eissing [Tue, 1 Sep 2015 12:11:00 +0000 (12:11 +0000)]
better connection state on ending sessions, improved default extra file config value depending on max workers per process

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

9 years agoAllow 0 as a valid value (never close idle connections)
Christophe Jaillet [Tue, 1 Sep 2015 08:23:01 +0000 (08:23 +0000)]
Allow 0 as a valid value (never close idle connections)
Increased maximum allowed value to 3600 s (1 hour)
Use 'ap_timeout_parameter_parse' to allow more flexible configuration (i.e. h, min, s, ms suffixes)
Use 'apr_time_from_sec' when applicable.

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:46:23 +0000 (20:46 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:44:55 +0000 (20:44 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:41:18 +0000 (20:41 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoFix some spurious ident spotted by sparse
Christophe Jaillet [Mon, 31 Aug 2015 20:37:44 +0000 (20:37 +0000)]
Fix some spurious ident spotted by sparse

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:34:29 +0000 (20:34 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:24:21 +0000 (20:24 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:21:30 +0000 (20:21 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoRemove useless line
Christophe Jaillet [Mon, 31 Aug 2015 20:17:38 +0000 (20:17 +0000)]
Remove useless line

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

9 years agoSilence a sparse warning about inconsistent indenting + some minor style issues
Christophe Jaillet [Mon, 31 Aug 2015 20:13:30 +0000 (20:13 +0000)]
Silence a sparse warning about inconsistent indenting + some minor style issues

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

9 years agoSilence a sparse warning about inconsistent indenting
Christophe Jaillet [Mon, 31 Aug 2015 19:56:47 +0000 (19:56 +0000)]
Silence a sparse warning about inconsistent indenting

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

9 years agoSilence a sparse warning about inconsistent indenting
Christophe Jaillet [Mon, 31 Aug 2015 19:51:05 +0000 (19:51 +0000)]
Silence a sparse warning about inconsistent indenting

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

9 years agoSilence a sparse warning about inconsistent indenting
Christophe Jaillet [Mon, 31 Aug 2015 19:50:19 +0000 (19:50 +0000)]
Silence a sparse warning about inconsistent indenting

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

9 years agoSilence a sparse warning about inconsistent indenting
Christophe Jaillet [Mon, 31 Aug 2015 19:49:32 +0000 (19:49 +0000)]
Silence a sparse warning about inconsistent indenting

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

9 years agoSilence a sparse warning about inconsistent indenting
Christophe Jaillet [Mon, 31 Aug 2015 19:47:12 +0000 (19:47 +0000)]
Silence a sparse warning about inconsistent indenting

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

9 years agoFix some spurious ident spotted by sparse
Christophe Jaillet [Mon, 31 Aug 2015 19:45:24 +0000 (19:45 +0000)]
Fix some spurious ident spotted by sparse

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

9 years agobetter check if c->cs is there at all
Stefan Eissing [Mon, 31 Aug 2015 16:41:41 +0000 (16:41 +0000)]
better check if c->cs is there at all

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

9 years agoexplicitly setting connection state on end of processing to help reclaim resources
Stefan Eissing [Mon, 31 Aug 2015 16:12:11 +0000 (16:12 +0000)]
explicitly setting connection state on end of processing to help reclaim resources

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

9 years agoRebuild.
Lucien Gentis [Sat, 29 Aug 2015 14:52:49 +0000 (14:52 +0000)]
Rebuild.

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

9 years agoXML updates.
Lucien Gentis [Sat, 29 Aug 2015 14:51:51 +0000 (14:51 +0000)]
XML updates.

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

9 years agobackported
Eric Covener [Fri, 28 Aug 2015 17:54:44 +0000 (17:54 +0000)]
backported

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

9 years agoOn ebcdic systems, make sure E2A conversion happens last,
Eric Covener [Fri, 28 Aug 2015 15:44:29 +0000 (15:44 +0000)]
On ebcdic systems, make sure E2A conversion happens last,
so other resource filters looking at or adding ebcdic strings
see ebcdic bytes. e.g. SSI in an EBCDIC file.

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

9 years agojust a note
Daniel Gruno [Fri, 28 Aug 2015 14:39:53 +0000 (14:39 +0000)]
just a note

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

9 years agowe have this nwo, don't we?
Daniel Gruno [Fri, 28 Aug 2015 14:31:22 +0000 (14:31 +0000)]
we have this nwo, don't we?

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

9 years agoAvoid adding duplicate subequest filters, as they would not be stripped
Eric Covener [Fri, 28 Aug 2015 13:13:14 +0000 (13:13 +0000)]
Avoid adding duplicate subequest filters, as they would not be stripped
properly during an ap_internal_fast_redirect.

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

9 years agofirst stab at a better SNI vs. request name matching, by accounting for serveralias...
Stefan Eissing [Fri, 28 Aug 2015 13:00:52 +0000 (13:00 +0000)]
first stab at a better SNI vs. request name matching, by accounting for serveralias and wildcards

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

9 years agoreversal of 1698239 due to nedless loop in t/apache/pr17629.t
Stefan Eissing [Fri, 28 Aug 2015 12:55:55 +0000 (12:55 +0000)]
reversal of 1698239 due to nedless loop in t/apache/pr17629.t

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

9 years agotiny nit.
Daniel Gruno [Fri, 28 Aug 2015 03:53:25 +0000 (03:53 +0000)]
tiny nit.

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

9 years agoavoid adding multiple subrequest filters when there are nested subrequests.
Eric Covener [Thu, 27 Aug 2015 22:55:52 +0000 (22:55 +0000)]
avoid adding multiple subrequest filters when there are nested subrequests.

Multiple copies of the filter were not stripped properly
during ap_fast_internal_redirect() which left the EOS buckets
stripped out of the brigade. This results in the end-chunk never
going out on the wire for a chunked response.

observed with mainreq -> directoryindex -> FallbackResource

PR58292

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

9 years agogiving ap_array_index a start parameter, adding ap_array_contains
Stefan Eissing [Thu, 27 Aug 2015 12:13:59 +0000 (12:13 +0000)]
giving ap_array_index a start parameter, adding ap_array_contains

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

9 years agoRevert r1696960 (see commit thread).
Yann Ylavic [Thu, 27 Aug 2015 11:45:06 +0000 (11:45 +0000)]
Revert r1696960 (see commit thread).

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

9 years agoAllowing protocol_propose hooks to be called with offers=NULL, clarifying semantics...
Stefan Eissing [Thu, 27 Aug 2015 11:18:21 +0000 (11:18 +0000)]
Allowing protocol_propose hooks to be called with offers=NULL, clarifying semantics as proposed by chaosed0@gmail.com

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

9 years agoApplied patch by normw@gknw.net for ANSI C compliance.
Stefan Eissing [Thu, 27 Aug 2015 10:19:36 +0000 (10:19 +0000)]
Applied patch by normw@gknw.net for ANSI C compliance.

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

9 years agomoving m4 mod_h2 macro from global to module local config
Stefan Eissing [Thu, 27 Aug 2015 09:43:10 +0000 (09:43 +0000)]
moving m4 mod_h2 macro from global to module local config

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

9 years agoWindows traditional build files for mod_h2
Gregg Lewis Smith [Wed, 26 Aug 2015 22:14:16 +0000 (22:14 +0000)]
Windows traditional build files for mod_h2

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

9 years agomotorz: fix a compiler warning.
Yann Ylavic [Wed, 26 Aug 2015 17:09:20 +0000 (17:09 +0000)]
motorz: fix a compiler warning.

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

9 years agoDrop redundant and harmful macro, API change correctly toggled in mod_lua.c
William A. Rowe Jr [Wed, 26 Aug 2015 16:17:41 +0000 (16:17 +0000)]
Drop redundant and harmful macro, API change correctly toggled in mod_lua.c

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

9 years agoadding ap_get_protocol(c) which safeguards against NULL returns, for use instead...
Stefan Eissing [Wed, 26 Aug 2015 08:58:45 +0000 (08:58 +0000)]
adding ap_get_protocol(c) which safeguards against NULL returns, for use instead of direct calling ap_run_protocol_get

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

9 years agoFix an error spotted by sparse.
Christophe Jaillet [Tue, 25 Aug 2015 16:57:13 +0000 (16:57 +0000)]
Fix an error spotted by sparse.
Without the parens, the 2 first bits are reseted, instead of just the one for CONDFLAG_NOCASE.

This "bug" looks harmless as the first bit (CONDFLAG_NONE) is never tested.

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

9 years agofixing msvc compiler warnings
Stefan Eissing [Tue, 25 Aug 2015 09:56:33 +0000 (09:56 +0000)]
fixing msvc compiler warnings

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

9 years agoNoise reduction
Gregg Lewis Smith [Tue, 25 Aug 2015 04:17:10 +0000 (04:17 +0000)]
Noise reduction
MSVC != GCC

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

9 years agoremoved mod_h2 directives which were experimental and should not support any longer...
Stefan Eissing [Mon, 24 Aug 2015 16:07:39 +0000 (16:07 +0000)]
removed mod_h2 directives which were experimental and should not support any longer, changed H2Direct to only be enabled by default when not using TLS, conf. to rfc7540

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

9 years agoGenerated doc changes
Mike Rumph [Mon, 24 Aug 2015 15:41:44 +0000 (15:41 +0000)]
Generated doc changes

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

9 years agoeliminationg two compiler warnings
Stefan Eissing [Mon, 24 Aug 2015 13:24:24 +0000 (13:24 +0000)]
eliminationg two compiler warnings

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

9 years agoh2_repsonse across pool lifetimes implementation changed, no longer using calloc
Stefan Eissing [Mon, 24 Aug 2015 12:48:59 +0000 (12:48 +0000)]
h2_repsonse across pool lifetimes implementation changed, no longer using calloc

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

9 years agoDocument balancer and balancer-member growth margin reached's behaviour.
Yann Ylavic [Mon, 24 Aug 2015 10:34:02 +0000 (10:34 +0000)]
Document balancer and balancer-member growth margin reached's behaviour.

[Reverted by r1700601]

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

9 years agochanged Protocols to let vhosts override servers, removed old H2Engine example from...
Stefan Eissing [Mon, 24 Aug 2015 09:26:17 +0000 (09:26 +0000)]
changed Protocols to let vhosts override servers, removed old H2Engine example from readme

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

9 years ago* Do a more complete cleanup here. At this point we cannot end up with something...
Ruediger Pluem [Mon, 24 Aug 2015 07:43:19 +0000 (07:43 +0000)]
* Do a more complete cleanup here. At this point we cannot end up with something useful with the data we created so far.

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

9 years agoRebuild.
Lucien Gentis [Sat, 22 Aug 2015 16:39:58 +0000 (16:39 +0000)]
Rebuild.

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

9 years agoXML update.
Lucien Gentis [Sat, 22 Aug 2015 16:39:02 +0000 (16:39 +0000)]
XML update.

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

9 years agoNetWare build bits for mod_h2
Gregg Lewis Smith [Fri, 21 Aug 2015 19:47:27 +0000 (19:47 +0000)]
NetWare build bits for mod_h2
Submitted by normw gknw net

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

9 years agomod_substitute: follow up r1697013.
Yann Ylavic [Fri, 21 Aug 2015 15:52:29 +0000 (15:52 +0000)]
mod_substitute: follow up r1697013.
Update the doc.

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

9 years agomod_substitute: follow up r1688339.
Yann Ylavic [Fri, 21 Aug 2015 15:46:33 +0000 (15:46 +0000)]
mod_substitute: follow up r1688339.
SubstituteInheritBefore is the default in 2.5.x but wasn't for ealier versions.

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

9 years agomod_substitute: revert r1697002.
Yann Ylavic [Fri, 21 Aug 2015 15:09:12 +0000 (15:09 +0000)]
mod_substitute: revert r1697002.

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

9 years agomod_substitute: follow up r1684900.
Yann Ylavic [Fri, 21 Aug 2015 14:19:17 +0000 (14:19 +0000)]
mod_substitute: follow up r1684900.
Really inherit before when asked to (inverse if/else contents).

[reverted by r1697007]

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