]> granicus.if.org Git - apache/log
apache
6 years agoUse <var> for variables in directive syntax everywhere for
Joe Orton [Fri, 4 May 2018 07:09:28 +0000 (07:09 +0000)]
Use <var> for variables in directive syntax everywhere for
consistency.

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

6 years agoTransforms.
Joe Orton [Thu, 3 May 2018 16:11:41 +0000 (16:11 +0000)]
Transforms.

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

6 years ago* modules/ssl/ssl_engine_pphrase.c (ssl_load_encrypted_pkey):
Joe Orton [Thu, 3 May 2018 15:41:26 +0000 (15:41 +0000)]
* modules/ssl/ssl_engine_pphrase.c (ssl_load_encrypted_pkey):
  Simplify code, no functional change.

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

6 years agomod_ssl: Add support for loading private keys from ENGINEs. Support
Joe Orton [Thu, 3 May 2018 13:06:46 +0000 (13:06 +0000)]
mod_ssl: Add support for loading private keys from ENGINEs.  Support
for PKCS#11 URIs only, and PIN entry is not threaded through
SSLPassPhraseDialog config yet.

* modules/ssl/ssl_util.c (modssl_is_engine_key): New function.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLCertificateKeyFile):
  Use it, skip check for file existence for engine keys.

* modules/ssl/ssl_engine_pphrase.c (modssl_load_engine_pkey):
  New function.

* modules/ssl/ssl_engine_init.c (ssl_init_server_certs):
  For engine keys, load via modssl_load_engine_pkey.

Submitted by: Anderson Sasaki <ansasaki redhat.com>, jorton

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

6 years ago* modules/ssl: Add some missing logno tags.
Joe Orton [Thu, 3 May 2018 12:25:32 +0000 (12:25 +0000)]
* modules/ssl: Add some missing logno tags.

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

6 years agomod_slomem_shm: Handle a generation number when the slotmem size changes.
Yann Ylavic [Thu, 3 May 2018 08:32:42 +0000 (08:32 +0000)]
mod_slomem_shm: Handle a generation number when the slotmem size changes.

Modifying the number of proxy balancers or balancer members on restart
could have prevented the server to load, notably on Windows.  PR 62308.

The generation number integrated in the SHM filename allows to create a
new/resized SHM while the previous is still in use by previous generation
gracefully shutting down (Windows prevents SHM/file to be removed in this
case, but even on Unix(es) an unlinked file might not be re-openable while
an inode exists). The generation number is added/incremented only if the
size requirement changed, such that unrelated restarts continue to share
SHMs between generations.

The cleanup handling is also simplified because both the parent process and
the Windows child process need to cleanup everything on exit. This translates
to cleanup_slotmem() being always registered but in the dry load state
(AP_SQ_MS_CREATE_PRE_CONFIG), for both cases still.

[Reverted by r1831868]

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

6 years ago* build/config_vars.sh.in: Clean more variables from installed
Joe Orton [Wed, 2 May 2018 13:15:50 +0000 (13:15 +0000)]
* build/config_vars.sh.in: Clean more variables from installed
  config_vars.mk.

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

6 years ago* modules/md/config2.m4: Only export "md_module" symbol
Joe Orton [Wed, 2 May 2018 12:30:09 +0000 (12:30 +0000)]
* modules/md/config2.m4: Only export "md_module" symbol
  for a DSO build.

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

6 years agomod_proxy_html: Fix variable interpolation and memory allocation failure in ProxyHTML...
Yann Ylavic [Wed, 2 May 2018 11:32:22 +0000 (11:32 +0000)]
mod_proxy_html: Fix variable interpolation and memory allocation failure in ProxyHTMLURLMap.

Proposed by: Ewald Dieterich <ewald mailbox.org>
Reviewed by: ylavic

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

6 years agoFollow up to r1822537: replace static variable with pool userdata.
Yann Ylavic [Wed, 2 May 2018 11:16:00 +0000 (11:16 +0000)]
Follow up to r1822537: replace static variable with pool userdata.

Also adds a comment and a CHANGES entry.

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 30 Apr 2018 12:46:50 +0000 (12:46 +0000)]
On the trunk:

mod_http2: restoring the v1.10.16 keepalive timeout behavioud of mod_http2 (to be verified).

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 30 Apr 2018 07:42:13 +0000 (07:42 +0000)]
On the trunk:

