]> granicus.if.org Git - apache/log
apache
20 years agoadd relevant standards page to the sitemap.
André Malo [Thu, 18 Sep 2003 20:28:29 +0000 (20:28 +0000)]
add relevant standards page to the sitemap.

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

20 years agoCorrections/fixes, more to come. Transformation update.
Jason S. Lingohr [Thu, 18 Sep 2003 14:03:15 +0000 (14:03 +0000)]
Corrections/fixes, more to come.  Transformation update.

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

20 years agoUpdate transformation.
Jason S. Lingohr [Thu, 18 Sep 2003 10:07:25 +0000 (10:07 +0000)]
Update transformation.

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

20 years agoMinor fixes.
Jason S. Lingohr [Thu, 18 Sep 2003 09:47:04 +0000 (09:47 +0000)]
Minor fixes.

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

20 years agoUpdated trademarks to use the right entity, update transformation.
Jason S. Lingohr [Wed, 17 Sep 2003 13:07:31 +0000 (13:07 +0000)]
Updated trademarks to use the right entity, update transformation.

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

20 years agoREALLY sync with APACHE_2_0_BRANCH
Jeff Trawick [Wed, 17 Sep 2003 11:07:24 +0000 (11:07 +0000)]
REALLY sync with APACHE_2_0_BRANCH

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

21 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Tue, 16 Sep 2003 13:39:19 +0000 (13:39 +0000)]
sync with APACHE_2_0_BRANCH

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

21 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Tue, 16 Sep 2003 01:03:16 +0000 (01:03 +0000)]
sync with APACHE_2_0_BRANCH

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

21 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Mon, 15 Sep 2003 15:43:37 +0000 (15:43 +0000)]
sync with APACHE_2_0_BRANCH

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

21 years agoAdd casts to apr_atomic_casptr arguments to avoid compiler warnings
Brian Pane [Sat, 13 Sep 2003 03:45:50 +0000 (03:45 +0000)]
Add casts to apr_atomic_casptr arguments to avoid compiler warnings

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

21 years agofix snprintf format type warnings
Roy T. Fielding [Fri, 12 Sep 2003 23:01:20 +0000 (23:01 +0000)]
fix snprintf format type warnings

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

21 years ago This fixes the cache code so that responses can be cached if they have
Paul J. Reder [Fri, 12 Sep 2003 19:28:47 +0000 (19:28 +0000)]
 This fixes the cache code so that responses can be cached if they have
 an Expires header but no Etag or Last-Modified headers. PR 23130.
 Submitted by: <bjorn@exoweb.net>
 Reviewed by: Paul J. Reder

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

21 years agoFix a couple of AIX xlc_r compiler issues in the cache code I previously
Paul J. Reder [Thu, 11 Sep 2003 18:24:26 +0000 (18:24 +0000)]
Fix a couple of AIX xlc_r compiler issues in the cache code I previously
committed. [Paul J. Reder]

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

21 years agoTypos in german version
Martin Kraemer [Thu, 11 Sep 2003 15:43:57 +0000 (15:43 +0000)]
Typos in german version

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

21 years ago Modified the cache code to be header-location agnostic. Also
Paul J. Reder [Thu, 11 Sep 2003 14:56:03 +0000 (14:56 +0000)]
  Modified the cache code to be header-location agnostic. Also
  fixed a number of other cache code bugs related to PR 15852.
  Includes a patch submitted by Sushma Rai <rsushma@novell.com>.
  This fixes mod_mem_cache but not mod_disk_cache yet so I'm not
  closing the PR since that is what they are using. [Paul J. Reder]

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

21 years agoThese silent errors have bitten me a few times, now that we
Jim Jagielski [Wed, 10 Sep 2003 14:21:12 +0000 (14:21 +0000)]
These silent errors have bitten me a few times, now that we
use APR'd dbm. mod_ssl had hacked sdbm for larger sizes.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agozap an incorrect comment that remained from 1.3 days
Jeff Trawick [Wed, 10 Sep 2003 12:12:18 +0000 (12:12 +0000)]
zap an incorrect comment that remained from 1.3 days

