]> granicus.if.org Git - apache/log
apache
11 years agoUse apr_is_empty_table() instead of getting a table and checking the value of the...
Christophe Jaillet [Tue, 20 Nov 2012 21:03:52 +0000 (21:03 +0000)]
Use apr_is_empty_table() instead of getting a table and checking the value of the 'nelts' field.

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

11 years agoBug from not using pools by default :)
Jim Jagielski [Tue, 20 Nov 2012 16:03:09 +0000 (16:03 +0000)]
Bug from not using pools by default :)

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

11 years agoForce even malloc'ed mem to be 0ed. And pull out wasted cycles that
Jim Jagielski [Mon, 19 Nov 2012 21:24:04 +0000 (21:24 +0000)]
Force even malloc'ed mem to be 0ed. And pull out wasted cycles that
did the nulling.

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

11 years agoSome formatting and a bugfix
Jim Jagielski [Mon, 19 Nov 2012 21:10:51 +0000 (21:10 +0000)]
Some formatting and a bugfix

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

11 years agoThe compiler *should* do this, but just in case
Jim Jagielski [Mon, 19 Nov 2012 19:31:34 +0000 (19:31 +0000)]
The compiler *should* do this, but just in case

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

11 years agoskiplist_destroy() is new-ish
Jim Jagielski [Mon, 19 Nov 2012 16:28:13 +0000 (16:28 +0000)]
skiplist_destroy() is new-ish

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

11 years agoRemove from API
Jim Jagielski [Mon, 19 Nov 2012 16:17:19 +0000 (16:17 +0000)]
Remove from API

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

11 years agoMerge branch 'skiplist'
Jim Jagielski [Mon, 19 Nov 2012 14:11:38 +0000 (14:11 +0000)]
Merge branch 'skiplist'

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

11 years agos/;;/;/
Stefan Fritsch [Sun, 18 Nov 2012 19:57:08 +0000 (19:57 +0000)]
s/;;/;/

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

11 years agoadd attribute nonnull to a few functions
Stefan Fritsch [Sun, 18 Nov 2012 19:31:39 +0000 (19:31 +0000)]
add attribute nonnull to a few functions

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

11 years agoBe nice and ignore some KDevelopment4 files
Stefan Fritsch [Sun, 18 Nov 2012 18:56:15 +0000 (18:56 +0000)]
Be nice and ignore some KDevelopment4 files

PR: 54135

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

11 years agoCopy svn:ignore from server/mpm/event
Stefan Fritsch [Sun, 18 Nov 2012 18:53:09 +0000 (18:53 +0000)]
Copy svn:ignore from server/mpm/event

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

11 years agoDon't log a spurious "-" if a request has been rejected
Stefan Fritsch [Sun, 18 Nov 2012 18:42:48 +0000 (18:42 +0000)]
Don't log a spurious "-" if a request has been rejected
before mod_log_forensic could attach its id to it.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693292

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

11 years agoUpdates.
Lucien Gentis [Sun, 18 Nov 2012 14:12:25 +0000 (14:12 +0000)]
Updates.

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

11 years agoDocument the check in open_logs()
Jim Jagielski [Sun, 18 Nov 2012 13:21:05 +0000 (13:21 +0000)]
Document the check in open_logs()

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

11 years agoxforms
Stefan Fritsch [Sat, 17 Nov 2012 17:52:26 +0000 (17:52 +0000)]
xforms

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

11 years agoFix cut'n'paste error
Stefan Fritsch [Sat, 17 Nov 2012 17:48:29 +0000 (17:48 +0000)]
Fix cut'n'paste error

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

11 years agoAdd SERVER_PROTOCOL_VERSION, SERVER_PROTOCOL_VERSION_MAJOR,
Stefan Fritsch [Sat, 17 Nov 2012 17:43:33 +0000 (17:43 +0000)]
Add SERVER_PROTOCOL_VERSION, SERVER_PROTOCOL_VERSION_MAJOR,
SERVER_PROTOCOL_VERSION_MINOR ap_expr variables.

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

