]> granicus.if.org Git - apache/log
apache
21 years agoBackport done.
Thom May [Mon, 29 Sep 2003 12:12:19 +0000 (12:12 +0000)]
Backport done.

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

21 years agoSwitch to the new 32-bit APR atomic API for better portability
Brian Pane [Mon, 29 Sep 2003 03:58:41 +0000 (03:58 +0000)]
Switch to the new 32-bit APR atomic API for better portability
(the old code assumed that apr_atomic_t and apr_uint32_t were interchangeable).
Also, add more detailed comments on how one of the synchronization
functions works.

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

21 years agoSetting lr = NULL on line 399 leads the the loop
Cliff Woolley [Sun, 28 Sep 2003 16:30:43 +0000 (16:30 +0000)]
Setting lr = NULL on line 399 leads the the loop
closing early (see line 343) and the ap_listeners list being
nonsense.

End result is a segfault if something is already listening on ::
on our port when httpd is started.

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

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

21 years ago"Listen 80" just works now, using v4-only, v6-only, mapped address
Cliff Woolley [Sun, 28 Sep 2003 16:27:24 +0000 (16:27 +0000)]
"Listen 80" just works now, using v4-only, v6-only, mapped address
or non-mapped address.

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

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

21 years agoThere is no longer any need for different Listen directives to
Cliff Woolley [Sun, 28 Sep 2003 16:23:47 +0000 (16:23 +0000)]
There is no longer any need for different Listen directives to
use mapped/non-mapped addresses.  Also cleared up that not all
platforms support v6-only sockets.

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

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

21 years agodocument linux TCP checksum offloading bugs.
Cliff Woolley [Sun, 28 Sep 2003 16:21:43 +0000 (16:21 +0000)]
document linux TCP checksum offloading bugs.

submitted by: Colm MacCarthaigh <colm@stdlib.net>

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

21 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:47:41 +0000 (18:47 +0000)]
* CHANGES

  Update to account for backport.

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

21 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:35:31 +0000 (18:35 +0000)]
* CHANGES

  Update to account for backport.

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

21 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:25:24 +0000 (18:25 +0000)]
* CHANGES

  Update to account for backport.

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

21 years ago* CHANGES
Sander Striker [Sat, 27 Sep 2003 18:18:12 +0000 (18:18 +0000)]
* CHANGES

  Update to account for backport.

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

21 years agochange some error log messages to be more concise
Jeff Trawick [Thu, 25 Sep 2003 20:50:26 +0000 (20:50 +0000)]
change some error log messages to be more concise

Submitted by: Bill Rowe

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

21 years agoLog an error when requests for URIs which fail to map to a valid
Jeff Trawick [Thu, 25 Sep 2003 16:00:56 +0000 (16:00 +0000)]
Log an error when requests for URIs which fail to map to a valid
filesystem name are rejected with 403.

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

21 years agoThe problem that this patch solves is one where cookie names are mis-identified
Cliff Woolley [Tue, 23 Sep 2003 22:40:23 +0000 (22:40 +0000)]
The problem that this patch solves is one where cookie names are mis-identified
by mod_usertrack. This is because of the use of strstr() in spot_cookie() the
original mod_usertrack.c to find the name of the cookie. strstr(), by virtue of
looking for a substring instead of an exact match, can mis-identify the cookie
"MyID" as the cookie "ID" or "My". So, if you were looking for the value of the
cookie "ID", but only the cookie "MyID" was returned by the browser,
mod_usertrack.c would return the value of the "MyID" cookie in place of the
"ID" you were looking for.

Even more seriously, because strstr is invoked before the cookie name is
separated from its cookie value, a cookie and value like
"myCookie=thisisnotIDeal" will be a false positive if you told mod_usertrack
the cookie name was ID. Furthermore, using this example, "eal" will get logged
as the value of the cookie; now that strstr has incorrectly identified the
substring "ID" as the cookie name, the following "e" (assumed to be the "="
sign) gets discarded, and the remaining content used as the value of
the cookie.

Replacing the strstr() with a more robust regex match fixes this problem.

PR:    16661
Submitted by:   Manni Wood <manniwood@planet-save.com>

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

21 years ago SSL-C doesn't declare the char* file arg const, so we shouldn't either.
William A. Rowe Jr [Mon, 22 Sep 2003 19:26:21 +0000 (19:26 +0000)]
  SSL-C doesn't declare the char* file arg const, so we shouldn't either.

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

21 years agoFix mod_info to use the real config file name, not the default
Jeff Trawick [Fri, 19 Sep 2003 20:02:04 +0000 (20:02 +0000)]
Fix mod_info to use the real config file name, not the default
config file name.

Submitted by:   Aryeh Katz <aryeh@secured-services.com>
Reviewed by:    G�nter Knauf, Jeff Trawick

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

21 years agothis won't work with 5.003, so bump up the require to
Jeff Trawick [Fri, 19 Sep 2003 19:55:16 +0000 (19:55 +0000)]
this won't work with 5.003, so bump up the require to
5.004:

  my $cntopen = () = ($before =~ m|^\s*<[^/].*$|mg);

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

21 years agoRevert nd's standard vs. draft changes.
Erik Abele [Fri, 19 Sep 2003 14:58:04 +0000 (14:58 +0000)]
Revert nd's standard vs. draft changes.

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

21 years agoSilly me and my tabs.
Jason S. Lingohr [Fri, 19 Sep 2003 12:22:58 +0000 (12:22 +0000)]
Silly me and my tabs.

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

21 years agoCorrections/fixes & transformation update.
Jason S. Lingohr [Fri, 19 Sep 2003 10:41:09 +0000 (10:41 +0000)]
Corrections/fixes & transformation update.

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

21 years agoRFC 2617 is standard, not draft
André Malo [Thu, 18 Sep 2003 20:57:12 +0000 (20:57 +0000)]
RFC 2617 is standard, not draft

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

21 years agobring german sitemap up to date
André Malo [Thu, 18 Sep 2003 20:44:24 +0000 (20:44 +0000)]
bring german sitemap up to date

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

21 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

21 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

21 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

21 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

21 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

21 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