]> granicus.if.org Git - apache/log
apache
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 years agomod_proxy_balancer: Fix balancers and balancer members reuse on
Yann Ylavic [Fri, 21 Aug 2015 12:34:02 +0000 (12:34 +0000)]
mod_proxy_balancer: Fix balancers and balancer members reuse on
restart when new ones are added.  PR 58024.

Since slotmem_create() issues a strict check on the size of an existing
slot before reusing it, it won't reuse existing balancers and members when
new ones are added during restart (whereas growth margins would allow it).
Fix this by using slotmem_attach() first and if it succeeds do the checks
based on the returned previous number of existing entries.

[Reverted by r1698123]

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

8 years agoAPRify ECONNRESET
Gregg Lewis Smith [Thu, 20 Aug 2015 23:36:25 +0000 (23:36 +0000)]
APRify ECONNRESET

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

8 years agofixed type of error parameter for invalid_frame_recv_cb callback
Stefan Eissing [Thu, 20 Aug 2015 10:56:08 +0000 (10:56 +0000)]
fixed type of error parameter for invalid_frame_recv_cb callback

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

8 years agoGenerated doc changes
Mike Rumph [Wed, 19 Aug 2015 16:22:42 +0000 (16:22 +0000)]
Generated doc changes

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

8 years agoRestructure ProxyPass directive doc
Mike Rumph [Wed, 19 Aug 2015 16:18:23 +0000 (16:18 +0000)]
Restructure ProxyPass directive doc

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

8 years agoreplacing strchr on const char * by proper ap_ variants
Stefan Eissing [Wed, 19 Aug 2015 14:55:26 +0000 (14:55 +0000)]
replacing strchr on const char * by proper ap_ variants

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

8 years agomod_h2 compiles warning free in maintainer-mode
Stefan Eissing [Wed, 19 Aug 2015 14:13:49 +0000 (14:13 +0000)]
mod_h2 compiles warning free in maintainer-mode

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

8 years agofix a warning.
Jean-Frederic Clere [Wed, 19 Aug 2015 11:50:35 +0000 (11:50 +0000)]
fix a warning.

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

8 years agokeep the C89-ers happy. Submitted by Norm (normw@gknw.net).
Jean-Frederic Clere [Wed, 19 Aug 2015 11:46:23 +0000 (11:46 +0000)]
keep the C89-ers happy. Submitted by Norm (normw@gknw.net).

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

8 years agocosmetic: match case style to all previous
Gregg Lewis Smith [Tue, 18 Aug 2015 19:50:08 +0000 (19:50 +0000)]
cosmetic: match case style to all previous

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

8 years agoGenerated doc changes
Mike Rumph [Tue, 18 Aug 2015 18:48:34 +0000 (18:48 +0000)]
Generated doc changes

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

8 years agoGrammar corrections
Mike Rumph [Tue, 18 Aug 2015 18:44:50 +0000 (18:44 +0000)]
Grammar corrections

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

8 years agoGenerated doc changes
Mike Rumph [Tue, 18 Aug 2015 18:17:38 +0000 (18:17 +0000)]
Generated doc changes

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

8 years agoreverted late connection creation after encountering concurrency issues on ubuntu
Stefan Eissing [Tue, 18 Aug 2015 15:03:37 +0000 (15:03 +0000)]
reverted late connection creation after encountering concurrency issues on ubuntu

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

8 years agocreating ap_array_index in util, forwarding scheme into request processing, enabling...
Stefan Eissing [Tue, 18 Aug 2015 14:33:55 +0000 (14:33 +0000)]
creating ap_array_index in util, forwarding scheme into request processing, enabling SSL vars only when scheme is not http:, delayed connection creation until task worker assignment

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

8 years agoannouncing Alt-Svc only on first request per connection, using handler independent...
Stefan Eissing [Mon, 17 Aug 2015 14:02:07 +0000 (14:02 +0000)]
announcing Alt-Svc only on first request per connection, using handler independent hook

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

8 years agoremoved unnecessary lingering_close and sbh update on end of protocol upgrade handling
Stefan Eissing [Mon, 17 Aug 2015 12:54:54 +0000 (12:54 +0000)]
removed unnecessary lingering_close and sbh update on end of protocol upgrade handling

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

8 years agointroducing ap_array_index in util, used in protocol and mod_h2
Stefan Eissing [Mon, 17 Aug 2015 12:45:57 +0000 (12:45 +0000)]
introducing ap_array_index in util, used in protocol and mod_h2

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

8 years agoRebuild.
Lucien Gentis [Sun, 16 Aug 2015 15:58:57 +0000 (15:58 +0000)]
Rebuild.

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

8 years agoXML updates.
Lucien Gentis [Sun, 16 Aug 2015 15:58:03 +0000 (15:58 +0000)]
XML updates.

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

8 years agoWith the current implementation, it is likely to connect/close a socket with the...
Christophe Jaillet [Sat, 15 Aug 2015 22:05:08 +0000 (22:05 +0000)]
With the current implementation, it is likely to connect/close a socket with the memcache server for each command sent.
The root cause is a too small idle timeout (600 microseconds).

Add a new directive, 'MemcacheConnTTL',  to control this idle connection timeout with the memcache server(s).
Change the default value from 600 usec (!) to 15 sec as per Yann suggestion.

I've limited accepted values from 1 to 1800 seconds (half an hour) because internaly, the value passed to 'apr_memcache_server_create' is still in mirco-seconds.

PR 58091
~~~~~~~~~~~~~~~~~~~_
Homemade measurement (on a slighly modified version of httpd) shows a +30% in number of processed requests using memcache to cache /index.html.
Comparison made between the 600 usec and 15 sec TTL.

Memcache config:
    default
httpd Config:
    CacheEnable socache /
    CacheSocache memcache:127.0.0.1
    LoadModule mpm_event_module modules/mod_mpm_event.so
httpd compiled with:
    ./configure --enable-mpms-shared=all --with-included-apr --with-mysql --with-libxml2 --enable-modules=reallyall --enable-ssl-ct=no --enable-maintainer-mode --prefix=$HOME/httpd-2.5
httpd and memcache running on the same VM running under Ubuntu 15.04
Load tested using:
    ab -n 20000 http://127.0.0.1/index.html

Creation/closing of connections beetween httpd and memcache confirmed using the telnet connection to memcache and the stats command

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

8 years agoremoved HackMpm and MaxWrite config directives, added dynamic write size behaviour...
Stefan Eissing [Fri, 14 Aug 2015 14:07:43 +0000 (14:07 +0000)]
removed HackMpm and MaxWrite config directives, added dynamic write size behaviour according to recommendations from Ilya Grigorik similar to Apache Traffic Server

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