11 years agoxform
Eric Covener [Sat, 17 Nov 2012 03:00:25 +0000 (03:00 +0000)]
xform

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

11 years agoPR53963: don't merge the rewritebase down w/o an opt-in
Eric Covener [Sat, 17 Nov 2012 02:59:31 +0000 (02:59 +0000)]
PR53963: don't merge the rewritebase down w/o an opt-in

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

11 years agofdq expects a certain behavior from atomics... ensure that
Jim Jagielski [Fri, 16 Nov 2012 16:49:31 +0000 (16:49 +0000)]
fdq expects a certain behavior from atomics... ensure that
the event mpms check this.

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

11 years agoFold in a missing optimization...
Jim Jagielski [Fri, 16 Nov 2012 13:07:48 +0000 (13:07 +0000)]
Fold in a missing optimization...

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

11 years agomissed one
Jim Jagielski [Thu, 15 Nov 2012 20:57:23 +0000 (20:57 +0000)]
missed one

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

11 years agoUpdate and sync
Jim Jagielski [Thu, 15 Nov 2012 18:35:02 +0000 (18:35 +0000)]
Update and sync

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

11 years agoPrefer higher-mode polling, but allow for drop down to default
Jim Jagielski [Thu, 15 Nov 2012 16:49:04 +0000 (16:49 +0000)]
Prefer higher-mode polling, but allow for drop down to default

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

11 years ago* support/rotatelogs.c: Cleanups, no functional change. Drop revision
Joe Orton [Thu, 15 Nov 2012 14:19:57 +0000 (14:19 +0000)]
* support/rotatelogs.c: Cleanups, no functional change.  Drop revision
  history, "svn log" works; use APR_PATH_MAX; constify more.

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

11 years ago* support/rotatelogs.c (post_rotate): Really omit the second arg when
Joe Orton [Thu, 15 Nov 2012 10:40:37 +0000 (10:40 +0000)]
* support/rotatelogs.c (post_rotate): Really omit the second arg when
  invoking a post-rotate program, rather than passing an empty arg.
  (Fixes to code match desired&documented behaviour.)

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

11 years agoGive the opportunity to the compiler to compute at compile time the strlen of the...
Christophe Jaillet [Wed, 14 Nov 2012 21:41:19 +0000 (21:41 +0000)]
Give the opportunity to the compiler to compute at compile time the strlen of the given
string. Most of the calls to ap_fputs are done with constant strings.

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

11 years agorequired by eventopt
Jim Jagielski [Wed, 14 Nov 2012 18:45:43 +0000 (18:45 +0000)]
required by eventopt

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

11 years agono longer needed
Jim Jagielski [Wed, 14 Nov 2012 17:45:42 +0000 (17:45 +0000)]
no longer needed

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

11 years agoPull out the "extended" pod functions used by event and worker
Jim Jagielski [Wed, 14 Nov 2012 14:26:26 +0000 (14:26 +0000)]
Pull out the "extended" pod functions used by event and worker
to core, since it will be used by Simple and Lean and
likely other MPMs. Avoid duplication.

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

11 years agoAxed C++ comments.
Guenter Knauf [Wed, 14 Nov 2012 11:43:49 +0000 (11:43 +0000)]
Axed C++ comments.

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

11 years agoformatting: space vs tab
Christophe Jaillet [Tue, 13 Nov 2012 21:08:33 +0000 (21:08 +0000)]
formatting: space vs tab

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

11 years agomod_session_dbd: fix a segmentation fault in the function dbd_remove.
Christophe Jaillet [Tue, 13 Nov 2012 21:03:10 +0000 (21:03 +0000)]
mod_session_dbd: fix a segmentation fault in the function dbd_remove.
The segmentation fault is caused by an uninitialized function pointer session_dbd_acquire_fn.
PR 53452

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

11 years agofollowup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so...
Eric Covener [Mon, 12 Nov 2012 18:54:43 +0000 (18:54 +0000)]
followup to r1348036, MSSDK's WinLdap.h uses an enum for LDAP_* status codes, so the block is not included

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