Submitted by: Aryeh Katz
Reviewed by: Jeff Trawick

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

21 years agovoid * can't be used as a function pointer without casting
Jeff Trawick [Tue, 9 Sep 2003 18:24:43 +0000 (18:24 +0000)]
void * can't be used as a function pointer without casting

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

21 years agoOS/2: AP_MPM_WANT_SET_MAX_MEM_FREE needs to be defined for ap_max_mem_free to
Brian Havard [Mon, 8 Sep 2003 22:32:36 +0000 (22:32 +0000)]
OS/2: AP_MPM_WANT_SET_MAX_MEM_FREE needs to be defined for ap_max_mem_free to
be available which is required for the recent bucket_alloc changes.

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

21 years ago By rights this should be a subst - but it gets us building.
William A. Rowe Jr [Mon, 8 Sep 2003 21:08:33 +0000 (21:08 +0000)]
  By rights this should be a subst - but it gets us building.
  Need to revisit pulling this and httpd-std.conf.in so we can
  drop all win32 specifics.

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

21 years agoone_process is not a global variable
Martin Kraemer [Mon, 8 Sep 2003 16:39:46 +0000 (16:39 +0000)]
one_process is not a global variable

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

21 years agoDocumentation says -DDUMP_VHOSTS is equivalent to setting -S
Martin Kraemer [Mon, 8 Sep 2003 16:39:04 +0000 (16:39 +0000)]
Documentation says -DDUMP_VHOSTS is equivalent to setting -S

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

21 years ago Simplify includes - we always (in HTTPD 2.1 forward) are looking
William A. Rowe Jr [Mon, 8 Sep 2003 16:03:49 +0000 (16:03 +0000)]
  Simplify includes - we always (in HTTPD 2.1 forward) are looking
  for the openssl/foo.h headers explicitly.  Fix the abs.dsp build
  to define HAVE_OPENSSL instead of USE_SSL so the correct headers
  are included upfront.

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

21 years agoStill in 2003
Martin Kraemer [Mon, 8 Sep 2003 15:29:40 +0000 (15:29 +0000)]
Still in 2003

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

21 years ago Account for apr-1.lib and apriconv-1.lib changes, HTTPD 2.1/APR 1.0 only.
William A. Rowe Jr [Mon, 8 Sep 2003 15:17:25 +0000 (15:17 +0000)]
  Account for apr-1.lib and apriconv-1.lib changes, HTTPD 2.1/APR 1.0 only.

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

21 years agoapu_compat.h no longer exists...
Sander Striker [Sat, 6 Sep 2003 07:48:47 +0000 (07:48 +0000)]
apu_compat.h no longer exists...

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

21 years agorevert my previous commit. when 2.0 and 2.1 were not in sync, i went with
Cliff Woolley [Fri, 5 Sep 2003 22:46:17 +0000 (22:46 +0000)]
revert my previous commit.  when 2.0 and 2.1 were not in sync, i went with
what was in 2.0 because it was more recent, but it turns out that was
the wrong choice.  reverts to 2.0 to follow

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

21 years agosync with 2.0.48
Jeff Trawick [Fri, 5 Sep 2003 21:27:21 +0000 (21:27 +0000)]
sync with 2.0.48
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoLower the severity of the "listener thread didn't exit" message
Jeff Trawick [Fri, 5 Sep 2003 19:36:26 +0000 (19:36 +0000)]
Lower the severity of the "listener thread didn't exit" message
to debug, as it is of interest only to developers.

PR:                9011

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

21 years agoforward-port Brad's commit to the 2.0 branch that gets rid of the
Cliff Woolley [Fri, 5 Sep 2003 19:08:56 +0000 (19:08 +0000)]
forward-port Brad's commit to the 2.0 branch that gets rid of the
explicit bucket_alloc_destroy(), which is redundant

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

