1
0
mirror of https://github.com/apache/httpd.git synced 2026-10-23 22:49:01 +03:00
Commit Graph

9148 Commits

Author SHA1 Message Date
Lucien Gentis
a423914e86 Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1713142 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 14:55:55 +00:00
Lucien Gentis
711d93c757 XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1713141 13f79535-47bb-0310-9956-ffa450edef68
2015-11-07 14:55:07 +00:00
Jim Jagielski
00b7420bed xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1712269 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 12:05:03 +00:00
Jim Jagielski
a8158eec0d Merge r1710380, r1710391 from trunk:
Make the fix for fully qualifying REDIRECT_URL from PR#57785 opt-in. 




followup to r1710380 -- refactored name and didn't have 'make depend'


Submitted by: covener
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1712268 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 12:02:43 +00:00
Jim Jagielski
d560d2b940 Merge r1707831 from trunk:
PR 53845: Remove commented config regarding DNT because the spec now has CR status (confirming our interpretation) and MS has committed to changing their implementation: http://blogs.microsoft.com/on-the-issues/2015/04/03/an-update-on-microsofts-approach-to-do-not-track/
Submitted by: fielding
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1712265 13f79535-47bb-0310-9956-ffa450edef68
2015-11-03 11:58:58 +00:00
Christophe Jaillet
d4eaedd6e5 xform
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1711551 13f79535-47bb-0310-9956-ffa450edef68
2015-10-30 20:54:44 +00:00
Christophe Jaillet
d5964a9e32 Fix a typo in doc as spotted by ceving in online doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1711549 13f79535-47bb-0310-9956-ffa450edef68
2015-10-30 20:53:18 +00:00
Mike Rumph
69a59ce3a6 Generated doc changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1711101 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 18:48:42 +00:00
Mike Rumph
d7a1e78572 Add compatibility note to mod_http2 doc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1711098 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 18:40:59 +00:00
Mike Rumph
31b9bed4de Generated doc changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1711097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-28 18:37:27 +00:00
Rainer Jung
c0a1206db7 Extend expression parser registration to support
ssl variables in any expression using
mod_rewrite syntax "%{SSL:VARNAME}" or function
syntax "ssl(VARNAME)".

Backport of r1707002 and r1709596 from trunk.

Committed By: rjung
Backported By: rjung
Reviewed by: rjung, ylavic, sf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1710433 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 11:57:28 +00:00
André Malo
d0d376cb1f update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1708185 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 18:03:22 +00:00
Lucien Gentis
420c7d931b Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707982 13f79535-47bb-0310-9956-ffa450edef68
2015-10-11 13:55:23 +00:00
Lucien Gentis
9730c4ce0e XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707979 13f79535-47bb-0310-9956-ffa450edef68
2015-10-11 13:51:56 +00:00
Rainer Jung
a471d12549 Xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707891 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 15:58:26 +00:00
Rainer Jung
8d963e1319 Fix small typo in new docs.
CTR
Backport of r1707883 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707887 13f79535-47bb-0310-9956-ffa450edef68
2015-10-10 15:29:57 +00:00
Jim Jagielski
611c626884 docs nit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707830 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 23:02:54 +00:00
Jim Jagielski
db3e5afbaf And we are 2.4.18-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707774 13f79535-47bb-0310-9956-ffa450edef68
2015-10-09 17:26:05 +00:00
Rainer Jung
029ab267cc Xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707632 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 22:58:07 +00:00
Rainer Jung
f6daf30a54 Add event in mpm docs where currently only
worker is mentioned. Existing worker text
applies to event without changes.

Thanks to Mathijs Schmittmann.

CTR
Backport of r1707626 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707631 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 22:44:21 +00:00
Rainer Jung
25e3095d48 Sort MPMs given in modulelist uniformly, list
most important or common ones first.

CTR
Backport of r1707627 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707629 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 22:40:53 +00:00
Christophe Jaillet
9d97dd8d5d Backport r1705791
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707612 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 19:26:51 +00:00
Stefan Eissing
2fd2a22851 backport of old h2 doc removal
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707520 13f79535-47bb-0310-9956-ffa450edef68
2015-10-08 12:55:53 +00:00
Rainer Jung
d9a6cc61a5 Xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707151 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 21:39:45 +00:00
Rainer Jung
3de0a78dcd Remove mod_h2 docs files forgotten after h2 to
http2 renaming.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707124 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 19:37:14 +00:00
Rainer Jung
ab131ebfd9 Add a docs remark about "SSLOptions StdEnvVars"
being not necessary for mod_rewrite
"%{SSL:VARIABLE}" feature and for the mod_ssl
extensions to mod_log_config (%{VARIABLE}x).

Xforms.

CTR
Backport of r1706989 from trunk.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707123 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 19:31:59 +00:00
Rainer Jung
6c6ba36402 Fix new XML error in mod_subtitute docs.
Followup to r1707039.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707122 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 19:17:10 +00:00
Jim Jagielski
5a040a6bd0 Merge r1684900, r1687539, r1687680, r1688331, r1688339, r1688340, r1688341, r1688343, r1697013, r1697015 from trunk:
mod_substitute: Fix configuraton merge order.
PR 57641 [Marc.Stern]


mod_substitute: follow up r1684900.
Introduce the SubstituteInheritBefore directive to configure the merge order.
This allows to preserve 2.4 and earlier behaviour.


mod_substitute: follow up to r1687539.
Use tristate single inherit_before variable instead of two, according to
wrowe's advices.


mod_substitute: follow up to r1687680.
Fix dir config merger 'over'-write, thanks Bill (again).