11 years agoignore auto-generated docs/log-message-tags/list
Stefan Fritsch [Sun, 11 Nov 2012 19:39:50 +0000 (19:39 +0000)]
ignore auto-generated docs/log-message-tags/list

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

11 years agoxforms
Stefan Fritsch [Sun, 11 Nov 2012 19:37:08 +0000 (19:37 +0000)]
xforms

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

11 years agoRemove SSLv2 stuff that is no longer supported. Add a few newer algorithms
Stefan Fritsch [Sun, 11 Nov 2012 19:34:53 +0000 (19:34 +0000)]
Remove SSLv2 stuff that is no longer supported. Add a few newer algorithms
and cipher aliases. This is incomplete, but the openssl 1.0.1c man pages
don't have the complete list either :-(

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

11 years agoReplace an incorrect #if by the correct corresponding #if defined(...)
Christophe Jaillet [Sun, 11 Nov 2012 12:53:11 +0000 (12:53 +0000)]
Replace an incorrect #if by the correct corresponding #if defined(...)

PR 54133 reported by Teodor Milkov ()

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

11 years agocppCheck: Suspicious condition.
Christophe Jaillet [Sat, 10 Nov 2012 17:21:42 +0000 (17:21 +0000)]
cppCheck:  Suspicious condition.

AFAIK, there is no actual problem with the existing code.  'rv' would only not have the 'expected' value, but the execution
path would remain the same.
However, the patched code is more logical. We put the returned value in 'rv', then test it against 0.

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

11 years agoUpdates.
Lucien Gentis [Sat, 10 Nov 2012 14:31:33 +0000 (14:31 +0000)]
Updates.

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

11 years agoMake HttpProtocol accept a range of allowed versions.
Stefan Fritsch [Fri, 9 Nov 2012 21:17:04 +0000 (21:17 +0000)]
Make HttpProtocol accept a range of allowed versions.
Bump MMN

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

11 years agoxforms
Stefan Fritsch [Fri, 9 Nov 2012 19:40:21 +0000 (19:40 +0000)]
xforms

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

11 years agoExpose ap_method_register() to the admin with a new RegisterHttpMethod
Stefan Fritsch [Fri, 9 Nov 2012 19:38:19 +0000 (19:38 +0000)]
Expose ap_method_register() to the admin with a new RegisterHttpMethod
directive.

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

11 years agoPull the event optimization MPM back into trunk. This
Jim Jagielski [Fri, 9 Nov 2012 16:41:12 +0000 (16:41 +0000)]
Pull the event optimization MPM back into trunk. This
provides more eyes and allows work to continue on
it...

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

11 years agoremove obsolete comment from 1.3 days
Stefan Fritsch [Fri, 9 Nov 2012 16:30:37 +0000 (16:30 +0000)]
remove obsolete comment from 1.3 days

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

11 years agofix comment typo
Stefan Fritsch [Fri, 9 Nov 2012 16:29:43 +0000 (16:29 +0000)]
fix comment typo

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

11 years agoRemove warnings
Jim Jagielski [Fri, 9 Nov 2012 14:04:22 +0000 (14:04 +0000)]
Remove warnings
mod_speling.c:400:41: warning: data argument not used by format string [-Wformat-extra-args]
                          r->uri, nuri, ref);
                                                                                                                        mod_speling.c:508:53: warning: data argument not used by format string [-Wformat-extra-args]
                          r->uri, candidates->nelts, ref);

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

11 years agoremove warning:
Jim Jagielski [Fri, 9 Nov 2012 14:04:19 +0000 (14:04 +0000)]
remove warning:
mod_remoteip.c:404:38: warning: data argument not used by format string [-Wformat-extra-args]
It's a hack, but maintain the orig hack ;)

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

11 years agofix a comment to match the r1299718/r1370225 changes...
Jeff Trawick [Fri, 9 Nov 2012 08:50:07 +0000 (08:50 +0000)]
fix a comment to match the r1299718/r1370225 changes...

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