mod_http2: adding an abort function to slave connections' pools, so out-of-memory
     events lead to a control process abort, as on HTTP/1.x connections.

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

6 years agomod_xml2enc: follow up to r1829038 and r1829039.
Yann Ylavic [Sun, 29 Apr 2018 22:11:04 +0000 (22:11 +0000)]
mod_xml2enc: follow up to r1829038 and r1829039.

Use below pending_data logic for EOS bucket.
This closes #48

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

6 years agoFollow up to r1828222: fix "defined but not used 'prot'" warning with libressl.
Yann Ylavic [Sun, 29 Apr 2018 22:07:26 +0000 (22:07 +0000)]
Follow up to r1828222: fix "defined but not used 'prot'" warning with libressl.

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

6 years agoAdd mod_socache_redis docs
Luca Toscano [Sun, 29 Apr 2018 06:02:28 +0000 (06:02 +0000)]
Add mod_socache_redis docs

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

6 years agodocumentation rebuild
Luca Toscano [Sun, 29 Apr 2018 05:58:52 +0000 (05:58 +0000)]
documentation rebuild

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

6 years agomod_proxy_http2 docs: added section about HTTP/2 PUSH implementation and alternatives.
Stefan Eissing [Sat, 28 Apr 2018 12:13:00 +0000 (12:13 +0000)]
mod_proxy_http2 docs: added section about HTTP/2 PUSH implementation and alternatives.

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

6 years agotrivial tweak
Eric Covener [Sat, 28 Apr 2018 11:58:24 +0000 (11:58 +0000)]
trivial tweak

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

6 years agomod_http2 documentation: going a bit more into PUSH details and explaining H2EarlyHin...
Stefan Eissing [Sat, 28 Apr 2018 11:09:09 +0000 (11:09 +0000)]
mod_http2 documentation: going a bit more into PUSH details and explaining H2EarlyHints feature.

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

6 years agoOn the trunk:
Stefan Eissing [Sat, 28 Apr 2018 09:41:01 +0000 (09:41 +0000)]
On the trunk:

mod_http2: adding regular memory cleanup when transferring large response bodies. This
     reduces memory footprint and avoids memory exhaustion when transferring large files
     on 32-bit architectures. Fixes PR 62325.

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

6 years agomod_log_json: fixing compilation errors in maintainer mode.
Stefan Eissing [Sat, 28 Apr 2018 09:28:23 +0000 (09:28 +0000)]
mod_log_json: fixing compilation errors in maintainer mode.

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

6 years agoAdd mod_log_json
Paul Querna [Mon, 23 Apr 2018 15:49:16 +0000 (15:49 +0000)]
Add mod_log_json

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

6 years agoMove APACHE_CHECK_JANSSON m4 macro to general includes so additional modules can...
Paul Querna [Mon, 23 Apr 2018 15:31:28 +0000 (15:31 +0000)]
Move APACHE_CHECK_JANSSON m4 macro to general includes so additional modules can use it.

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

6 years agoSave a few cycles.
Christophe Jaillet [Sun, 22 Apr 2018 19:36:41 +0000 (19:36 +0000)]
Save a few cycles.

We already know the length of the string we want to copy, so use 'apr_pstrmemdup()' instead of 'apr_strdup()'.

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

6 years agoAxe ap_rgetline_core(), not used anymore.
Yann Ylavic [Sun, 22 Apr 2018 15:58:18 +0000 (15:58 +0000)]
Axe ap_rgetline_core(), not used anymore.

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

6 years agoFollow up to r1829659, ap_[f]getline() EBCDIC awareness.
Yann Ylavic [Sun, 22 Apr 2018 15:48:31 +0000 (15:48 +0000)]
Follow up to r1829659, ap_[f]getline() EBCDIC awareness.

Rename ap_fgetline_impl() to ap_fgetline_core(), and do missing EBCDIC
translation in ap_fgetline().

Also restore EBCDIC translation for ap_getline(), as noted by Ruediger this
was changed (unexpectedly) in r1829659.

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

6 years agoRebuild.
Lucien Gentis [Sat, 21 Apr 2018 16:28:53 +0000 (16:28 +0000)]
Rebuild.

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

6 years agoXML updates.
Lucien Gentis [Sat, 21 Apr 2018 16:24:52 +0000 (16:24 +0000)]
XML updates.

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

