]> granicus.if.org Git - apache/log
apache
10 years ago *) mod_proxy_wstunnel: Don't pool backend websockets connections,
Eric Covener [Sun, 13 Apr 2014 16:57:34 +0000 (16:57 +0000)]
  *) mod_proxy_wstunnel: Don't pool backend websockets connections,
     because we need to handshake every time. PR 55890.
     [Eric Covener]

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

10 years agoAdd <compatibility> notes for changes made in version 2.4.8 + synch formating with...
Christophe Jaillet [Sun, 13 Apr 2014 16:36:28 +0000 (16:36 +0000)]
Add <compatibility> notes for changes made in version 2.4.8 + synch formating with 2.4.x

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

10 years agoUpdates.
Lucien Gentis [Sat, 12 Apr 2014 16:09:02 +0000 (16:09 +0000)]
Updates.

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

10 years agoFix layout
Christophe Jaillet [Sat, 12 Apr 2014 07:57:44 +0000 (07:57 +0000)]
Fix layout

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

10 years agomod_deflate: update empty log tags.
Yann Ylavic [Fri, 11 Apr 2014 18:59:30 +0000 (18:59 +0000)]
mod_deflate: update empty log tags.

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

10 years agoremove stray character in comment
Jeff Trawick [Fri, 11 Apr 2014 17:41:41 +0000 (17:41 +0000)]
remove stray character in comment

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

10 years agomod_proxy_http: Add detach_backend hook.
Jeff Trawick [Fri, 11 Apr 2014 17:07:18 +0000 (17:07 +0000)]
mod_proxy_http: Add detach_backend hook.

The immediate use is for a SSL-related module which works
on the backend proxy connection to be able to "leak" information
into the client r for logging.

This could be useful with other proxy scheme handlers.

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

10 years agobe explicit, for now the 0 val is the default, but it's
Eric Covener [Fri, 11 Apr 2014 02:44:23 +0000 (02:44 +0000)]
be explicit, for now the 0 val is the default, but it's
a likely candidate for someone to flip later.

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

10 years agoAttempt to make progress on PR39727/PR45023 blocking migration
Eric Covener [Fri, 11 Apr 2014 02:42:05 +0000 (02:42 +0000)]
Attempt to make progress on PR39727/PR45023 blocking migration
to 2.4.  Provide DeflateAlterETag directive to choose between
2.2 behavior, 2.4 behavior, or dropping ETag from the compressed
representation.

Preserves 2.4 default which breas 304 responses for compressed content.

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

10 years agoAdd <compatibility> notes for changes made in version 2.4.4 + synch formating with...
Christophe Jaillet [Thu, 10 Apr 2014 21:07:08 +0000 (21:07 +0000)]
Add <compatibility> notes for changes made in version 2.4.4 + synch formating with 2.4.x

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

10 years agoSynch trunk with more detailed description in 2.4.4
Christophe Jaillet [Thu, 10 Apr 2014 19:49:37 +0000 (19:49 +0000)]
Synch trunk with more detailed description in 2.4.4

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

10 years agoxforms
Eric Covener [Thu, 10 Apr 2014 19:34:40 +0000 (19:34 +0000)]
xforms

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

10 years agoAdd <compatibility> notes for changes made in version 2.4.3 + fix some formating
Christophe Jaillet [Thu, 10 Apr 2014 19:34:26 +0000 (19:34 +0000)]
Add <compatibility> notes for changes made in version 2.4.3 + fix some formating

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

10 years agoThis C-T: limitation was removed in 2.2.12 and retconned into CHANGES much later.
Eric Covener [Thu, 10 Apr 2014 19:29:33 +0000 (19:29 +0000)]
This C-T: limitation was removed in 2.2.12 and retconned into CHANGES much later.

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

10 years agoReverse the order when merging global and vhost-level config arrays.
Kaspar Brand [Wed, 9 Apr 2014 09:38:02 +0000 (09:38 +0000)]
Reverse the order when merging global and vhost-level config arrays.
Putting the vhost-level elements last allows overriding global settings
(for the deprecated SSLRequire directive, the order is irrelevant,
all of them must be met, cf. ssl_engine_kernel.c:ssl_hook_Access).

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

10 years agoOnly read "active" values from the key_files array. PR 56306.
Kaspar Brand [Wed, 9 Apr 2014 09:35:41 +0000 (09:35 +0000)]
Only read "active" values from the key_files array. PR 56306.

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