11 years agoThe following now respects DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:
Jeff Trawick [Fri, 9 Nov 2012 08:44:08 +0000 (08:44 +0000)]
The following now respects DefaultRuntimeDir/DEFAULT_REL_RUNTIMEDIR:

- mod_cache: thundering herd lock directory

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

11 years ago *) mod_xml2enc: Fix problems with charset conversion altering the
Jim Jagielski [Thu, 8 Nov 2012 20:00:38 +0000 (20:00 +0000)]
  *) mod_xml2enc: Fix problems with charset conversion altering the
     Content-Length. [Micha Lenk <micha lenk info>]

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

11 years agoremove some more old unused code
Stefan Fritsch [Thu, 8 Nov 2012 14:11:47 +0000 (14:11 +0000)]
remove some more old unused code

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

11 years agobetter logging for re-use/use of shm
Jim Jagielski [Thu, 8 Nov 2012 14:01:37 +0000 (14:01 +0000)]
better logging for re-use/use of shm

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

11 years agoAdded mod_allowhandlers to NetWare build.
Guenter Knauf [Thu, 8 Nov 2012 12:31:10 +0000 (12:31 +0000)]
Added mod_allowhandlers to NetWare build.

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

11 years agolog client error at level debug, log broken Host header value
Stefan Fritsch [Thu, 8 Nov 2012 10:44:49 +0000 (10:44 +0000)]
log client error at level debug, log broken Host header value

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

11 years agoRemove unused code. "Next week" hasn't happened in the last 10 years or so.
Stefan Fritsch [Thu, 8 Nov 2012 10:43:18 +0000 (10:43 +0000)]
Remove unused code. "Next week" hasn't happened in the last 10 years or so.

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

12 years agos/Options/AllowOverride/ in comment describing the syntax of
Rich Bowen [Thu, 8 Nov 2012 03:07:01 +0000 (03:07 +0000)]
s/Options/AllowOverride/ in comment describing the syntax of
AllowOverride.

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

12 years ago* Ensure that nkey is initialized.
Ruediger Pluem [Wed, 7 Nov 2012 19:26:48 +0000 (19:26 +0000)]
* Ensure that nkey is initialized.

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

12 years agoNew directive HttpProtocol which allows to disable HTTP/0.9 support.
Stefan Fritsch [Wed, 7 Nov 2012 16:56:38 +0000 (16:56 +0000)]
New directive HttpProtocol which allows to disable HTTP/0.9 support.

The syntax is designed to allow addition of a +/- strict option
later on.

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

12 years agomake docs
Jeff Trawick [Wed, 7 Nov 2012 14:29:11 +0000 (14:29 +0000)]
make docs

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

12 years agouser-defined needs the hyphen
Jeff Trawick [Wed, 7 Nov 2012 14:12:30 +0000 (14:12 +0000)]
user-defined needs the hyphen

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

12 years agoupdate xforms
Stefan Fritsch [Wed, 7 Nov 2012 13:38:10 +0000 (13:38 +0000)]
update xforms

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

12 years agomod_allowhandlers: New module to forbid specific handlers for specific
Stefan Fritsch [Wed, 7 Nov 2012 13:27:54 +0000 (13:27 +0000)]
mod_allowhandlers: New module to forbid specific handlers for specific
directories.

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

12 years agocomment spelling fix
Jeff Trawick [Wed, 7 Nov 2012 13:27:51 +0000 (13:27 +0000)]
comment spelling fix

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

12 years agoMake ap_check_cmd_context() treat <If> sections like <File> sections.
Stefan Fritsch [Wed, 7 Nov 2012 08:33:05 +0000 (08:33 +0000)]
Make ap_check_cmd_context() treat <If> sections like <File> sections.
This is necessary to properly disallow directives that don't work in
<If>.

A separate NOT_IN_IF flag may be nicer, but would create much more
hassle when being backported to 2.4.

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