6 years agoXML update.
Lucien Gentis [Sat, 21 Apr 2018 16:19:21 +0000 (16:19 +0000)]
XML update.

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

6 years agorebuild with extraclean to pick up permalinks in
Eric Covener [Sat, 21 Apr 2018 15:59:44 +0000 (15:59 +0000)]
rebuild with extraclean to pick up permalinks in

This will make it easier to compare with an extraclean jdk9

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

6 years agoxforms
Eric Covener [Sat, 21 Apr 2018 15:45:59 +0000 (15:45 +0000)]
xforms

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

6 years agoxforms for mod_filter
Eric Covener [Sat, 21 Apr 2018 15:43:20 +0000 (15:43 +0000)]
xforms for mod_filter

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

6 years agotry to make the mod_filter docs a little more approachable
Eric Covener [Sat, 21 Apr 2018 15:42:03 +0000 (15:42 +0000)]
try to make the mod_filter docs a little more approachable

 - more consistently refer to the filters declared via the harness as
   "smart filters"
 - reinforce that the providers are traditional filters.
 - drop some info about the optional type parameter
 - elaborate on examples

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

6 years agoImprove highlight and make these doc much more readable.
Christophe Jaillet [Fri, 20 Apr 2018 21:06:39 +0000 (21:06 +0000)]
Improve highlight and make these doc much more readable.

Use the "c" highlight for API description.

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

6 years agoDelay some memory allocation.
Christophe Jaillet [Fri, 20 Apr 2018 19:33:51 +0000 (19:33 +0000)]
Delay some memory allocation.

If this handler will not handle the request, no need to waste bytes in the request pool.

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

6 years agohttp: add ap_fgetline() and AP_GETLINE_NONBLOCK flag.
Yann Ylavic [Fri, 20 Apr 2018 14:30:19 +0000 (14:30 +0000)]
http: add ap_fgetline() and AP_GETLINE_NONBLOCK flag.

It allows to read a line directly from an input filter, in blocking mode
or not. Since no request_rec is needed, a pool may be given.

Existing ap_[r]getline() function are now based off ap_fgetline() by calling:
    ap_fgetline(s, n, read, r->proto_input_filters, flags, bb, r->pool);

Will follow up with a new ap_get_mime_headers_*() flavor which can be used by
any filter that needs non-blocking and not necessarily has a request_rec (e.g.
ap_http_filter() to read proxied response trailers).

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

6 years agomod_proxy_http: follow up to r1829573: remain EBCDIC friendly.
Yann Ylavic [Fri, 20 Apr 2018 13:55:43 +0000 (13:55 +0000)]
mod_proxy_http: follow up to r1829573: remain EBCDIC friendly.

Keep using ap_rgetline() as before r1829573, since ap_rgetline_core() is
EBCDIC agnostic.

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

6 years agocore: forward flags to recursive/folding call to ap_rgetline_core().
Yann Ylavic [Fri, 20 Apr 2018 11:07:23 +0000 (11:07 +0000)]
core: forward flags to recursive/folding call to ap_rgetline_core().

We still need them when folding, other than AP_GETLINE_FOLD itself of course.

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

6 years agoRestore comment about LimitRequestBody vs proxied responses.
Yann Ylavic [Fri, 20 Apr 2018 10:38:05 +0000 (10:38 +0000)]
Restore comment about LimitRequestBody vs proxied responses.

ResponseFieldSize actually applies to headers (not body), so the comment was
valid but did match the code (addressed by r1829642 still).

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

6 years agohttp: LimitRequestBody applies to proxied requests.
Yann Ylavic [Fri, 20 Apr 2018 09:46:51 +0000 (09:46 +0000)]
http: LimitRequestBody applies to proxied requests.

If f->r->proxyreq is PROXYREQ_PROXY or PROXYREQ_REVERSE in ap_http_filter(),
we are still handling the request, not the response where LimitRequestBody
does not apply.

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

6 years agoFix some formating. (extra '.', missing <code>)
Christophe Jaillet [Thu, 19 Apr 2018 20:25:35 +0000 (20:25 +0000)]
Fix some formating. (extra '.', missing <code>)

Fix the number of available load balancer scheduler algorithms and add a link to the corresponding module. (lbmethod_heartbeat was missing in the list)

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