10 years agoAdd <compatibility> notes for changes made in version 2.4.2
Christophe Jaillet [Tue, 8 Apr 2014 20:28:12 +0000 (20:28 +0000)]
Add <compatibility> notes for changes made in version 2.4.2

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

10 years agomod_proxy_fcgi: Fix sending of response without some HTTP headers
Jeff Trawick [Tue, 8 Apr 2014 20:07:04 +0000 (20:07 +0000)]
mod_proxy_fcgi: Fix sending of response without some HTTP headers
that might be set by filters.

The problem occurs when no body bytes were read while reading the
response headers, resulting in an empty brigade being sent down
the filter stack.  One particualr filter that mishandles the empty
initial brigade is mod_deflate.  It neglects to add to the response
header fields.

PR: 55558
Submitted by: Jim Riggs <jim riggs.me>
Reviewed by: trawick

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

10 years agoFix our documentation to not show the expression in Require expr as quoted.
Ben Reser [Mon, 7 Apr 2014 22:50:14 +0000 (22:50 +0000)]
Fix our documentation to not show the expression in Require expr as quoted.

Since r1585609 the quoted syntax is ok, but it won't be as efficient so we
probably shouldn't put that syntax in the documentation.

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

10 years agoAllow Require expr to work when the expression is quoted.
Ben Reser [Mon, 7 Apr 2014 22:38:53 +0000 (22:38 +0000)]
Allow Require expr to work when the expression is quoted.

For example as appears in our documentation:
Require expr "%{TIME_HOUR} -ge 9 && %{TIME_HOUR} -le 17"

PR: 56235

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

10 years agoFix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in
Ben Reser [Mon, 7 Apr 2014 21:26:23 +0000 (21:26 +0000)]
Fix PCRE_DUPNAMES check to find the header file for PCRE when PCRE isn't in
the default includes path.

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

10 years agomod_auth_form: update empty log tags.
Yann Ylavic [Mon, 7 Apr 2014 09:12:09 +0000 (09:12 +0000)]
mod_auth_form: update empty log tags.

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

