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

10 years agoUpdates.
Lucien Gentis [Sat, 8 Mar 2014 17:38:56 +0000 (17:38 +0000)]
Updates.

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

10 years agoRebuild HTML
Rich Bowen [Fri, 7 Mar 2014 21:05:32 +0000 (21:05 +0000)]
Rebuild HTML

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

10 years agoAs per comment, removing quotes makes the example work
Rich Bowen [Fri, 7 Mar 2014 21:05:11 +0000 (21:05 +0000)]
As per comment, removing quotes makes the example work

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

10 years agoModule identification
William A. Rowe Jr [Fri, 7 Mar 2014 21:01:33 +0000 (21:01 +0000)]
Module identification

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

10 years agoCVE-2014-0098 (reported by Rainer Canavan <rainer-apache 7val com>)
William A. Rowe Jr [Fri, 7 Mar 2014 20:56:24 +0000 (20:56 +0000)]
CVE-2014-0098 (reported by Rainer Canavan <rainer-apache 7val com>)
Segfaults w/ truncated cookie logging.

Clean up the cookie logging parser to recognize only the cookie=value pairs,
not valueless cookies.  This refactors multiple passes over the same string
buffer into a single pass parser.

Submitted by: wrowe
Reviewed by: rpluem, jim

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

10 years agoRevert r1574518 to get 2.2/2.4/2.x all back in sync for a single fix
William A. Rowe Jr [Fri, 7 Mar 2014 20:45:33 +0000 (20:45 +0000)]
Revert r1574518 to get 2.2/2.4/2.x all back in sync for a single fix

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

10 years agoAdd =~ and !~ to the table of comparison operators
Rich Bowen [Fri, 7 Mar 2014 20:35:07 +0000 (20:35 +0000)]
Add =~ and !~ to the table of comparison operators

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

10 years agoAdd =~ and !~ to the table of comparison operators
Rich Bowen [Fri, 7 Mar 2014 20:30:09 +0000 (20:30 +0000)]
Add =~ and !~ to the table of comparison operators

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

10 years agoensure cookies have name/value
Jim Jagielski [Wed, 5 Mar 2014 15:00:56 +0000 (15:00 +0000)]
ensure cookies have name/value

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

10 years agofollow-up to r1562472, 1561262, and 1561923:
Jeff Trawick [Tue, 4 Mar 2014 17:45:36 +0000 (17:45 +0000)]
follow-up to r1562472, 1561262, and 1561923:

Improve messaging...

* easier to tell what went wrong in some cases
* reduce number of debug messages without losing information in some cases

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

10 years agoupdate transformation
André Malo [Mon, 3 Mar 2014 21:31:33 +0000 (21:31 +0000)]
update transformation

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

10 years agoxforms
Jim Jagielski [Mon, 3 Mar 2014 17:33:15 +0000 (17:33 +0000)]
xforms

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

10 years agotypo
Jim Jagielski [Mon, 3 Mar 2014 17:32:09 +0000 (17:32 +0000)]
typo

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

10 years agoAllow reverse-proxy to be set via explicit handler
Jim Jagielski [Mon, 3 Mar 2014 17:28:17 +0000 (17:28 +0000)]
Allow reverse-proxy to be set via explicit handler

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

10 years agoupdate transformation
André Malo [Sun, 2 Mar 2014 20:11:06 +0000 (20:11 +0000)]
update transformation

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

10 years agomod_proxy: Add comment and avoid ternary operator as condition (no functional change).
Yann Ylavic [Sat, 1 Mar 2014 21:36:27 +0000 (21:36 +0000)]
mod_proxy: Add comment and avoid ternary operator as condition (no functional change).

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

10 years agomod_deflate: when consuming zlibs flags, APR_INCOMPLETE implies no more bytes available.
Yann Ylavic [Sat, 1 Mar 2014 20:34:55 +0000 (20:34 +0000)]
mod_deflate: when consuming zlibs flags, APR_INCOMPLETE implies no more bytes available.

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