6 years agomod_proxy_http: make use of AP_GETLINE_NOSPC_EOL in ap_proxygetline().
Yann Ylavic [Thu, 19 Apr 2018 16:06:57 +0000 (16:06 +0000)]
mod_proxy_http: make use of AP_GETLINE_NOSPC_EOL in ap_proxygetline().

Fixes response header thrown away after the previous one was considered too
large and truncated.

PR 62196.

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

6 years agocore: Add and handle AP_GETLINE_NOSPC_EOL flag in ap_rgetline_core().
Yann Ylavic [Thu, 19 Apr 2018 15:01:10 +0000 (15:01 +0000)]
core: Add and handle AP_GETLINE_NOSPC_EOL flag in ap_rgetline_core().

This tells the ap_getline() family of functions to consume the end of line
when the buffer is exhausted.

PR 62198.

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

6 years ago* modules/ssl/ssl_engine_init.c (ssl_init_Module): Don't enable SSL
Joe Orton [Thu, 19 Apr 2018 08:02:41 +0000 (08:02 +0000)]
* modules/ssl/ssl_engine_init.c (ssl_init_Module): Don't enable SSL
  for a vhost if SSLEnable is not used and no certs are configured,
  even if the Listen protocol is "https".  Restores behaviour to that
  prior to r1809303 for configs which would now otherwise fail at
  startup.

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

6 years agoThese tokens should not be emphasised.
Christophe Jaillet [Tue, 17 Apr 2018 19:58:16 +0000 (19:58 +0000)]
These tokens should not be emphasised.

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

6 years agoExplain when the surrounding double quotes arround the expr argument MUST be avoided.
Christophe Jaillet [Tue, 17 Apr 2018 19:33:27 +0000 (19:33 +0000)]
Explain when the surrounding double quotes arround the expr argument MUST be avoided.

Fix an example to add these surrounding quotes to be consistent and in line with 2.4.x

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

6 years agoGuess at fixing win32 build regression on trunk introduced by r1734656
William A. Rowe Jr [Tue, 17 Apr 2018 17:57:13 +0000 (17:57 +0000)]
Guess at fixing win32 build regression on trunk introduced by r1734656

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

6 years ago* modules/ssl/ssl_util.c (modssl_request_is_tls): Adjust
Joe Orton [Mon, 16 Apr 2018 12:36:42 +0000 (12:36 +0000)]
* modules/ssl/ssl_util.c (modssl_request_is_tls): Adjust
  to take SSLConnRec * out parameter rather than SSL *.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_UserCheck): Use it here.
  (ssl_hook_Fixup): Adjust use.

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

6 years agoFactor out logic to determine if request is using SSL/TLS and use it
Joe Orton [Mon, 16 Apr 2018 10:14:25 +0000 (10:14 +0000)]
Factor out logic to determine if request is using SSL/TLS and use it
consistently.

* modules/ssl/ssl_util.c (modssl_request_is_tls): New function.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Fixup): Use it.

* modules/ssl/mod_ssl.c (ssl_hook_http_scheme, ssl_hook_default_port):
  Use it.

PR: 61519

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

6 years agoRebuild.
Lucien Gentis [Sat, 14 Apr 2018 14:26:29 +0000 (14:26 +0000)]
Rebuild.

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

6 years agoXML updates.
Lucien Gentis [Sat, 14 Apr 2018 14:14:51 +0000 (14:14 +0000)]
XML updates.

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

6 years agoDump server_rec ->addrs list in dump_server_rec.
Joe Orton [Fri, 13 Apr 2018 09:36:01 +0000 (09:36 +0000)]
Dump server_rec ->addrs list in dump_server_rec.

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

6 years agomod_xml2enc: follow up to r1829038.
Yann Ylavic [Fri, 13 Apr 2018 08:04:59 +0000 (08:04 +0000)]
mod_xml2enc: follow up to r1829038.

If any, pass pending meta bucket down the chain before leaving.

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

6 years agomod_xml2enc: Fix forwarding of error metadata/responses. PR 62180.
Yann Ylavic [Fri, 13 Apr 2018 07:58:51 +0000 (07:58 +0000)]
mod_xml2enc: Fix forwarding of error metadata/responses. PR 62180.

All meta buckets are now aggregated (besides FLUSH) and forwarded down
the chain, and the output filter bails out on EOS.

Proposed by: Micha Lenk <micha lenk.info>

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