12 years agoMake <If> sections in virtual host context fill in cmd->path so that
Stefan Fritsch [Wed, 7 Nov 2012 08:29:49 +0000 (08:29 +0000)]
Make <If> sections in virtual host context fill in cmd->path so that
other directive notice that they are in a config section.

This fixes LogLevel not working in <If> sections that are not in
Location/Directory/File sections.

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

12 years agotry to catch up if docs/log-message-tags/next-number is out of date
Stefan Fritsch [Tue, 6 Nov 2012 08:27:57 +0000 (08:27 +0000)]
try to catch up if docs/log-message-tags/next-number is out of date

doing two passes would be even better, will look at that later

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

12 years agoReplace duplicate log tags
Stefan Fritsch [Tue, 6 Nov 2012 08:25:56 +0000 (08:25 +0000)]
Replace duplicate log tags

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

12 years agocppCheck: kill two warnings about incorrect printf parameters.
Christophe Jaillet [Mon, 5 Nov 2012 21:50:50 +0000 (21:50 +0000)]
cppCheck: kill two warnings about incorrect printf parameters.
'worker_thread_count' is unsigned

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

12 years ago* fd is no member of disk_cache_object_t. Instead it is a member of
Ruediger Pluem [Mon, 5 Nov 2012 16:01:23 +0000 (16:01 +0000)]
* fd is no member of disk_cache_object_t. Instead it is a member of
  disk_cache_file_t. Close all fd's (fd, tempfd) for all cache elements
  (hdrs, data, vary) if they are present.

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

12 years agoUpdates.
Lucien Gentis [Mon, 5 Nov 2012 15:41:14 +0000 (15:41 +0000)]
Updates.

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

12 years agoUpdate auto-generated code
Stefan Fritsch [Mon, 5 Nov 2012 12:41:17 +0000 (12:41 +0000)]
Update auto-generated code

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

12 years agoProperly log flex fatal errors and abort(), instead of the
Stefan Fritsch [Mon, 5 Nov 2012 12:39:03 +0000 (12:39 +0000)]
Properly log flex fatal errors and abort(), instead of the
default of fprintf(stderr, ...) and exit(2)

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

12 years ago *) mod_cache_disk: Resolve errors while revalidating disk-cached files on
Eric Covener [Sun, 4 Nov 2012 03:22:33 +0000 (03:22 +0000)]
  *) mod_cache_disk: Resolve errors while revalidating disk-cached files on
     Windows ("...rename tempfile to datafile failed..."). PR 38827
     [Eric Covener]

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

12 years agorevert r1401448 and add a comment on why there's a bewildering copy
Jeff Trawick [Sat, 3 Nov 2012 19:20:47 +0000 (19:20 +0000)]
revert r1401448 and add a comment on why there's a bewildering copy
of args passed to apr_socket_accept_filter()

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

12 years agoAllow for setting of sticky session split char...
Jim Jagielski [Thu, 1 Nov 2012 16:06:43 +0000 (16:06 +0000)]
Allow for setting of sticky session split char...
Bugz 53893

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

12 years ago *) mod_proxy_ftp: Fix segfaults on IPv4 requests to hosts with DNS AAAA records.
Jim Jagielski [Thu, 1 Nov 2012 15:02:46 +0000 (15:02 +0000)]
  *) mod_proxy_ftp: Fix segfaults on IPv4 requests to hosts with DNS AAAA records.
     PR  40841. [Andrew Rucker Jones <arjones simultan dyndns org>,
     <ast domdv de>, Jim Jagielski]

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

12 years agofix cut'n'paste error
Stefan Fritsch [Mon, 29 Oct 2012 20:42:43 +0000 (20:42 +0000)]
fix cut'n'paste error

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

12 years agoxforms
Stefan Fritsch [Mon, 29 Oct 2012 20:35:02 +0000 (20:35 +0000)]
xforms

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

12 years agoap_expr: Add req_novary function that allows HTTP header lookups
Stefan Fritsch [Mon, 29 Oct 2012 20:34:18 +0000 (20:34 +0000)]
ap_expr: Add req_novary function that allows HTTP header lookups
without adding the name to the Vary header

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