10 years agobackported
Eric Covener [Sat, 1 Mar 2014 18:34:25 +0000 (18:34 +0000)]
backported

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

10 years agoUpdate.
Lucien Gentis [Sat, 1 Mar 2014 14:00:22 +0000 (14:00 +0000)]
Update.

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

10 years agomod_proxy: follows up r1572630.
Yann Ylavic [Fri, 28 Feb 2014 14:46:50 +0000 (14:46 +0000)]
mod_proxy: follows up r1572630.
Don't reuse a SSL backend connection with no SNI for a request requiring SNI.

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

10 years agomod_deflate: follows up r1572896.
Yann Ylavic [Fri, 28 Feb 2014 10:42:47 +0000 (10:42 +0000)]
mod_deflate: follows up r1572896.
Be safe from successive or post end-of-stream flush buckets.

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

10 years agocore: avoid a double apr_time_now() call on the first succeeding read.
Yann Ylavic [Fri, 28 Feb 2014 10:22:26 +0000 (10:22 +0000)]
core: avoid a double apr_time_now() call on the first succeeding read.

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

10 years agomod_deflate:
Yann Ylavic [Fri, 28 Feb 2014 09:42:41 +0000 (09:42 +0000)]
mod_deflate:
Don't fail when asked to flush inflated data to the user-agent and that
coincides with the end of stream ("Zlib error flushing inflate buffer").
PR 56196.

Submitted By: [Christoph Fausak <christoph.fausak glueckkanja com>]
Committed By: ylavic

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

10 years agothis wasn't supposed to be a pointer, thanks Yann!
Daniel Gruno [Thu, 27 Feb 2014 21:56:59 +0000 (21:56 +0000)]
this wasn't supposed to be a pointer, thanks Yann!

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

10 years agoRemove bad line that snuck into the commit
Daniel Gruno [Thu, 27 Feb 2014 19:11:54 +0000 (19:11 +0000)]
Remove bad line that snuck into the commit

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

10 years agomod_lua: Only read up to whatever the user defines as max size when using r:parsebody...
Daniel Gruno [Thu, 27 Feb 2014 19:10:55 +0000 (19:10 +0000)]
mod_lua: Only read up to whatever the user defines as max size when using r:parsebody() - if content length is greater, return an error.

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

10 years agoCommit 6 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_d...
Yann Ylavic [Thu, 27 Feb 2014 18:15:03 +0000 (18:15 +0000)]
Commit 6 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_deflate's output and input filters.
PR 46146 (patches from duplicated PR 55666)

Ignore empty buckets and split buckets longer than INT_MAX (since zlib uses 32-bit ints only) in all filters.

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

10 years agoCommit 5 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_d...
Yann Ylavic [Thu, 27 Feb 2014 18:08:34 +0000 (18:08 +0000)]
Commit 5 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_deflate's output and input filters.
PR 46146 (patches from duplicated PR 55666)

Handle Zlib flags in the inflate input filter as in the output filter, using consume_zlib_flags().

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

10 years agoCommit 4 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_d...
Yann Ylavic [Thu, 27 Feb 2014 18:01:38 +0000 (18:01 +0000)]
Commit 4 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_deflate's output and input filters.
PR 46146 (patches from duplicated PR 55666)

Handle non blocking reads which would block in the inflate input filter (not an error).

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

10 years agoCommit 3 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_d...
Yann Ylavic [Thu, 27 Feb 2014 17:57:13 +0000 (17:57 +0000)]
Commit 3 on 6 to fix reentrance (incomplete Zlib header or validation bytes) in mod_deflate's output and input filters.
PR 46146 (patches from duplicated PR 55666)

Handle Zlib validation bytes buffering (CRC + length) in the inflate input filter :
- use validation_buffer and validation_length as state,
- loop until all the bytes are received.

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