6 years ago* server/vhost.c: Remove redundant vhost_check_config hook which never
Joe Orton [Thu, 12 Apr 2018 14:47:38 +0000 (14:47 +0000)]
* server/vhost.c: Remove redundant vhost_check_config hook which never
  fails, r1053230 removed all the places where config_error was set.

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

6 years agoadd log id for r1828926
Eric Covener [Wed, 11 Apr 2018 19:18:03 +0000 (19:18 +0000)]
add log id for r1828926

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

6 years agoPR62199: add worker parameter ResponseFieldSize to mod_proxy
Eric Covener [Wed, 11 Apr 2018 19:11:52 +0000 (19:11 +0000)]
PR62199: add worker parameter ResponseFieldSize to mod_proxy

Submitted By: Hank Ibell
Committed By: covener

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

6 years agoPR62186: preserve %<m for ErrorDocument internal redirects
Eric Covener [Wed, 11 Apr 2018 18:49:05 +0000 (18:49 +0000)]
PR62186: preserve %<m for ErrorDocument internal redirects

  *) core: Preserve the original HTTP request method in the '%<m' LogFormat
     when an path-based ErrorDocument is used.  PR 62186.
     [Micha Lenk <micha lenk.info>]

Submitted By: Micha Lenk
Committed By: covener

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

6 years agoCOMPAT BREAK: This may change the hash keys used to cache privkeys
Joe Orton [Wed, 11 Apr 2018 16:11:21 +0000 (16:11 +0000)]
COMPAT BREAK: This may change the hash keys used to cache privkeys
across a reload so don't backport this to 2.4.  Otherwise it's only
user-visible in logging output.

* modules/ssl/ssl_engine_init.c (ssl_init_Module): Derive the vhost_id
  *after* potentially setting sc->enabled to default-on, since the
  port used may change if not specified explicitly.

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

6 years ago* modules/ssl/ssl_util.c (ssl_util_vhostid): Simplify code,
Joe Orton [Wed, 11 Apr 2018 15:58:04 +0000 (15:58 +0000)]
* modules/ssl/ssl_util.c (ssl_util_vhostid): Simplify code,
  no functional change.

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

6 years ago* modules/generators/mod_info.c: Constify fixed tables and mark
Joe Orton [Wed, 11 Apr 2018 15:46:44 +0000 (15:46 +0000)]
* modules/generators/mod_info.c: Constify fixed tables and mark
  module-private global variables static. No functional change.

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

6 years agomod_proxy_balancer: Add hot spare member type and corresponding flag (R). Hot spare...
Jim Riggs [Wed, 11 Apr 2018 12:11:05 +0000 (12:11 +0000)]
mod_proxy_balancer: Add hot spare member type and corresponding flag (R). Hot spare members are
used as drop-in replacements for unusable workers in the same load balancer set. This differs
from hot standbys which are only used when all workers in a set are unusable. PR 61140.

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

6 years agoOn the trunk:
Stefan Eissing [Wed, 11 Apr 2018 08:30:25 +0000 (08:30 +0000)]
On the trunk:

mod_http2: always wake up any conditional waits when streams are aborted. Fixes race conditions where timeouts would trigger instead.

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

6 years agoUpdate prettify.js
Christophe Jaillet [Tue, 10 Apr 2018 18:29:58 +0000 (18:29 +0000)]
Update prettify.js

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

6 years agoAlign the regex with the one used in 2.4.x which gives nicer results.
Christophe Jaillet [Tue, 10 Apr 2018 18:19:56 +0000 (18:19 +0000)]
Align the regex with the one used in 2.4.x which gives nicer results.

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

6 years agoWe need to get the SSL_CTX for further processing down below.
Ruediger Pluem [Tue, 10 Apr 2018 07:09:20 +0000 (07:09 +0000)]
We need to get the SSL_CTX for further processing down below.

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

6 years ago* Fix copy and paste typo.
Ruediger Pluem [Tue, 10 Apr 2018 06:42:39 +0000 (06:42 +0000)]
* Fix copy and paste typo.

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

6 years ago* The sslconn parameter is not used.
Ruediger Pluem [Tue, 10 Apr 2018 06:40:55 +0000 (06:40 +0000)]
* The sslconn parameter is not used.

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

6 years ago* Whitespace fixes. No functional change
Ruediger Pluem [Tue, 10 Apr 2018 06:39:31 +0000 (06:39 +0000)]
* Whitespace fixes. No functional change

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