10 years agomod_auth_form: revert r1585431 (don't crash when no AuthFormProvider is configured).
Yann Ylavic [Mon, 7 Apr 2014 09:10:51 +0000 (09:10 +0000)]
mod_auth_form: revert r1585431 (don't crash when no AuthFormProvider is configured).
This cannot happen in trunk, 2.4.x needs authenticate_form_post_config() to be
merged (r1531672).

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

10 years agomod_auth_form: don't crash when no AuthFormProvider is configured. PR 56351
Yann Ylavic [Mon, 7 Apr 2014 08:59:07 +0000 (08:59 +0000)]
mod_auth_form: don't crash when no AuthFormProvider is configured. PR 56351

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

10 years agoxforms
Eric Covener [Sat, 5 Apr 2014 18:48:44 +0000 (18:48 +0000)]
xforms

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

10 years agotrailing space doesn't work in a rewrite flag value
Eric Covener [Sat, 5 Apr 2014 18:46:57 +0000 (18:46 +0000)]
trailing space doesn't work in a rewrite flag value

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

10 years agobld break
Eric Covener [Sat, 5 Apr 2014 18:45:05 +0000 (18:45 +0000)]
bld break

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

10 years agoadd BNP flag to give control to the user on whether a space ' ' in
Eric Covener [Sat, 5 Apr 2014 18:40:36 +0000 (18:40 +0000)]
add BNP flag to give control to the user on whether a space ' ' in
an escaped backrefernece is decoded to a + (default) or %20. Useful
if your backreference isn't going into the query string.

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

10 years agoUpdates.
Lucien Gentis [Sat, 5 Apr 2014 17:05:41 +0000 (17:05 +0000)]
Updates.

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

10 years agoBring SNI behavior into better conformance with RFC 6066:
Kaspar Brand [Sat, 5 Apr 2014 12:57:43 +0000 (12:57 +0000)]
Bring SNI behavior into better conformance with RFC 6066:

- no longer send a warning-level unrecognized_name(112) alert
  when no matching vhost is found (PR 56241)

- at startup, only issue warnings about IP/port conflicts and name-based
  SSL vhosts when running with an OpenSSL without TLS extension support
  (almost 5 years after SNI was added to 2.2.x, the
  "[...] only work for clients with TLS server name indication support"
  warning feels obsolete)

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

10 years agomove a temporary table from r->pool to a temporary
Jeff Trawick [Sat, 5 Apr 2014 11:57:46 +0000 (11:57 +0000)]
move a temporary table from r->pool to a temporary
pool we've already allocated in order to avoid a
longer lifetime than necessary for the table memory

Suggested by: jailletc36

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

10 years agoaxe unnecessary preparation for some other module using
Jeff Trawick [Sat, 5 Apr 2014 11:45:47 +0000 (11:45 +0000)]
axe unnecessary preparation for some other module using
[ap_]connect_to_peer() and passing in its own module
identifier

Pointed out by: jailletc36

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

10 years agoUpdate SSLPassPhraseDialog directive docs to properly describe the new
Kaspar Brand [Sat, 5 Apr 2014 11:18:22 +0000 (11:18 +0000)]
Update SSLPassPhraseDialog directive docs to properly describe the new
argument structure for "exec"-type programs, as introduced with r1553824.

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

10 years agoDo not perform a p+= 7 that could go past the end of the buffer in case we find a...
Christophe Jaillet [Fri, 4 Apr 2014 20:30:38 +0000 (20:30 +0000)]
Do not perform a p+= 7 that could go past the end of the buffer in case we find a 'content' without a corresponding '='.

Should we need to deal with this case, a new search should be performed to find the real starting position of another potential 'content=' pattern.

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

10 years agoDo not scan past the end of the buffer.
Christophe Jaillet [Fri, 4 Apr 2014 20:17:46 +0000 (20:17 +0000)]
Do not scan past the end of the buffer.
If no terminating delimiter is found, just leave things as it is

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

10 years agoDo not delete the wrong data from HTML code when a "http-equiv" meta tag specifies...
Christophe Jaillet [Fri, 4 Apr 2014 19:59:06 +0000 (19:59 +0000)]
Do not delete the wrong data from HTML code when a "http-equiv" meta tag specifies a Content-Type behind any other "http-equiv" meta tag.
PR 56287 [Micha Lenk <micha lenk info>]

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

10 years agoFollup to r1584572: AcceptFilter was wrongly turned into a Windows specific feature.
Yann Ylavic [Fri, 4 Apr 2014 14:13:37 +0000 (14:13 +0000)]
Follup to r1584572: AcceptFilter was wrongly turned into a Windows specific feature.

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

10 years agoRemove SSLOCSPUseRequestNonce OpenSSL-0.9.7 requirement (0.9.8 already required by...
Yann Ylavic [Fri, 4 Apr 2014 13:29:05 +0000 (13:29 +0000)]
Remove SSLOCSPUseRequestNonce OpenSSL-0.9.7 requirement (0.9.8 already required by httpd-2.4) and set availability to 2.5-dev until further notice.

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

10 years agoSSLOpenSSLConfCmd is available since httpd 2.4.8.
Yann Ylavic [Fri, 4 Apr 2014 13:23:40 +0000 (13:23 +0000)]
SSLOpenSSLConfCmd is available since httpd 2.4.8.

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

10 years agoRemerge r1584555 but without the changes on (un-backportable) SSLOCSPUseRequestNonce.
Yann Ylavic [Fri, 4 Apr 2014 13:18:26 +0000 (13:18 +0000)]
Remerge r1584555 but without the changes on (un-backportable) SSLOCSPUseRequestNonce.

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

10 years agoRevert r1584555 for the time being.
Yann Ylavic [Fri, 4 Apr 2014 13:11:48 +0000 (13:11 +0000)]
Revert r1584555 for the time being.

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

10 years agoRemove compatibility references to httpd < 2.4.
Yann Ylavic [Fri, 4 Apr 2014 09:11:28 +0000 (09:11 +0000)]
Remove compatibility references to httpd < 2.4.

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

10 years agoRemove compatibility references to httpd < 2.4 and OpenSSL < 0.9.8
Yann Ylavic [Fri, 4 Apr 2014 08:05:56 +0000 (08:05 +0000)]
Remove compatibility references to httpd < 2.4 and OpenSSL < 0.9.8

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

10 years agoMove entry already backported to 2.4.8.
Yann Ylavic [Thu, 3 Apr 2014 22:49:04 +0000 (22:49 +0000)]
Move entry already backported to 2.4.8.

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

10 years agoFollow up to r1584430.
Yann Ylavic [Thu, 3 Apr 2014 22:33:21 +0000 (22:33 +0000)]
Follow up to r1584430.

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

10 years agomod_expires: don't add Expires header to error responses (4xx/5xx),
Yann Ylavic [Thu, 3 Apr 2014 22:20:15 +0000 (22:20 +0000)]
mod_expires: don't add Expires header to error responses (4xx/5xx),
             be they generated or forwarded. PR 55669.

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

10 years agoleave a warning about cc_out
Eric Covener [Thu, 3 Apr 2014 22:19:23 +0000 (22:19 +0000)]
leave a warning about cc_out

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

10 years agoadd CHANGES for r1584417
Eric Covener [Thu, 3 Apr 2014 22:00:31 +0000 (22:00 +0000)]
add CHANGES for r1584417

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

10 years agoallow users to workaround the over-agressive backreference
Eric Covener [Thu, 3 Apr 2014 21:53:14 +0000 (21:53 +0000)]
allow users to workaround the over-agressive backreference
escaping by selecting the characters to escape.

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

10 years agomod_ssl: follow up to r1583191.
Yann Ylavic [Wed, 2 Apr 2014 17:21:28 +0000 (17:21 +0000)]
mod_ssl: follow up to r1583191.

New SSLOCSPUseRequestNonce directive's manual and CHANGES.

Non functional code changes (modssl_ctx_t's field ocsp_use_request_nonce
grouped with other OCSP ones, nested if turned to a single AND condition).

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

10 years agoprovide an expression parser example that can control based on http status code,
Eric Covener [Wed, 2 Apr 2014 16:21:37 +0000 (16:21 +0000)]
provide an expression parser example that can control based on http status code,
rather than just excluding locally generated errors.

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

10 years agotry to clarify that "onsuccess" is for anything but locally-generated errors,
Eric Covener [Wed, 2 Apr 2014 16:10:50 +0000 (16:10 +0000)]
try to clarify that "onsuccess" is for anything but locally-generated errors,
the module behavior and the doc are equally painful for users.

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

10 years agomod_ssl: send OCSP request's nonce according to SSLOCSPUseRequestNonce on/off. PR...
Yann Ylavic [Sun, 30 Mar 2014 19:25:20 +0000 (19:25 +0000)]
mod_ssl: send OCSP request's nonce according to SSLOCSPUseRequestNonce on/off. PR 56233.

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

10 years agoFix segfault in mod_alias introduced in r1132494.
Rainer Jung [Sun, 30 Mar 2014 18:20:09 +0000 (18:20 +0000)]
Fix segfault in mod_alias introduced in r1132494.

AliasMatch does not append unmatched parts of the
original URI to the  new URI. So no need to subtract
anything from the new URI length.

The existing code crashed when using
"AliasMatch / /some/thing" and sending a request
with a long URI.

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

10 years agoDescribe issue with multiple OpenSSL installs
Jeff Trawick [Sat, 29 Mar 2014 17:03:00 +0000 (17:03 +0000)]
Describe issue with multiple OpenSSL installs

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

10 years agoUpdate.
Lucien Gentis [Sat, 29 Mar 2014 15:50:45 +0000 (15:50 +0000)]
Update.

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

10 years agos/comment/self-documenting/
Jeff Trawick [Sat, 29 Mar 2014 14:58:24 +0000 (14:58 +0000)]
s/comment/self-documenting/

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

10 years agodon't log bogus rv
Jeff Trawick [Sat, 29 Mar 2014 14:57:37 +0000 (14:57 +0000)]
don't log bogus rv

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

10 years agoReport OpenSSL directories in configuration summary
Jeff Trawick [Sat, 29 Mar 2014 13:50:37 +0000 (13:50 +0000)]
Report OpenSSL directories in configuration summary

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

10 years agoAdd a note on t->r checking, as per Rüdiger's email.
Daniel Gruno [Fri, 28 Mar 2014 20:43:15 +0000 (20:43 +0000)]
Add a note on t->r checking, as per Rüdiger's email.

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

10 years agomod_lua: Since c->notes is the only place where r will be NULL, we don't need to...
Daniel Gruno [Fri, 28 Mar 2014 20:33:08 +0000 (20:33 +0000)]
mod_lua: Since c->notes is the only place where r will be NULL, we don't need to check a second time, since we'll never meddle with tables named 'notes'

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

10 years agomod_lua: Redesign the table construction/access mechanism, so we pass on a struct...
Daniel Gruno [Fri, 28 Mar 2014 18:38:41 +0000 (18:38 +0000)]
mod_lua: Redesign the table construction/access mechanism, so we pass on a struct with the request_rec, the table pointer and the table name instead of just the table pointer. This allows us to use the request_rec for logging/editing purposes, as well as inform the user which exact table in the request_rec was modified.

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

10 years agomod_lua: Prevent HTTP Response Splitting by not allowing tables in the request_rec...
Daniel Gruno [Thu, 27 Mar 2014 11:20:03 +0000 (11:20 +0000)]
mod_lua: Prevent HTTP Response Splitting by not allowing tables in the request_rec to be set with values containing newlines. This is a semi-ugly hack, but it will have to do until we find another way of setting these values.

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

10 years agomod_lua: escape key/value pairs when setting cookies to prevent header splitting...
Daniel Gruno [Thu, 27 Mar 2014 10:58:35 +0000 (10:58 +0000)]
mod_lua: escape key/value pairs when setting cookies to prevent header splitting with tainted cookies.

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

10 years agomod_lua: Reformat and escape script error output.
Daniel Gruno [Thu, 27 Mar 2014 10:44:43 +0000 (10:44 +0000)]
mod_lua: Reformat and escape script error output.

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

10 years agoRebuild
Rich Bowen [Mon, 24 Mar 2014 19:36:36 +0000 (19:36 +0000)]
Rebuild

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

10 years agoIt does more than just a ProxyPass, but also looks at the HOST header,
Rich Bowen [Mon, 24 Mar 2014 19:28:49 +0000 (19:28 +0000)]
It does more than just a ProxyPass, but also looks at the HOST header,
so this gives somewhat deeper insight into what the end result looks
like.

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

10 years agorebuild
Rich Bowen [Mon, 24 Mar 2014 17:44:06 +0000 (17:44 +0000)]
rebuild

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

10 years ago* support/ab.c: Revert accidental version bump in r1580928.
Joe Orton [Mon, 24 Mar 2014 17:43:10 +0000 (17:43 +0000)]
* support/ab.c: Revert accidental version bump in r1580928.
  (Although it seems likely this *should* have been bumped sometime
   since 2006?)

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

10 years ago* support/ab.c (write_request): Avoid redundant write(,,0) preceding
Joe Orton [Mon, 24 Mar 2014 17:20:47 +0000 (17:20 +0000)]
* support/ab.c (write_request): Avoid redundant write(,,0) preceding
  the write() of the request.

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

10 years agoSuggest the 'require expr' syntax as an alternate way to do something.
Rich Bowen [Mon, 24 Mar 2014 16:00:58 +0000 (16:00 +0000)]
Suggest the 'require expr' syntax as an alternate way to do something.

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

10 years agomod_reqtimeout: Resolve unexpected timeouts on keepalive requests
Eric Covener [Sun, 23 Mar 2014 18:59:37 +0000 (18:59 +0000)]
mod_reqtimeout: Resolve unexpected timeouts on keepalive requests
under the Event MPM. PR56216.

Submitted By: Frank Meier <frank meier ergon ch>
Committed By: covener

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

10 years agoAnd use #error if we get past configure...
Jim Jagielski [Wed, 19 Mar 2014 15:45:42 +0000 (15:45 +0000)]
And use #error if we get past configure...

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

10 years agoCheck if PCRE_DUPNAMES exists at configure time
Jim Jagielski [Wed, 19 Mar 2014 15:23:35 +0000 (15:23 +0000)]
Check if PCRE_DUPNAMES exists at configure time

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

10 years agotypo fix
Vincent Deffontaines [Tue, 18 Mar 2014 13:49:33 +0000 (13:49 +0000)]
typo fix

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

10 years agofix message number
Daniel Gruno [Tue, 18 Mar 2014 13:40:03 +0000 (13:40 +0000)]
fix message number

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

10 years agomod_lua: Actually check whether interpreting the base structure of a file works or...
Daniel Gruno [Tue, 18 Mar 2014 13:32:36 +0000 (13:32 +0000)]
mod_lua: Actually check whether interpreting the base structure of a file works or not, don't just assume it works.

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

10 years agomod_lua: be a bit more verbose in error logging.
Daniel Gruno [Tue, 18 Mar 2014 11:26:04 +0000 (11:26 +0000)]
mod_lua: be a bit more verbose in error logging.

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

10 years agoUse 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.
Christophe Jaillet [Tue, 18 Mar 2014 06:54:03 +0000 (06:54 +0000)]
Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.

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

10 years agoUse 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.
Christophe Jaillet [Tue, 18 Mar 2014 06:52:08 +0000 (06:52 +0000)]
Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.

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

10 years agoUse 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.
Christophe Jaillet [Tue, 18 Mar 2014 06:51:49 +0000 (06:51 +0000)]
Use 'apr_table_setn' instead of 'apr_table_set' when possible in order to save memory.

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

10 years agoUpdates.
Lucien Gentis [Sat, 15 Mar 2014 16:28:11 +0000 (16:28 +0000)]
Updates.

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

10 years agobackported
Jim Jagielski [Thu, 13 Mar 2014 13:43:28 +0000 (13:43 +0000)]
backported

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

10 years agobackported
Jim Jagielski [Thu, 13 Mar 2014 12:49:38 +0000 (12:49 +0000)]
backported

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

10 years agomod_lua: Add a fixups hook that checks if the original request is intended for LuaMap...
Daniel Gruno [Wed, 12 Mar 2014 22:56:44 +0000 (22:56 +0000)]
mod_lua: Add a fixups hook that checks if the original request is intended for LuaMapHandler. This fixes a bug where FallbackResource invalidates the LuaMapHandler directive in certain cases by changing the URI before the map handler code executes.

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

10 years agoRebuild
Rich Bowen [Wed, 12 Mar 2014 20:47:06 +0000 (20:47 +0000)]
Rebuild

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

10 years agoLink AddHandler, SetHandler to docs
Rich Bowen [Wed, 12 Mar 2014 20:45:55 +0000 (20:45 +0000)]
Link AddHandler, SetHandler to docs

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

10 years agoRebuild
Rich Bowen [Wed, 12 Mar 2014 20:41:31 +0000 (20:41 +0000)]
Rebuild

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

10 years agoFixes weird syntax in example, and removes superfluos quote
Rich Bowen [Wed, 12 Mar 2014 20:40:44 +0000 (20:40 +0000)]
Fixes weird syntax in example, and removes superfluos quote

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

10 years agoUse the simpler Files syntax rather than FilesMatch
Rich Bowen [Wed, 12 Mar 2014 20:37:08 +0000 (20:37 +0000)]
Use the simpler Files syntax rather than FilesMatch

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

10 years agoA bug in some older versions of OpenSSL will cause a crash
Stephen Henson [Wed, 12 Mar 2014 13:52:26 +0000 (13:52 +0000)]
A bug in some older versions of OpenSSL will cause a crash
in SSL_get_certificate for servers where the certificate hasn't
been sent.

Workaround by setting the ssl structure to client mode which
bypasses the faulty code in OpenSSL. Normally setting a server
ssl structure to client mode would cause problems later on:
but we are freeing the structure immediately without attempting
to use it.

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

10 years ago* This one is backported
Ruediger Pluem [Tue, 11 Mar 2014 20:37:34 +0000 (20:37 +0000)]
* This one is backported

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

10 years agoRebuild
Rich Bowen [Tue, 11 Mar 2014 16:44:35 +0000 (16:44 +0000)]
Rebuild

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

10 years agoEnsure that .lua.foo files aren't affected
Rich Bowen [Tue, 11 Mar 2014 16:43:39 +0000 (16:43 +0000)]
Ensure that .lua.foo files aren't affected

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

10 years agoThese are in 2.4.x
Jim Jagielski [Tue, 11 Mar 2014 15:40:08 +0000 (15:40 +0000)]
These are in 2.4.x

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

10 years agomod_authn_socache.c: fix creation of default socache_instance.
Jan Kaluža [Tue, 11 Mar 2014 08:52:54 +0000 (08:52 +0000)]
mod_authn_socache.c: fix creation of default socache_instance.

In pre_config, default socache_provider is created, but socache_instance
initialization is missing. This leads to crash on startup if default
socache_provider is used (AuthnCacheSOCache is not called) and
AuthnCacheEnable or AuthnCacheProvideFor is used.

This problem has been introduced in r1531961.

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

10 years agoupdate transformation
André Malo [Mon, 10 Mar 2014 16:06:18 +0000 (16:06 +0000)]
update transformation

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

10 years agofix spelling
Jeff Trawick [Mon, 10 Mar 2014 14:57:14 +0000 (14:57 +0000)]
fix spelling

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

10 years agomake it clear that B is for backreferences
Eric Covener [Sun, 9 Mar 2014 13:54:22 +0000 (13:54 +0000)]
make it clear that B is for backreferences

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

10 years agoupdate transformation
André Malo [Sat, 8 Mar 2014 22:56:56 +0000 (22:56 +0000)]
update transformation

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