Very difficult to read, and therefore was wrong.

Assert that the SubstituteInheritBefore option was explicitly toggled,
and do not default in 2.x to this legacy behavior.



Optimize in all cases that the members are all explicitly initialized.

Useful for 2.2 and 2.4, but trunk will require the subsequent patch.




Increase legibility of the max_line_length behavior, and adjust for
the requirement that all members are initialized explicitly due to
the previous patch.



Net -8 LoC, my usual specialty.

This didn't need to be reinvented; please use established helpers.



mod_substitute: follow up r1688339.
SubstituteInheritBefore is the default in 2.5.x but wasn't for ealier versions.


mod_substitute: follow up r1697013.
Update the doc.
Submitted by: niq, ylavic, ylavic, ylavic, wrowe, wrowe, wrowe, wrowe, ylavic, ylavic
Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707039 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 12:40:06 +00:00
Jim Jagielski
86c6ed2235 xforms
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1707030 13f79535-47bb-0310-9956-ffa450edef68
2015-10-06 12:23:41 +00:00
Lucien Gentis
f94ab6e5a4 Rebuild.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706605 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 15:58:03 +00:00
Lucien Gentis
3d68f093ca XML updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706603 13f79535-47bb-0310-9956-ffa450edef68
2015-10-03 15:57:13 +00:00
Nilgun Belma Buguner
381370b83b update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706368 13f79535-47bb-0310-9956-ffa450edef68
2015-10-02 10:30:54 +00:00
Nilgun Belma Buguner
d867abda7c update for sync with English docs.
Translated by: Nilgün Belma Bugüner <nilgun belgeler.gen.tr>
Reviewed by:  Orhan Berent <berent belgeler.gen.tr> 




git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706367 13f79535-47bb-0310-9956-ffa450edef68
2015-10-02 10:29:29 +00:00
Kaspar Brand
24c9b68c1f update transformations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706012 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 11:56:58 +00:00
Kaspar Brand
ecf6758840 merge r1703952 from trunk
Support compilation against libssl built with OPENSSL_NO_SSL3,
and change the compiled-in default for SSL[Proxy]Protocol to "all -SSLv3",
in accordance with RFC 7568. PR 58349, PR 57120.

Proposed by: kbrand
Reviewed by: ylavic, jorton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706008 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 11:50:30 +00:00
Kaspar Brand
181e083ddb merge r1702643 from trunk
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.

Proposed by: kbrand
Reviewed by: ylavic, jorton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706007 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 11:42:54 +00:00
Kaspar Brand
5e6194b6f4 merge r1693792 from trunk
Add support for extracting the msUPN and dnsSRV forms
of subjectAltName entries of type "otherName" into
SSL_{CLIENT,SERVER}_SAN_OTHER_{msUPN,dnsSRV}_n environment
variables. Addresses PR 58020.

* docs/manual/mod/mod_ssl.xml: add SSL_*_SAN_OTHER_*_n entries to the
  environment variables table

* modules/ssl/ssl_engine_vars.c: add support for retrieving the
  SSL_{CLIENT,SERVER}_SAN_OTHER_{msUPN,dnsSRV}_n variables

* modules/ssl/ssl_util_ssl.c: add parse_otherName_value, which
  currently recognizes the "msUPN" (1.3.6.1.4.1.311.20.2.3) and
  "id-on-dnsSRV" (1.3.6.1.5.5.7.8.7) otherName forms, and
  adapt modssl_X509_getSAN to take an optional otherName form
  argument for the GEN_OTHERNAME case

* modules/ssl/ssl_util_ssl.h: adapt modssl_X509_getSAN prototype

* modules/ssl/mod_ssl.c: register the id-on-dnsSRV otherName form
  OID (1.3.6.1.5.5.7.8.7) in OpenSSL's objects table

Proposed by: kbrand
Reviewed by: ylavic, jorton


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1706006 13f79535-47bb-0310-9956-ffa450edef68
2015-09-30 11:38:34 +00:00
Yann Ylavic
c8dc4e3b7e Follow up to r1705672.
Backport changes that somehow missed the backport process.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705784 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 22:00:12 +00:00
Jim Jagielski
99477f027d doccos
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705753 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 19:38:26 +00:00
Jim Jagielski
f2ce5d4ab5 Merge r1705749 from trunk:
bye bye mod_h2, hello mod_http2

Reviewed/backported by: jim


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705751 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 19:30:00 +00:00
André Malo
4ba79718ef update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705750 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 19:26:41 +00:00
André Malo
95ad7d56f3 fix validation error
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705746 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 19:21:53 +00:00
Jim Jagielski
b0d87a9837 Sync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.17-protocols-http2@1705681 13f79535-47bb-0310-9956-ffa450edef68
2015-09-28 13:00:59 +00:00
Jim Jagielski
7475aa0909 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
2015-09-28 12:31:37 +00:00
Stefan Eissing
7705f25308 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
2015-09-28 09:17:49 +00:00
Yann Ylavic
780f9139c6 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
2015-09-28 08:32:00 +00:00
Graham Leggett
f92802fc31 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705493 13f79535-47bb-0310-9956-ffa450edef68
2015-09-26 22:22:31 +00:00
Graham Leggett
8e684412e1 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
2015-09-26 22:20:14 +00:00
André Malo
8f1a26bd9c update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1705344 13f79535-47bb-0310-9956-ffa450edef68
2015-09-25 19:46:55 +00:00
Stefan Eissing
8ce7ad2f85 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
2015-09-23 12:16:05 +00:00