6 years agomod_logio: Add LogIOTrackTTFU and %^FU logformat
Rainer Jung [Mon, 9 Apr 2018 14:36:19 +0000 (14:36 +0000)]
mod_logio: Add LogIOTrackTTFU and %^FU logformat
to log the time difference between request start
and last request body byte read (finished upload).

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 9 Apr 2018 14:13:30 +0000 (14:13 +0000)]
On the trunk:

Fix buildbot unused vars errors introduced by last checkin.

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 9 Apr 2018 14:05:42 +0000 (14:05 +0000)]
On the trunk:

SSLVerifyClient support for TLSv1.3 protocol now fails similarly to TLSv1.2 in my setups. (Read: I cannot get client certs to work, but I think this change is an improvement)

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

6 years agoRebuild.
Lucien Gentis [Mon, 9 Apr 2018 12:40:50 +0000 (12:40 +0000)]
Rebuild.

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

6 years agoXML updates.
Lucien Gentis [Mon, 9 Apr 2018 12:40:03 +0000 (12:40 +0000)]
XML updates.

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

6 years agoOn the trunk:
Stefan Eissing [Mon, 9 Apr 2018 09:39:08 +0000 (09:39 +0000)]
On the trunk:

mod_http2: accurate reporting of h2 data input/output per request via mod_logio. Fixes
     an issue where output sizes where counted n-times on reused slave connections. See
     gituhub issue: https://github.com/icing/mod_h2/issues/158

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

6 years agomodules/md/mod_md.h is now a new public API
Rainer Jung [Mon, 9 Apr 2018 07:23:57 +0000 (07:23 +0000)]
modules/md/mod_md.h is now a new public API
also used by other modules (currently mod_ssl),
so it must be in the include path. It was
missing for cmake builds.

Note that this change does not yet enable building
mod_md itself using cmake. That part is still
missing.

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

6 years agoRebuild.
Lucien Gentis [Sun, 8 Apr 2018 16:31:28 +0000 (16:31 +0000)]
Rebuild.

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

6 years agoUpdate Spanish documentation to match EN rev 1824141
Luis Gil [Sun, 8 Apr 2018 16:30:33 +0000 (16:30 +0000)]
Update Spanish documentation to match EN rev 1824141

Added:
- Centos /fedora /RED hat Instalation doc
- Ubuntu Instalation
- English notes

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

6 years agoCompatibility and Override elements inversion.
Lucien Gentis [Sun, 8 Apr 2018 16:28:02 +0000 (16:28 +0000)]
Compatibility and Override elements inversion.

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

6 years agoXML updates.
Lucien Gentis [Sun, 8 Apr 2018 16:26:08 +0000 (16:26 +0000)]
XML updates.

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

6 years agoUpdated to EN revision 1828588
Luis Gil [Sun, 8 Apr 2018 12:55:11 +0000 (12:55 +0000)]
Updated to EN revision 1828588
changed permalink
bug report
known issues
and bugfix  translated to spanish

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

6 years agoInitial doc for the sosache_redis module.
Christophe Jaillet [Sun, 8 Apr 2018 08:36:09 +0000 (08:36 +0000)]
Initial doc for the sosache_redis module.

Corrections and improvements welcome.

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

6 years agoUse apr_pcalloc in the 'create' function. All the fields are initialized in the ...
Christophe Jaillet [Sun, 8 Apr 2018 08:31:22 +0000 (08:31 +0000)]
Use apr_pcalloc in the 'create' function. All the fields are initialized in the 'init' function, but it is It is cleaner and more future proof.

Small style correction (remove extra spaces)

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

6 years agoNew xsl file which generates ready to copy/paste strings for prettify(.min).js
Christophe Jaillet [Sat, 7 Apr 2018 16:33:02 +0000 (16:33 +0000)]
New xsl file which generates ready to copy/paste strings for prettify(.min).js

All the directives are collected in some JS arrays, so that it is easier to upgrade the list
in prettify.js when new directives are added.

'build.sh' will be updated accordingly. A new build target ('prettify') will be added to
update this list. The resulting file is: docs/manual/list_for_prettify.txt

This new file is heavily inspired from convmap.xsl.

It should be possible to go further, but this is already a first step.

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

6 years agoAdd a permalink functionality to section and diective-section in the generated doc.
Christophe Jaillet [Sat, 7 Apr 2018 08:55:11 +0000 (08:55 +0000)]
Add a permalink functionality to section and diective-section in the generated doc.
This is convenient and consistent with httpd.a.o

