]> granicus.if.org Git - apache/log
apache
9 years agonote note to t&r
Jim Jagielski [Mon, 28 Sep 2015 19:25:27 +0000 (19:25 +0000)]
note note to t&r

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

9 years agofix validation error
André Malo [Mon, 28 Sep 2015 19:21:53 +0000 (19:21 +0000)]
fix validation error

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

9 years agoUse r->hostname
Jim Jagielski [Mon, 28 Sep 2015 13:18:52 +0000 (13:18 +0000)]
Use r->hostname

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

9 years agooops2
Jim Jagielski [Mon, 28 Sep 2015 13:13:48 +0000 (13:13 +0000)]
oops2

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

9 years agooops
Jim Jagielski [Mon, 28 Sep 2015 13:12:17 +0000 (13:12 +0000)]
oops

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

9 years agomod_h2
Jim Jagielski [Mon, 28 Sep 2015 13:06:31 +0000 (13:06 +0000)]
mod_h2
Via: svn merge -r10:HEAD https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2

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

9 years agoSync 2.4.17-protocols-http2 2.4.17-protocols-http2
Jim Jagielski [Mon, 28 Sep 2015 13:00:59 +0000 (13:00 +0000)]
Sync

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1705681 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMerge r1697855, r1697339, r1696428, r1696266, r1696264, r1695874, r1695727, r1692516...
Jim Jagielski [Mon, 28 Sep 2015 12:31:37 +0000 (12:31 +0000)]
Merge r1697855, r1697339, r1696428, r1696266, r1696264, r1695874, r1695727, r1692516, r1692486, r1610674, r1685069, r1693918, r1698116, r1698133, r1694950, r1700968, r1701005, r1701145, r1701178 from trunk:

adding ap_get_protocol(c) which safeguards against NULL returns, for use instead of direct calling ap_run_protocol_get

changed Protocols to let vhosts override servers, removed old H2Engine example from readme

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

removed unnecessary lingering_close and sbh update on end of protocol upgrade handling

introducing ap_array_index in util, used in protocol and mod_h2

fixes existing protocol missing in selection if not explicitly proposed

new directive ProtocolsHonorOrder, added documentation for Protocols feature, changed preference selection and config merging

removed accidental code

new Protocols directive and core API changes to enable protocol switching on HTTP Upgrade or ALPN, implemented in mod_ssl and mod_h2

SECURITY (CVE-2014-0117): Fix a crash in mod_proxy.  In a reverse
proxy configuration, a remote attacker could send a carefully crafted
request which could crash a server process, resulting in denial of
service.

Thanks to Marek Kroemeke working with HP's Zero Day Initiative for
reporting this issue.

* server/util.c (ap_parse_token_list_strict): New function.

* modules/proxy/proxy_util.c (find_conn_headers): Use it here.

* modules/proxy/mod_proxy_http.c (ap_proxy_http_process_response):
  Send a 400 for a malformed Connection header.

Submitted by: Edward Lu, breser, covener

http, mod_ssl: Introduce and return the 421 (Misdirected Request) status code
for clients requesting a hostname on a reused connection whose SNI (from the
TLS handshake) does not match.
PR 5802.

This allows HTTP/2 clients to fall back to a new connection as per:
https://tools.ietf.org/html/rfc7540#section-9.1.2

Proposed by: Stefan Eissing <stefan eissing.org>
Reviewed by: ylavic

c89

Allowing protocol_propose hooks to be called with offers=NULL, clarifying semantics as proposed by chaosed0@gmail.com

giving ap_array_index a start parameter, adding ap_array_contains

ap_process_request needs exportation for use in mod_h2 on Windows

final final change to the new ap_array_str_* functions after review

changed Protocols default to http/1.1 only, updated documentation, changed ap_select_protocol() to return NULL when no protocol could be agreed upon

mod_ssl: fix compiler warning (bad cast).

improvements in ap_select_protocol(), supplied by yann ylavic
Submitted by: icing, jorton, ylavic, covener, icing, icing, gsmith, icing, icing, ylavic, icing
Reviewed/backported by: jim

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

9 years agoNote mod_h2 is RTC exception
Jim Jagielski [Mon, 28 Sep 2015 12:27:50 +0000 (12:27 +0000)]
Note mod_h2 is RTC exception

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

9 years agoMerge r1705099, r1705134 from trunk:
Jim Jagielski [Mon, 28 Sep 2015 12:26:10 +0000 (12:26 +0000)]
Merge r1705099, r1705134 from trunk:

Don't count initial handshake I/O when determining the first byte.
PR58454

Submitted By: Konstantin J. Chernov
Committed By: covener

Avoid storing request stuff in r->connection->conn_config to
avoid problems with e.g. write completion.

Submitted by: covener
Reviewed/backported by: jim

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

9 years agoMerge r1704099 from trunk:
Jim Jagielski [Mon, 28 Sep 2015 12:25:04 +0000 (12:25 +0000)]
Merge r1704099 from trunk:

Fix a spurious test where a condition is always true:
      if ((cfg->skipto != NULL) && (ctx->flags | ENC_SKIPTO)) {
                                    ^^^^^^^^^^^^^^^^^^^^^^^

This is apparently harmless because, in 'xml2enc_filter_init', the ENC_SKIPTO bit of 'flags' is set to ENC_SKIPTO if 'skipto' is non-NULL.
Submitted by: jailletc36
Reviewed/backported by: jim

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

9 years agoVote.
Yann Ylavic [Mon, 28 Sep 2015 10:53:07 +0000 (10:53 +0000)]
Vote.

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

9 years agoVote/promote mod_h2, what about "experimental" bits?
Yann Ylavic [Mon, 28 Sep 2015 10:25:10 +0000 (10:25 +0000)]
Vote/promote mod_h2, what about "experimental" bits?

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

9 years agoVote, promote.
Yann Ylavic [Mon, 28 Sep 2015 09:32:29 +0000 (09:32 +0000)]
Vote, promote.

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

9 years agopropose update
Stefan Eissing [Mon, 28 Sep 2015 09:20:59 +0000 (09:20 +0000)]
propose update

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

9 years agomerged current 2.4.x and ap_mmn.h update by minfrin
Stefan Eissing [Mon, 28 Sep 2015 09:17:49 +0000 (09:17 +0000)]
merged current 2.4.x and ap_mmn.h update by minfrin

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1705628 13f79535-47bb-0310-9956-ffa450edef68

9 years agoCompatibility issue?
Yann Ylavic [Mon, 28 Sep 2015 08:50:46 +0000 (08:50 +0000)]
Compatibility issue?

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

9 years agoFix typo in proposal.
Yann Ylavic [Mon, 28 Sep 2015 08:45:41 +0000 (08:45 +0000)]
Fix typo in proposal.

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

9 years agoPropose follow up to r1705492.
Yann Ylavic [Mon, 28 Sep 2015 08:44:20 +0000 (08:44 +0000)]
Propose follow up to r1705492.

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

9 years agoFix availability version for 'ListenCoresBucketsRatio'.
Yann Ylavic [Mon, 28 Sep 2015 08:32:00 +0000 (08:32 +0000)]
Fix availability version for 'ListenCoresBucketsRatio'.

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

9 years agoOK
Jim Jagielski [Sun, 27 Sep 2015 20:36:10 +0000 (20:36 +0000)]
OK

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

9 years agoAdd a comment.
Graham Leggett [Sun, 27 Sep 2015 12:21:10 +0000 (12:21 +0000)]
Add a comment.

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

9 years agomod_cache: r->err_headers_out is not merged into
Graham Leggett [Sun, 27 Sep 2015 11:33:27 +0000 (11:33 +0000)]
mod_cache: r->err_headers_out is not merged into
r->headers when mod_cache is enabled and the response
is cached for the first time.

Submitted by: elu
Reviewed by: ylavic, minfrin

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

9 years agoVote and promote.
Graham Leggett [Sun, 27 Sep 2015 11:31:49 +0000 (11:31 +0000)]
Vote and promote.

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

9 years agoPropose MMN bump.
Graham Leggett [Sat, 26 Sep 2015 23:36:30 +0000 (23:36 +0000)]
Propose MMN bump.

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

9 years agomod_slotmem_shm: Fix slots/SHM files names on restart for systems that
Graham Leggett [Sat, 26 Sep 2015 22:55:56 +0000 (22:55 +0000)]
mod_slotmem_shm: Fix slots/SHM files names on restart for systems that
can't create new (clear) slots while previous children gracefully stopping
still use the old ones (e.g. Windows, OS2). PR 58024.

Submitted by: ylavic
Reviewed by: jim, minfrin

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

9 years agoVote and promote.
Graham Leggett [Sat, 26 Sep 2015 22:54:42 +0000 (22:54 +0000)]
Vote and promote.

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

9 years agoutil_script: Make REDIRECT_URL a complete URL (where set).
Graham Leggett [Sat, 26 Sep 2015 22:44:23 +0000 (22:44 +0000)]
util_script: Make REDIRECT_URL a complete URL (where set).
PR 57785

Submitted by: niq
Reviewed by: jim, minfrin

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

9 years agoVote and promote.
Graham Leggett [Sat, 26 Sep 2015 22:42:44 +0000 (22:42 +0000)]
Vote and promote.

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

9 years agoWe need docs...
Graham Leggett [Sat, 26 Sep 2015 22:31:37 +0000 (22:31 +0000)]
We need docs...

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

9 years agoUpdate transformations.
Graham Leggett [Sat, 26 Sep 2015 22:22:31 +0000 (22:22 +0000)]
Update transformations.

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

9 years agoMPMs: Support SO_REUSEPORT to create multiple duplicated listener
Graham Leggett [Sat, 26 Sep 2015 22:20:14 +0000 (22:20 +0000)]
MPMs: Support SO_REUSEPORT to create multiple duplicated listener
records for scalability.

Submitted by: Yingqi Lu <yingqi.lu@intel.com>, Jeff Trawick,
              Jim Jagielski, Yann Ylavic

Reviewed by: ylavic, jim, minfrin

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

9 years agoVote, promote.
Graham Leggett [Sat, 26 Sep 2015 22:16:18 +0000 (22:16 +0000)]
Vote, promote.

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

9 years agoVote.
Graham Leggett [Sat, 26 Sep 2015 21:59:39 +0000 (21:59 +0000)]
Vote.

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

9 years agoVote.
Graham Leggett [Sat, 26 Sep 2015 21:50:23 +0000 (21:50 +0000)]
Vote.

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

9 years agoVote.
Graham Leggett [Sat, 26 Sep 2015 21:39:42 +0000 (21:39 +0000)]
Vote.

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

9 years agoProposal.
Graham Leggett [Sat, 26 Sep 2015 21:36:34 +0000 (21:36 +0000)]
Proposal.

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

9 years agopropose a few PR-related mod_ssl backports
Kaspar Brand [Sat, 26 Sep 2015 08:08:16 +0000 (08:08 +0000)]
propose a few PR-related mod_ssl backports

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

9 years agoPropose
Christophe Jaillet [Fri, 25 Sep 2015 20:08:43 +0000 (20:08 +0000)]
Propose

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

9 years agoupdate transformation
André Malo [Fri, 25 Sep 2015 19:46:55 +0000 (19:46 +0000)]
update transformation

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

9 years agoFix typo in comment
Christophe Jaillet [Fri, 25 Sep 2015 19:10:51 +0000 (19:10 +0000)]
Fix typo in comment
(r1380525 on trunk)

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

9 years agoadd fix for abuse of per-connection module config
Eric Covener [Thu, 24 Sep 2015 20:24:19 +0000 (20:24 +0000)]
add fix for abuse of per-connection module config

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

9 years agopropose logio PR
Eric Covener [Thu, 24 Sep 2015 16:30:29 +0000 (16:30 +0000)]
propose logio PR

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

9 years agoVote.
Yann Ylavic [Wed, 23 Sep 2015 14:09:47 +0000 (14:09 +0000)]
Vote.

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

9 years agoMerge r1664709, r1697323 from trunk:
Jim Jagielski [Wed, 23 Sep 2015 12:35:57 +0000 (12:35 +0000)]
Merge r1664709, r1697323 from trunk:

 * Do not reset the retry timeout if the worker is in error at this stage even
   if the connection to the backend was successful. It was likely set into
   error by a different thread / process in parallel e.g. for a timeout or
   bad status. We should respect this and should not continue with a connection
   via this worker even if we got one.

* Do a more complete cleanup here. At this point we cannot end up with something useful with the data we created so far.
Submitted by: rpluem
Reviewed/backported by: jim

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

9 years agopromote
Jim Jagielski [Wed, 23 Sep 2015 12:33:57 +0000 (12:33 +0000)]
promote

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

9 years agovote and demote
Jim Jagielski [Wed, 23 Sep 2015 12:33:31 +0000 (12:33 +0000)]
vote and demote

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

9 years agolatest changes from branches/2.4.x, merged --enable-http2 from trunk
Stefan Eissing [Wed, 23 Sep 2015 12:16:05 +0000 (12:16 +0000)]
latest changes from branches/2.4.x, merged --enable-http2 from trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1704828 13f79535-47bb-0310-9956-ffa450edef68

9 years agomerged race condition fix and versoin bump from trunk
Stefan Eissing [Wed, 23 Sep 2015 09:59:45 +0000 (09:59 +0000)]
merged race condition fix and versoin bump from trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1704801 13f79535-47bb-0310-9956-ffa450edef68

9 years agoremove unused var 'np'
Gregg Lewis Smith [Tue, 22 Sep 2015 20:20:12 +0000 (20:20 +0000)]
remove unused var 'np'

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1704714 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPropose
Edward Lu [Mon, 21 Sep 2015 19:28:11 +0000 (19:28 +0000)]
Propose

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

9 years agomerged latest session shutdown changes from trunk
Stefan Eissing [Mon, 21 Sep 2015 11:12:19 +0000 (11:12 +0000)]
merged latest session shutdown changes from trunk

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1704265 13f79535-47bb-0310-9956-ffa450edef68

9 years agoRebuild.
Lucien Gentis [Sat, 19 Sep 2015 16:08:16 +0000 (16:08 +0000)]
Rebuild.

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

9 years agoXML updates.
Lucien Gentis [Sat, 19 Sep 2015 16:07:29 +0000 (16:07 +0000)]
XML updates.

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

9 years agomerged 1703871 by Yann for SNI misdirect handling
Stefan Eissing [Sat, 19 Sep 2015 11:52:56 +0000 (11:52 +0000)]
merged 1703871 by Yann for SNI misdirect handling

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703994 13f79535-47bb-0310-9956-ffa450edef68

9 years agoPropose mod_proxy fixes.
Yann Ylavic [Fri, 18 Sep 2015 16:57:33 +0000 (16:57 +0000)]
Propose mod_proxy fixes.

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

9 years agomerged latest branches/2.4.x changes
Stefan Eissing [Fri, 18 Sep 2015 13:19:33 +0000 (13:19 +0000)]
merged latest branches/2.4.x changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703838 13f79535-47bb-0310-9956-ffa450edef68

9 years agomerged yann's patch to fix MISDIRECTED_REQUEST handling
Stefan Eissing [Fri, 18 Sep 2015 12:50:24 +0000 (12:50 +0000)]
merged yann's patch to fix MISDIRECTED_REQUEST handling

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703826 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMerge r1703417, r1703642 from trunk:
Jim Jagielski [Thu, 17 Sep 2015 16:56:01 +0000 (16:56 +0000)]
Merge r1703417, r1703642 from trunk:

Add in finding LUA installed via Macports and others

accept both 5.1 and 5.2, so make messages clear

Reviewed/backported by: jim

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

9 years agoBackport
Jim Jagielski [Thu, 17 Sep 2015 15:02:43 +0000 (15:02 +0000)]
Backport

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

9 years agoBackport req
Jim Jagielski [Wed, 16 Sep 2015 14:44:49 +0000 (14:44 +0000)]
Backport req

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

9 years agoMerge r1700851 from trunk:
Jim Jagielski [Wed, 16 Sep 2015 13:34:30 +0000 (13:34 +0000)]
Merge r1700851 from trunk:

mod_negotiation: simplify type-map body tag lookup, and be safe
should it contain a NUL byte.

Submitted by: ylavic
Reviewed/backported by: jim

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

9 years agoMerge r1602978, r1683044, r1683884, r1673368, r1701717, r1683047 from trunk:
Jim Jagielski [Wed, 16 Sep 2015 13:34:11 +0000 (13:34 +0000)]
Merge r1602978, r1683044, r1683884, r1673368, r1701717, r1683047 from trunk:

Core filters do not need mod_proxy.h

Small speed optimization when parsing <Limit>, <LimitExcept> and environment variables

Save a few bytes in conf pool

Remove some spaces between some return statements  and ';' + fix a strange formating in a 'for' loop

In order to save a few cycles, delay a hash table lookup which is not necessary needed

Constify + save a few bytes in conf pool
Submitted by: ylavic, jailletc36, jailletc36, jailletc36, jailletc36, jailletc36
Reviewed/backported by: jim

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

9 years agoMerge r1701436 from trunk:
Jim Jagielski [Wed, 16 Sep 2015 13:33:12 +0000 (13:33 +0000)]
Merge r1701436 from trunk:

allow autoindex w/o mod_dir/mod_mime setting the DIR_MAGIC_TYPE.

Submitted by: covener
Reviewed/backported by: jim

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

9 years agoMerge r1701545 from trunk:
Jim Jagielski [Wed, 16 Sep 2015 13:32:21 +0000 (13:32 +0000)]
Merge r1701545 from trunk:

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.
Submitted by: jailletc36
Reviewed/backported by: jim

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

9 years agopromote
Jim Jagielski [Wed, 16 Sep 2015 13:31:45 +0000 (13:31 +0000)]
promote

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

9 years agovote
Jim Jagielski [Wed, 16 Sep 2015 13:31:17 +0000 (13:31 +0000)]
vote

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

9 years agoremove unwanted/needed merge remnants
Gregg Lewis Smith [Tue, 15 Sep 2015 18:21:04 +0000 (18:21 +0000)]
remove unwanted/needed merge remnants
change base address

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703270 13f79535-47bb-0310-9956-ffa450edef68

9 years agofix a missed C&P error in comment
Gregg Lewis Smith [Tue, 15 Sep 2015 18:17:25 +0000 (18:17 +0000)]
fix a missed C&P error in comment
add a missing piece needed for command line build

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703269 13f79535-47bb-0310-9956-ffa450edef68

9 years agoVotes.
Yann Ylavic [Tue, 15 Sep 2015 14:44:41 +0000 (14:44 +0000)]
Votes.

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

9 years agoPropose mod_slotmem_shm/mpm_winnt fixes.
Yann Ylavic [Tue, 15 Sep 2015 14:36:14 +0000 (14:36 +0000)]
Propose mod_slotmem_shm/mpm_winnt fixes.

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

9 years agoadding 1703152 to fix ProtocolsHonorOrder description
Stefan Eissing [Tue, 15 Sep 2015 11:51:26 +0000 (11:51 +0000)]
adding 1703152 to fix ProtocolsHonorOrder description

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1703159 13f79535-47bb-0310-9956-ffa450edef68

9 years agoUpdate easy proposals
Christophe Jaillet [Mon, 14 Sep 2015 21:14:21 +0000 (21:14 +0000)]
Update easy proposals

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

9 years agoEasy proposals
Christophe Jaillet [Mon, 14 Sep 2015 20:26:16 +0000 (20:26 +0000)]
Easy proposals

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

9 years agomerge of current 2.4.x and change 1702919
Stefan Eissing [Mon, 14 Sep 2015 12:38:53 +0000 (12:38 +0000)]
merge of current 2.4.x and change 1702919

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1702925 13f79535-47bb-0310-9956-ffa450edef68

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

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

9 years agoXML updates.
Lucien Gentis [Sun, 13 Sep 2015 16:50:53 +0000 (16:50 +0000)]
XML updates.

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

9 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/branches/2.4.x@1702646 13f79535-47bb-0310-9956-ffa450edef68

9 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/branches/2.4.x@1702644 13f79535-47bb-0310-9956-ffa450edef68

9 years agoAndy Wang says lots of fishy things here
Eric Covener [Thu, 10 Sep 2015 19:32:52 +0000 (19:32 +0000)]
Andy Wang says lots of fishy things here

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

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

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

9 years agoApplies patch from info@mathijs.info to use 2.4 authz syntax.
Rich Bowen [Wed, 9 Sep 2015 14:07:35 +0000 (14:07 +0000)]
Applies patch from info@mathijs.info to use 2.4 authz syntax.

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

9 years agopropose old trunk patch
Eric Covener [Wed, 9 Sep 2015 02:37:49 +0000 (02:37 +0000)]
propose old trunk patch

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

9 years agomerged latest changes in 2.4.x
Stefan Eissing [Tue, 8 Sep 2015 13:18:56 +0000 (13:18 +0000)]
merged latest changes in 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1701801 13f79535-47bb-0310-9956-ffa450edef68

9 years agoMerge r1700317, r1700318, r1700319, r1700320, r1700321, r1700322, r1700326, r1700328...
Jim Jagielski [Tue, 8 Sep 2015 11:10:16 +0000 (11:10 +0000)]
Merge r1700317, r1700318, r1700319, r1700320, r1700321, r1700322, r1700326, r1700328, r1700330, r1700331, r1700332, r1700334, r1700336, r1700338 from trunk:

Fix some spurious ident spotted by sparse

Silence a sparse warning about inconsistent indenting

Silence a sparse warning about inconsistent indenting

Silence a sparse warning about inconsistent indenting

Silence a sparse warning about inconsistent indenting

Silence a sparse warning about inconsistent indenting

Silence a sparse warning about inconsistent indenting + some minor style issues

Remove useless line

Silence a sparse warning about inconsistent indenting + some minor style issues

Silence a sparse warning about inconsistent indenting + some minor style issues

Silence a sparse warning about inconsistent indenting + some minor style issues

Fix some spurious ident spotted by sparse

Silence a sparse warning about inconsistent indenting + some minor style issues

Silence a sparse warning about inconsistent indenting + some minor style issues
Submitted by: jailletc36
Reviewed/backported by: jim

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

9 years agoMerge r1696105, r1700418 from trunk:
Jim Jagielski [Tue, 8 Sep 2015 11:07:37 +0000 (11:07 +0000)]
Merge r1696105, r1700418 from trunk:

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

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.
Submitted by: jailletc36
Reviewed/backported by: jim

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

9 years agoadded 1701347, re-merged with current 2.4.x
Stefan Eissing [Tue, 8 Sep 2015 10:01:43 +0000 (10:01 +0000)]
added 1701347, re-merged with current 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1701759 13f79535-47bb-0310-9956-ffa450edef68

9 years agoupdated http2 backport proposal with own branch reference
Stefan Eissing [Mon, 7 Sep 2015 18:08:52 +0000 (18:08 +0000)]
updated http2 backport proposal with own branch reference

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

9 years agomerge of protocols + http2 relevant changes
Stefan Eissing [Mon, 7 Sep 2015 17:37:19 +0000 (17:37 +0000)]
merge of protocols + http2 relevant changes

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1701655 13f79535-47bb-0310-9956-ffa450edef68

9 years agotransient branch to bring Protocols feature and mod_h2 into 2.4.x
Stefan Eissing [Mon, 7 Sep 2015 11:34:31 +0000 (11:34 +0000)]
transient branch to bring Protocols feature and mod_h2 into 2.4.x

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1701609 13f79535-47bb-0310-9956-ffa450edef68

9 years agoVote.
Yann Ylavic [Mon, 7 Sep 2015 06:54:54 +0000 (06:54 +0000)]
Vote.

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

9 years agoUpdate proposal
Christophe Jaillet [Mon, 7 Sep 2015 06:07:32 +0000 (06:07 +0000)]
Update proposal

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

9 years agovote for alternative fix
Eric Covener [Sun, 6 Sep 2015 21:47:45 +0000 (21:47 +0000)]
vote for alternative fix

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

9 years agoremove old flavor of ALPN proposal, new ALPN/Protols is now proposed.
Eric Covener [Sun, 6 Sep 2015 21:28:35 +0000 (21:28 +0000)]
remove old flavor of ALPN proposal, new ALPN/Protols is now proposed.

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

9 years agosome easy votes/promotes
Eric Covener [Sun, 6 Sep 2015 21:25:14 +0000 (21:25 +0000)]
some easy votes/promotes

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

9 years agoAdd CHANGES entry
Christophe Jaillet [Sun, 6 Sep 2015 06:10:29 +0000 (06:10 +0000)]
Add CHANGES entry

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

9 years agoautoindex fix w/o mod_mime and mod_dir
Eric Covener [Sun, 6 Sep 2015 02:08:32 +0000 (02:08 +0000)]
autoindex fix w/o mod_mime and mod_dir

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

9 years agoMerge r1597352 from trunk:
Jim Jagielski [Sat, 5 Sep 2015 17:04:34 +0000 (17:04 +0000)]
Merge r1597352 from trunk:

* Give ap_proxy_post_request as chance to act correctly on the status code
  by setting r->status temporarily to access_status. r->status might be
  different than access_status e.g. r->status could be HTTP_OK if e.g. we
  override the error page on the proxy or if the error was not generated
  by the backend itself but by the proxy e.g. a bad gateway.

Submitted by: rpluem
Reviewed/backported by: jim

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

9 years ago *) mod_session_dbd: fix lifetime of Request notes.
Jim Jagielski [Sat, 5 Sep 2015 17:04:13 +0000 (17:04 +0000)]
  *) mod_session_dbd: fix lifetime of Request notes.
       trunk: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/session/mod_session_dbd.c?r1=1679181&r2=1687087&view=patch
            2.4.x: trunk patch applies.
                 +1: niq, ylavic, jim

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

9 years agoMerge r1693963 from trunk:
Jim Jagielski [Sat, 5 Sep 2015 17:02:41 +0000 (17:02 +0000)]
Merge r1693963 from trunk:

Allow cookies set by mod_rewrite to contain ':' by accepting
';' as an alternate separator.  PR47241.

Submitted By: <bugzilla schermesser com>, covener
Committed By: covener

Submitted by: covener
Reviewed/backported by: jim

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