12 years agoxforms
Stefan Fritsch [Mon, 29 Oct 2012 20:17:32 +0000 (20:17 +0000)]
xforms

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

12 years agoMention string-valued expression in the BNF.
Stefan Fritsch [Mon, 29 Oct 2012 20:16:26 +0000 (20:16 +0000)]
Mention string-valued expression in the BNF.
Clarify when header names are added to the Vary header.

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

12 years agopartially reverting r1403043: Titled xforms but modifying a config5.m4
Igor Galić [Sun, 28 Oct 2012 17:14:23 +0000 (17:14 +0000)]
partially reverting r1403043: Titled xforms but modifying a config5.m4

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

12 years agoxforms
Igor Galić [Sun, 28 Oct 2012 17:10:47 +0000 (17:10 +0000)]
xforms

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

12 years agoFixing according to comment.
Igor Galić [Sun, 28 Oct 2012 17:08:00 +0000 (17:08 +0000)]
Fixing according to comment.

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

12 years agoalso copy r->invoke_mtx when creating a subrequest
Eric Covener [Sun, 28 Oct 2012 02:37:41 +0000 (02:37 +0000)]
also copy r->invoke_mtx when creating a subrequest

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

12 years agoUpdate.
Lucien Gentis [Sat, 27 Oct 2012 13:08:10 +0000 (13:08 +0000)]
Update.

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

12 years agoNo need to apr_pstrdup things here, 'apr_socket_accept_filter' already makes it own...
Christophe Jaillet [Tue, 23 Oct 2012 20:32:04 +0000 (20:32 +0000)]
No need to apr_pstrdup things here, 'apr_socket_accept_filter' already makes it own copy.

Not compiled nor tested as on my system APR_HAS_SO_ACCEPTFILTER is set to 0.

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

12 years agoTypo
Rich Bowen [Tue, 23 Oct 2012 00:36:39 +0000 (00:36 +0000)]
Typo

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

12 years agoDefine the document root once, and then use the variable elsewhere, so
Rich Bowen [Mon, 22 Oct 2012 23:42:24 +0000 (23:42 +0000)]
Define the document root once, and then use the variable elsewhere, so
that if it gets changed one place it inherits it everywhere. Also, a
practical example of `Define` in action.

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

12 years agoDefine example
Rich Bowen [Mon, 22 Oct 2012 23:36:28 +0000 (23:36 +0000)]
Define example

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

12 years agoAdd an example of the ${VAR} syntax alluded to.
Rich Bowen [Mon, 22 Oct 2012 23:33:41 +0000 (23:33 +0000)]
Add an example of the ${VAR} syntax alluded to.

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

12 years agoxforms
Stefan Fritsch [Sun, 21 Oct 2012 19:18:18 +0000 (19:18 +0000)]
xforms

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

12 years agoChange default for SSLCompression to off, as compression
Stefan Fritsch [Sun, 21 Oct 2012 19:15:43 +0000 (19:15 +0000)]
Change default for SSLCompression to off, as compression
causes security issues in most setups

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

12 years agoUpdates.
Lucien Gentis [Sat, 20 Oct 2012 14:42:35 +0000 (14:42 +0000)]
Updates.

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

12 years agoNOTE TO SELF
Rich Bowen [Thu, 18 Oct 2012 22:46:51 +0000 (22:46 +0000)]
NOTE TO SELF

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

12 years agotypo
Rich Bowen [Thu, 18 Oct 2012 22:39:49 +0000 (22:39 +0000)]
typo

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

12 years agoonly write the first len chars to syslog, as the buffer may have additional
Jeff Trawick [Thu, 18 Oct 2012 15:55:46 +0000 (15:55 +0000)]
only write the first len chars to syslog, as the buffer may have additional
text added speculatively

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

12 years agostyle tweak
Jeff Trawick [Thu, 18 Oct 2012 15:02:24 +0000 (15:02 +0000)]
style tweak

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