21 years agoFix a misleading message from the some of the threaded MPMs when
Jeff Trawick [Fri, 5 Sep 2003 16:50:22 +0000 (16:50 +0000)]
Fix a misleading message from the some of the threaded MPMs when
MaxClients has to be lowered due to the setting of ServerLimit.

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

21 years agoswitch to APR 1.0 API (which is still in flux)
Jeff Trawick [Wed, 3 Sep 2003 19:27:12 +0000 (19:27 +0000)]
switch to APR 1.0 API (which is still in flux)

because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore

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

21 years agoPoint to the correct download location.
Joshua Slive [Mon, 1 Sep 2003 19:05:33 +0000 (19:05 +0000)]
Point to the correct download location.

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

21 years agoTypos...
Erik Abele [Sun, 31 Aug 2003 18:01:25 +0000 (18:01 +0000)]
Typos...

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

21 years agoResolve the ap_get_client_block() showstopper by looking at APR_BRIGADE_LAST
Justin Erenkrantz [Sun, 31 Aug 2003 16:14:39 +0000 (16:14 +0000)]
Resolve the ap_get_client_block() showstopper by looking at APR_BRIGADE_LAST
of what we get from ap_get_brigade and set a nugget for our next call to
pick up on.

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

21 years ago* ssl_engine_io.c (ssl_io_filter_connect): Check the
Joe Orton [Fri, 29 Aug 2003 14:45:26 +0000 (14:45 +0000)]
* ssl_engine_io.c (ssl_io_filter_connect): Check the
library code as well as the reason code when looking for the
plain-HTTP-request error.

Submitted by: Stephen Henson <steve@openssl.org>

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

21 years agodocument the recent mod_include changes
André Malo [Fri, 29 Aug 2003 00:32:16 +0000 (00:32 +0000)]
document the recent mod_include changes

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

21 years agoallow the undefined echo string to be configured via
André Malo [Thu, 28 Aug 2003 23:59:58 +0000 (23:59 +0000)]
allow the undefined echo string to be configured via
<!--#config echomsg="..." -->

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

21 years agoallow SSIUndefinedEcho per directory
André Malo [Thu, 28 Aug 2003 23:20:44 +0000 (23:20 +0000)]
allow SSIUndefinedEcho per directory

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

21 years agoadd information about the == operator, && / || priorities and
André Malo [Thu, 28 Aug 2003 15:37:17 +0000 (15:37 +0000)]
add information about the == operator, && / || priorities and
expression optimization/debugging

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

21 years agoUpdated the various MPM's to use the new bucket_alloc_create_ex API
Cliff Woolley [Thu, 28 Aug 2003 05:54:44 +0000 (05:54 +0000)]
Updated the various MPM's to use the new bucket_alloc_create_ex API
when necessary.  Which is to say that it's necessary in all cases except
for prefork, where the change to apr-util to have it use the allocator
from the pool passed in is already sufficient.

Reviewed by: Jean-Jacques Clar, Sander Striker, Brad Nicholes

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

21 years agoaxe some warnings:
Cliff Woolley [Thu, 28 Aug 2003 05:41:32 +0000 (05:41 +0000)]
axe some warnings:

