]>
granicus.if.org Git - apache/log
André Malo [Fri, 10 Oct 2003 18:22:55 +0000 (18:22 +0000)]
do sync.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101403
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 10 Oct 2003 09:19:12 +0000 (09:19 +0000)]
add map_to_storage hook to mod_example
Submitted by: Geoffrey Young <geoff@modperlcookbook.org>
Reviewed by: Jeff Trawick
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101397
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 10 Oct 2003 03:50:58 +0000 (03:50 +0000)]
fix a typo
PR: 23713
Submitted by: millenix@zemos.net
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101394
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 2 Oct 2003 11:58:57 +0000 (11:58 +0000)]
mod_cgid: fix a hash table corruption problem which could
result in the wrong script being cleaned up at the end of a
request.
Unique storage was not used for the key, as the code assumed
incorrectly that apr_hash_set() made a copy of the key. Thus,
when the script pid was looked up at the end of the request,
some other script's pid could be found.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101374
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 30 Sep 2003 22:01:34 +0000 (22:01 +0000)]
Check to make sure that the file name is not NULL before passing it to the
strncmp() function. At least on NetWare this prevents the strncmp() function
from faulting and also brings the code into sync with similar checks for a NULL
file name before calling strncmp() in other areas of this file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101361
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Tue, 30 Sep 2003 17:45:54 +0000 (17:45 +0000)]
Update as a result of a backport.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101359
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Tue, 30 Sep 2003 15:22:41 +0000 (15:22 +0000)]
Match type of both arguments (get rid of compiler warning) in x ? y : z expression
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101357
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Tue, 30 Sep 2003 09:30:06 +0000 (09:30 +0000)]
Cosmetics: remove redundancy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101356
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Tue, 30 Sep 2003 08:21:04 +0000 (08:21 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101354
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Tue, 30 Sep 2003 08:15:36 +0000 (08:15 +0000)]
Typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101353
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Mon, 29 Sep 2003 21:13:27 +0000 (21:13 +0000)]
Update to document a completed backport
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101352
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 29 Sep 2003 14:03:37 +0000 (14:03 +0000)]
make sure we have prototype for strcasecmp()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101344
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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