Getting a link to a section or a directive is already possible from the TOC, but having it available directly in-place is, IMHO, much more useful.

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

6 years agoRemove an extra '>'
Christophe Jaillet [Sat, 7 Apr 2018 05:18:01 +0000 (05:18 +0000)]
Remove an extra '>'

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

6 years ago* Add missing CHANGES entry for revisions 1822849,1822858,1822878,1822879,1822883...
Ruediger Pluem [Fri, 6 Apr 2018 08:05:20 +0000 (08:05 +0000)]
* Add missing CHANGES entry for revisions 1822849,1822858,1822878,1822879,1822883,1828485

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

6 years agoneeds mod_http2.h
Gregg Lewis Smith [Thu, 5 Apr 2018 22:40:11 +0000 (22:40 +0000)]
needs mod_http2.h

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

6 years agoAdd some compatibility note + some small syntax highlight sugar.
Christophe Jaillet [Thu, 5 Apr 2018 21:13:51 +0000 (21:13 +0000)]
Add some compatibility note + some small syntax highlight sugar.

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

6 years agomod_ssl: Fix merging of proxy SSL context outside <Proxy> sections.
Yann Ylavic [Wed, 4 Apr 2018 23:36:05 +0000 (23:36 +0000)]
mod_ssl: Fix merging of proxy SSL context outside <Proxy> sections.

Regression introduced in 2.4.30. PR 62232.

The proxy SSL_CTX was not inherited from the vhost (the only available in
2.4.29) in/for any directory context besides <Proxy>...

Mostly debugged and fixed by Rainer, thanks!

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

6 years agoFor all practical purposes, MS IE 2.0 thorough 5.0 cannot connect to any
William A. Rowe Jr [Wed, 4 Apr 2018 18:59:37 +0000 (18:59 +0000)]
For all practical purposes, MS IE 2.0 thorough 5.0 cannot connect to any
httpd 2.next deployments; therefore the user-agent string will not be
readable, and this cruft is now a no-op. MS IE 20.0 in the far far future
may try to connect, removing this cruft future-proofs us.

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 3 Apr 2018 13:39:27 +0000 (13:39 +0000)]
On the trunk:

removing leftovers of SSLPolicyDefine from docs.

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 3 Apr 2018 13:06:02 +0000 (13:06 +0000)]
On the trunk:

* mod_http2: calculate unencrypted connection sniffing base64 only when log level is at required height. [Ruediger Pluem]

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 3 Apr 2018 12:19:28 +0000 (12:19 +0000)]
On the trunk:

mod_ssl: proper checks for libressl 2.07/8 and its TLSv1_3 support, see PR 62236.
     [Bernard Spil <brnrd@freebsd.org>]

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 3 Apr 2018 11:49:17 +0000 (11:49 +0000)]
On the trunk:

mod_ssl: guard use of TLS1_3_VERSION with proper #ifdefs

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

6 years agoOn the trunk:
Stefan Eissing [Tue, 3 Apr 2018 09:12:55 +0000 (09:12 +0000)]
On the trunk:

mod_http2: on level trace2, log any unsuccessful HTTP/2 direct connection upgrade
     with base64 encoding to unify its appearance in possible bug reports.

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

6 years agoCHANGES for r1828172
Eric Covener [Mon, 2 Apr 2018 15:25:02 +0000 (15:25 +0000)]
CHANGES for r1828172

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

6 years agoPR62229: add CGIScriptTimeout to mod_cgi
Eric Covener [Mon, 2 Apr 2018 15:22:56 +0000 (15:22 +0000)]
PR62229: add CGIScriptTimeout to mod_cgi

add CGIScriptTimeout to mod_cgi, like mod_cgid's CGIDScriptTimeout.

Not addressed: making CGIScriptTimeout name work for either module.

Submitted By: Hank Ibell <hwibell gmail.com>
Committed By: covener

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

6 years agodoc rebuild
Luca Toscano [Sun, 1 Apr 2018 07:27:48 +0000 (07:27 +0000)]
doc rebuild

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

6 years agoAdd a note about prepared DBD queries to rewritemap docs.
Nick Kew [Sat, 31 Mar 2018 21:14:41 +0000 (21:14 +0000)]
Add a note about prepared DBD queries to rewritemap docs.
PR#60440 identifies this as a gotcha!

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