mod_dav_lock.c:72: warning: no previous prototype for `dav_generic_get_lockdb_path'
locks.c: In function `dav_generic_really_open_lockdb':
locks.c:356: warning: unused variable `db'
locks.c: In function `dav_generic_load_lock_record':
locks.c:606: warning: unused variable `buf'
locks.c: In function `dav_generic_remove_lock':
locks.c:1081: warning: unused variable `buf'

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

21 years agobe nice and accept == as well as token_eq.
André Malo [Thu, 28 Aug 2003 01:35:46 +0000 (01:35 +0000)]
be nice and accept == as well as token_eq.

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

21 years agocleanup the TOKEN_AND/OR tree generation code.
André Malo [Thu, 28 Aug 2003 01:13:11 +0000 (01:13 +0000)]
cleanup the TOKEN_AND/OR tree generation code.
- check more exactly whether the previous token is correct
- flip the tree from left-weighted to right-weighted, which is
  more natural and more efficient, since we don't need to loop
  up to the root, but just until the next and/or token.
- that way, flip the short circuit evaluation again to cut
  the right side now if possible...

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

21 years agothe extra buffer variable is no longer needed.
André Malo [Wed, 27 Aug 2003 23:09:51 +0000 (23:09 +0000)]
the extra buffer variable is no longer needed.

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

21 years agoMake sure that the global ap_max_mem_free is initialized along with the
Bradley Nicholes [Wed, 27 Aug 2003 22:33:12 +0000 (22:33 +0000)]
Make sure that the global ap_max_mem_free is initialized along with the
other MPM globals whenever HTTPD is started or restarted.

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

21 years agosimplifications. Don't repeat the same code again and again.
André Malo [Wed, 27 Aug 2003 21:36:03 +0000 (21:36 +0000)]
simplifications. Don't repeat the same code again and again.

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

21 years agohrm. reverting my last commit. TOKEN_GROUP is a protection against many
André Malo [Wed, 27 Aug 2003 20:26:28 +0000 (20:26 +0000)]
hrm. reverting my last commit. TOKEN_GROUP is a protection against many
invalid expressions. Checking these all manually would take a lot more
cycles than it'd save. Sorry.

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

21 years agoTOKEN_GROUP is nothing but an identity operator, it gateways the
André Malo [Wed, 27 Aug 2003 19:32:35 +0000 (19:32 +0000)]
TOKEN_GROUP is nothing but an identity operator, it gateways the
result of the enclosed expression. Since this expression will never
touched again during the tree-building stage, we can safely strip
TOKEN_GROUP from the tree and later evaluate the child directly.

The only side effect of this change is, that grouped strings on the
left side of EQ/NE/etc are now allowed (was invalid before), which
is acceptable IMHO (e.g. (foo bar baz) = zzzip)

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

21 years agocleanup TOKEN_EQ, NE, LT & co tree generator:
André Malo [Wed, 27 Aug 2003 18:00:47 +0000 (18:00 +0000)]
cleanup TOKEN_EQ, NE, LT & co tree generator:
- the left side of such an operator can *only* be a string
- get a rid of the while-loop and re-organize the code
  to better reflect what we're actually doing there

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

21 years agominor optimization.
André Malo [Wed, 27 Aug 2003 15:35:13 +0000 (15:35 +0000)]
minor optimization.

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

21 years agoforgot to add these debugging outputs
André Malo [Wed, 27 Aug 2003 14:04:51 +0000 (14:04 +0000)]
forgot to add these debugging outputs

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

21 years agoimprove debugging output
André Malo [Tue, 26 Aug 2003 17:20:16 +0000 (17:20 +0000)]
improve debugging output

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

21 years agosince our parse tree is left-weighted, the short circuit evaluation
André Malo [Tue, 26 Aug 2003 00:32:03 +0000 (00:32 +0000)]
since our parse tree is left-weighted, the short circuit evaluation
is way more useful if we short circuit the left side. So evaluate
the right side first. This, however, reverses my statement about
regex optimization (you have to put them onto the right side of an
&& or || operator to get a chance that the left side will be cutted).

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

21 years agoTOKEN_RE is only valid on the right side of EQ or NE. (previously this
André Malo [Mon, 25 Aug 2003 23:37:47 +0000 (23:37 +0000)]
TOKEN_RE is only valid on the right side of EQ or NE. (previously this
error was caught during the evaluation stage)

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

21 years agoTOKEN_NOT and TOKEN_LBRACE duplicate exactly the same tree generation
André Malo [Mon, 25 Aug 2003 22:52:48 +0000 (22:52 +0000)]
TOKEN_NOT and TOKEN_LBRACE duplicate exactly the same tree generation
code. Get a rid of this duplication.

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

21 years agoreadability improvement. Handle the case of the current token being the
André Malo [Mon, 25 Aug 2003 22:06:45 +0000 (22:06 +0000)]
readability improvement. Handle the case of the current token being the
first parsed explicitly. There's probably also a minor performance improvement
on invalid expressions ... ;-)

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

21 years agoshorten the code by reversing the case conditions
André Malo [Mon, 25 Aug 2003 21:22:37 +0000 (21:22 +0000)]
shorten the code by reversing the case conditions

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

21 years agofix compiler warning on win32
André Malo [Mon, 25 Aug 2003 19:56:00 +0000 (19:56 +0000)]
fix compiler warning on win32

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

21 years agoMake some regex examples a little more exact.
Joshua Slive [Mon, 25 Aug 2003 16:47:42 +0000 (16:47 +0000)]
Make some regex examples a little more exact.

Submitted by: Jari Alto <jari.aalto@poboxes.com>
PR: 22348

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

21 years agoshort circuit && and || evaluation. For backwards compat this is only
André Malo [Mon, 25 Aug 2003 16:05:13 +0000 (16:05 +0000)]
short circuit && and || evaluation. For backwards compat this is only
possible if there's no regex on the short circuited side (since it fills
in the backref data). The user may optimize this by putting the regex
onto the left side of the operator.

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

21 years ago* listen.c (ap_listen_open): Avoid casts when checking for :: and
Joe Orton [Mon, 25 Aug 2003 16:00:49 +0000 (16:00 +0000)]
* listen.c (ap_listen_open): Avoid casts when checking for :: and
0.0.0.0 to fix build on FreeBSD 4.2, and fix logic.

Reviewed by: Colm MacCarthaigh

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

21 years agosimplify the dumper code
André Malo [Mon, 25 Aug 2003 15:36:51 +0000 (15:36 +0000)]
simplify the dumper code

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

21 years agoif the tokenizer hits a string which begins with a backslash, this
André Malo [Mon, 25 Aug 2003 03:30:50 +0000 (03:30 +0000)]
if the tokenizer hits a string which begins with a backslash, this
backslash will be skipped and not recognized as an escape character.
That way, <!--#if expr="\)"--> or the like won't work correctly.
Fix it now.

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

21 years agosame cleanup applies to TOKEN_LBRACE
André Malo [Mon, 25 Aug 2003 02:49:19 +0000 (02:49 +0000)]
same cleanup applies to TOKEN_LBRACE

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

21 years agocleanup TOKEN_NOT tree generation code:
André Malo [Mon, 25 Aug 2003 02:21:20 +0000 (02:21 +0000)]
cleanup TOKEN_NOT tree generation code:
- remove useless stuff
- shorten the code by inverting the switch/case conditions

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

21 years agokeep the parse tree consistent if a binary operator occurs within
André Malo [Mon, 25 Aug 2003 01:46:24 +0000 (01:46 +0000)]
keep the parse tree consistent if a binary operator occurs within
parentheses.

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

21 years agoHa! Wrote this combined tree dumper and consistency checker just for fun.
André Malo [Mon, 25 Aug 2003 00:16:04 +0000 (00:16 +0000)]
Ha! Wrote this combined tree dumper and consistency checker just for fun.

...and saw that the expression parser generates inconsistent trees under
some circumstances. So I've decided that the dumper code may be of public
interest :). The actual bugfixes will follow later.

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

21 years agoReflect backported change into 2.0.48.
Justin Erenkrantz [Mon, 25 Aug 2003 00:13:19 +0000 (00:13 +0000)]
Reflect backported change into 2.0.48.

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

21 years agoFixup IPv6 Listen statements on Linux by attempting to bind in the order
Justin Erenkrantz [Sun, 24 Aug 2003 22:43:36 +0000 (22:43 +0000)]
Fixup IPv6 Listen statements on Linux by attempting to bind in the order
that getaddrinfo() returned to us and skipping binding to IPv4 addresses
if the previous bind was to an IPv6 of the same address and port.

Justin made some style changes, added a (struct in6_addr*) to make it compile
on *BSD as well as an attempt to make the addition of the listener to the list
a little more efficient.

Submitted by: Colm MacCarthaigh <colm@stdlib.net>
Reviewed by: Justin Erenkrantz

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

21 years agotypo
André Malo [Sun, 24 Aug 2003 16:16:36 +0000 (16:16 +0000)]
typo

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

21 years agoreplace is_only_below stuff with apr_filepath_merge. I hope the flags
André Malo [Sun, 24 Aug 2003 16:04:43 +0000 (16:04 +0000)]
replace is_only_below stuff with apr_filepath_merge. I hope the flags
are correct :)

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

21 years agoremove the rest of the artifical string limitations
André Malo [Sun, 24 Aug 2003 00:35:22 +0000 (00:35 +0000)]
remove the rest of the artifical string limitations

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

21 years agocleanup the conditional expression parser for
André Malo [Sun, 24 Aug 2003 00:25:42 +0000 (00:25 +0000)]
cleanup the conditional expression parser for
- improved efficiency and memory footprint
- improved readability
- style
This includes an overhaul of the debugging macros, mostly
that they are not always in the way if one tries to understand
the code ;-)

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

21 years agostyle
André Malo [Sat, 23 Aug 2003 14:22:10 +0000 (14:22 +0000)]
style

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

21 years agocleanup regex stuff. regexps are now handled more graceful
André Malo [Sat, 23 Aug 2003 13:54:17 +0000 (13:54 +0000)]
cleanup regex stuff. regexps are now handled more graceful
(give warnings on out of range or undefined captures).

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

21 years agodon't waste memory, if someone configures another error message or
André Malo [Sat, 23 Aug 2003 03:53:34 +0000 (03:53 +0000)]
don't waste memory, if someone configures another error message or
timeformat during runtime. The common case doesn't need max_string_len
at all and won't be configured more than one or two times.

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

21 years agooverhaul of ap_ssi_parse_string
André Malo [Sat, 23 Aug 2003 03:27:51 +0000 (03:27 +0000)]
overhaul of ap_ssi_parse_string
- improve efficiency and memory footprint (don't use the power-of-two
  allocator)
- allow the combination of out = NULL && length = 0, which means that
  the resulting expansion is unlimited in length

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

21 years agodrop superfluous argument from ap_ssi_parse_string.
André Malo [Fri, 22 Aug 2003 23:14:30 +0000 (23:14 +0000)]
drop superfluous argument from ap_ssi_parse_string.
The new API should now be stable.

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

21 years agocleanup handle_printenv function
André Malo [Fri, 22 Aug 2003 23:03:35 +0000 (23:03 +0000)]
cleanup handle_printenv function

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

21 years agocleanup handle_set function
André Malo [Fri, 22 Aug 2003 22:44:37 +0000 (22:44 +0000)]
cleanup handle_set function

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

21 years agocleanup handle_else and handle_endif functions
André Malo [Fri, 22 Aug 2003 22:03:17 +0000 (22:03 +0000)]
cleanup handle_else and handle_endif functions

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

21 years agocleanup handle_elif function. It now allow only one argument as well.
André Malo [Fri, 22 Aug 2003 21:46:00 +0000 (21:46 +0000)]
cleanup handle_elif function. It now allow only one argument as well.

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

21 years agocleanup handle_if function. It now allow only one expr="..." argument.
André Malo [Fri, 22 Aug 2003 21:35:06 +0000 (21:35 +0000)]
cleanup handle_if function. It now allow only one expr="..." argument.

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

21 years agocleanup handle_flastmod function
André Malo [Fri, 22 Aug 2003 21:16:14 +0000 (21:16 +0000)]
cleanup handle_flastmod function

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

21 years agofix doc typo
Stas Bekman [Fri, 22 Aug 2003 20:57:32 +0000 (20:57 +0000)]
fix doc typo
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoclarify that filter_init_func is used only in the http protocol filters
Stas Bekman [Fri, 22 Aug 2003 20:40:13 +0000 (20:40 +0000)]
clarify that filter_init_func is used only in the http protocol filters
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agocleanup handle_fsize function
André Malo [Fri, 22 Aug 2003 07:40:48 +0000 (07:40 +0000)]
cleanup handle_fsize function

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

21 years agocleanup handle_config function
André Malo [Fri, 22 Aug 2003 05:15:58 +0000 (05:15 +0000)]
cleanup handle_config function

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

21 years agocleanup handle_echo function
André Malo [Fri, 22 Aug 2003 04:54:59 +0000 (04:54 +0000)]
cleanup handle_echo function

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

21 years agocleanup handle_include function.
André Malo [Fri, 22 Aug 2003 04:34:07 +0000 (04:34 +0000)]
cleanup handle_include function.
- use new ctx->argc member
- simplify code nesting and improve readability

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

21 years ago- clean up configuration routines
André Malo [Fri, 22 Aug 2003 02:46:46 +0000 (02:46 +0000)]
- clean up configuration routines
- give bndm a neater interface
- naming style improvements

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

21 years agothese should be const.
André Malo [Fri, 22 Aug 2003 02:23:41 +0000 (02:23 +0000)]
these should be const.

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

21 years agobefore working further, bring some kind of system into the stuff
André Malo [Fri, 22 Aug 2003 00:15:28 +0000 (00:15 +0000)]
before working further, bring some kind of system into the stuff
and (re-)order the code. That should finally improve readability...

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

21 years agofurther cleanup. No *real* code change. (mostly macro cleanup)
André Malo [Thu, 21 Aug 2003 23:29:21 +0000 (23:29 +0000)]
further cleanup. No *real* code change. (mostly macro cleanup)

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

21 years agoadjust mod_cgi and mod_cgid
André Malo [Thu, 21 Aug 2003 22:12:08 +0000 (22:12 +0000)]
adjust mod_cgi and mod_cgid
bump MMN for API change.

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

21 years agobump mod_include's external API. The API is now more simple and expected
André Malo [Thu, 21 Aug 2003 22:01:34 +0000 (22:01 +0000)]
bump mod_include's external API. The API is now more simple and expected
to be better extensible without breaking binary compatibility, since an
opaque pointer to internal structures is part of the public context.
(We can easily add APi functions that operate on this internal struct).

I've tried to keep this change as small as possible - sorry for the big
diff though, but the commit should be atomic. mod_cgi and mod_cgid won't
compile until the next commit, anyway.

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

21 years agoinclude_cmd doesn't imply the CGI interface. That code seems to be
André Malo [Wed, 20 Aug 2003 22:47:52 +0000 (22:47 +0000)]
include_cmd doesn't imply the CGI interface. That code seems to be
a c&p accident.

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

21 years agonow drop the old code
André Malo [Wed, 20 Aug 2003 16:41:27 +0000 (16:41 +0000)]
now drop the old code

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

21 years agomajor overhaul of mod_include's filter parser. Note that the new code
André Malo [Wed, 20 Aug 2003 16:27:18 +0000 (16:27 +0000)]
major overhaul of mod_include's filter parser. Note that the new code
contains a thin wrapper to ensure binary compatibility. (needed for
2.0 backport).

This is a two-tiered commit for better diffs. This one inserts the new
code (old code #if'd out).

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