]> granicus.if.org Git - apache/log
apache
20 years agoAdd support to mod_ssl for a distributed session cache using
Joe Orton [Thu, 8 Jan 2004 16:26:53 +0000 (16:26 +0000)]
Add support to mod_ssl for a distributed session cache using
distcache.

* LAYOUT: Update for removal of scache_shmht and addition of scache_dc.

* modules/ssl/config.m4: Check for libdistcache; build ssl_scache_dc.lo.

* modules/ssl/mod_ssl.dsp: Build ssl_scache_dc (with luck).

* modules/ssl/mod_ssl.h: Add SSL_SCMODE_DC and scache_dc_* prototypes.

* modules/ssl/ssl_engine_config.c (ssl_cmd_SSLSessionCache): Allow
use of dc: argument.

* modules/ssl/ssl_scache_dc.c: New file.

* modules/ssl/ssl_scache.c (ssl_scache_init, ssl_scache_kill,
ssl_scache_store, ssl_scache_retrieve, ssl_scache_remove,
ssl_ext_status_hook): Hook into scache_dc.

Submitted by: Geoff Thorpe <geoff@geoffthorpe.net>

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

20 years agoAdd some brackets.
Joe Orton [Thu, 8 Jan 2004 13:11:37 +0000 (13:11 +0000)]
Add some brackets.

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

20 years ago* modules/dav/main/mod_dav.c (dav_handler): Reject request if the
Joe Orton [Thu, 8 Jan 2004 13:08:57 +0000 (13:08 +0000)]
* modules/dav/main/mod_dav.c (dav_handler): Reject request if the
Request-URI includes a fragment part, i.e. an unescaped #.

PR: 21779
Submitted by: Amit Athavale <amit_athavale@lycos.com>

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

20 years agoFix for Bug 21287.
Jean-Jacques Clar [Wed, 7 Jan 2004 19:35:16 +0000 (19:35 +0000)]
Fix for  Bug 21287.
Patch extracted and modified from attachment in Bug 21285.
The submitted patch was combining fix for 21285 and 21287.
It is extending the mutex protection in decrement_refcount() and remove_url().

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

20 years agoSynching with 2.0 branch after backport.
Paul J. Reder [Wed, 7 Jan 2004 02:51:28 +0000 (02:51 +0000)]
Synching with 2.0 branch after backport.

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

20 years agoremoved deprecated fields cache_size and object_cnt in mem_cache_conf struct
Jean-Jacques Clar [Tue, 6 Jan 2004 21:57:50 +0000 (21:57 +0000)]
removed deprecated fields cache_size and object_cnt in mem_cache_conf struct

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

20 years agoremove email address in the hopes ppl stop emailing me directly ;(
Ian Holsman [Tue, 6 Jan 2004 21:50:58 +0000 (21:50 +0000)]
remove email address in the hopes ppl stop emailing me directly ;(

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

20 years agoRemoved the #if #system(bs2000) condition since it is not compiler friendly on all...
Bradley Nicholes [Tue, 6 Jan 2004 18:59:23 +0000 (18:59 +0000)]
Removed the #if #system(bs2000) condition since it is not compiler friendly on all compilers (it breaks under Metrowerks on NetWare) but kept the patch that it contained.  Validated the patch that moves opening of the xlation table from the fix-up stage to the output filter and it all seemed to work fine.

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

20 years agoMinor fix...
Erik Abele [Tue, 6 Jan 2004 04:48:30 +0000 (04:48 +0000)]
Minor fix...

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

20 years agoMention Polish error messages in corresponding README.
Erik Abele [Tue, 6 Jan 2004 04:36:20 +0000 (04:36 +0000)]
Mention Polish error messages in corresponding README.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoCorrect SSLProxyMachineCertificatePath and SSLProxyMachineCertificateFile -
Mads Toftum [Mon, 5 Jan 2004 21:14:19 +0000 (21:14 +0000)]
Correct SSLProxyMachineCertificatePath and SSLProxyMachineCertificateFile -
the previous description looked like it was copied from SSLProxyCA*
Also add a warning about not using encrypted keys in those two.

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

20 years agoUndo last change in order not to break Netware builds...
Martin Kraemer [Mon, 5 Jan 2004 11:12:03 +0000 (11:12 +0000)]
Undo last change in order not to break Netware builds...

PR:

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

20 years agoImprove help for --enable-modules= and --enable-mods-shared= by showing the alternati...
Martin Kraemer [Mon, 5 Jan 2004 10:48:32 +0000 (10:48 +0000)]
Improve help for --enable-modules= and --enable-mods-shared= by showing the alternative 'all' and 'most' meta-module

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

20 years agoap_log_error() prints its own newline, so none is needed. Instead, the \\n was escape...
Martin Kraemer [Mon, 5 Jan 2004 10:37:25 +0000 (10:37 +0000)]
ap_log_error() prints its own newline, so none is needed. Instead, the \\n was escaped and produced an ugly output

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

20 years agoPR:
Martin Kraemer [Mon, 5 Jan 2004 10:34:07 +0000 (10:34 +0000)]
PR:

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

20 years agoUgly hack to get this module to compile. The path to test_char.h (which
Martin Kraemer [Mon, 5 Jan 2004 10:33:52 +0000 (10:33 +0000)]
Ugly hack to get this module to compile. The path to test_char.h (which
lives in the server/ directory) must either be added to one of the build/*.m4
files --which would be even uglier--, to the modules/logger/Makefile, or
to the modules/loggers/mod_log_forensic.c file itself. For now, put it here.

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

20 years agoUpdate German translation to English rev 1.32
Erik Abele [Sun, 4 Jan 2004 22:37:09 +0000 (22:37 +0000)]
Update German translation to English rev 1.32

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

20 years agoSync comments with STATUS/2.0
Erik Abele [Sun, 4 Jan 2004 15:08:00 +0000 (15:08 +0000)]
Sync comments with STATUS/2.0

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoMove SSLRandomSeed out of the <IfDefine SSL> container to support
Erik Abele [Sun, 4 Jan 2004 15:04:54 +0000 (15:04 +0000)]
Move SSLRandomSeed out of the <IfDefine SSL> container to support
starting without SSL on platforms with no /dev/random equivalent
but a statically compiled-in mod_ssl. See PR: 25867

Submitted by: Rob Meyer <rob bigdis.com>

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

20 years agoRemove unnecessary comments about uncompleted documentation.
Erik Abele [Sun, 4 Jan 2004 14:53:30 +0000 (14:53 +0000)]
Remove unnecessary comments about uncompleted documentation.

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

20 years ago* modules/filters/config.m4: Fix typo which wiped INCLUDES if zlib
Joe Orton [Sun, 4 Jan 2004 03:05:24 +0000 (03:05 +0000)]
* modules/filters/config.m4: Fix typo which wiped INCLUDES if zlib
detection failed.

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

20 years agoback out the latex/pdf stuff
André Malo [Sat, 3 Jan 2004 22:28:27 +0000 (22:28 +0000)]
back out the latex/pdf stuff

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

20 years agoput resulting stuff into the _dist directory
André Malo [Sat, 3 Jan 2004 21:57:38 +0000 (21:57 +0000)]
put resulting stuff into the _dist directory

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

20 years agoput the resulting file not into the parent directory
André Malo [Sat, 3 Jan 2004 21:53:00 +0000 (21:53 +0000)]
put the resulting file not into the parent directory

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

20 years agosingle char replacement can be done with translate()
André Malo [Sat, 3 Jan 2004 21:45:03 +0000 (21:45 +0000)]
single char replacement can be done with translate()

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

20 years ago* modules/loggers/config.m4: Add 'server' directory to include path if
Joe Orton [Sat, 3 Jan 2004 20:15:59 +0000 (20:15 +0000)]
* modules/loggers/config.m4: Add 'server' directory to include path if
mod_log_forensic is enabled.

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

20 years agoAdd mod_log_forensic to the NetWare standard httpd.conf file
Bradley Nicholes [Sat, 3 Jan 2004 19:41:38 +0000 (19:41 +0000)]
Add mod_log_forensic to the NetWare standard httpd.conf file

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

20 years agoAdd mod_log_forensic to the NetWare build
Bradley Nicholes [Sat, 3 Jan 2004 19:40:33 +0000 (19:40 +0000)]
Add mod_log_forensic to the NetWare build

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

20 years agoDon't hardcode the location of the test_char.h header. The path should be added...
Bradley Nicholes [Sat, 3 Jan 2004 19:18:53 +0000 (19:18 +0000)]
Don't hardcode the location of the test_char.h header.  The path should be added to the INCLUDE path.  Also, use the apr_uint32_t type for next_id which is compatible with the apr_atomic functions.

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

20 years agoMake handling of 0 back compatible.
Ben Laurie [Sat, 3 Jan 2004 17:29:57 +0000 (17:29 +0000)]
Make handling of 0 back compatible.

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

20 years agomod_logio is not compiled by default.
Yoshiki Hayashi [Sat, 3 Jan 2004 16:55:37 +0000 (16:55 +0000)]
mod_logio is not compiled by default.

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

20 years agotypo
Ben Laurie [Sat, 3 Jan 2004 16:36:05 +0000 (16:36 +0000)]
typo

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

20 years agoMake forensic logging safe for POST data. The issue with strchr and NUL is
Ben Laurie [Sat, 3 Jan 2004 16:31:32 +0000 (16:31 +0000)]
Make forensic logging safe for POST data. The issue with strchr and NUL is
a red herring.

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

20 years agoUpdate mod_example documentation to match 2.1 state.
Yoshiki Hayashi [Sat, 3 Jan 2004 16:19:42 +0000 (16:19 +0000)]
Update mod_example documentation to match 2.1 state.

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

20 years agoAdd missing apr_ to size_t.
Erik Abele [Sat, 3 Jan 2004 16:02:15 +0000 (16:02 +0000)]
Add missing apr_ to size_t.

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

20 years ago* support/ab.c (write_request): Fix gcc warning at -O2 in USE_SSL
Joe Orton [Sat, 3 Jan 2004 15:58:19 +0000 (15:58 +0000)]
* support/ab.c (write_request): Fix gcc warning at -O2 in USE_SSL
build.

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

20 years ago* modules/loggers/mod_log_forensic.c (struct hlog, log_before,
Joe Orton [Sat, 3 Jan 2004 15:49:57 +0000 (15:49 +0000)]
* modules/loggers/mod_log_forensic.c (struct hlog, log_before,
log_after): Use apr_size_t for storing string sizes.

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

20 years agoMake forensic logging EBCDIC-safe.
Ben Laurie [Sat, 3 Jan 2004 15:33:41 +0000 (15:33 +0000)]
Make forensic logging EBCDIC-safe.

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

20 years agoUse ap_assert().
Ben Laurie [Sat, 3 Jan 2004 14:35:21 +0000 (14:35 +0000)]
Use ap_assert().

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

20 years agoleading <!--# is one token
André Malo [Sat, 3 Jan 2004 13:40:19 +0000 (13:40 +0000)]
leading <!--# is one token

PR: 25875

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

20 years agofix a rewrite mistake: restore the ability to expand variables within
André Malo [Fri, 2 Jan 2004 23:45:06 +0000 (23:45 +0000)]
fix a rewrite mistake: restore the ability to expand variables within
<!--include file...-->.

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

20 years ago* configure.in: Check for sqrt in libm (needed by ab).
Joe Orton [Fri, 2 Jan 2004 23:42:47 +0000 (23:42 +0000)]
* configure.in: Check for sqrt in libm (needed by ab).

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

20 years agoprevent module from segfaulting when not configured.
André Malo [Fri, 2 Jan 2004 23:35:59 +0000 (23:35 +0000)]
prevent module from segfaulting when not configured.

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

20 years agoremove superfluous assignment
André Malo [Fri, 2 Jan 2004 23:35:05 +0000 (23:35 +0000)]
remove superfluous assignment

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

20 years agoupdate transformation
André Malo [Fri, 2 Jan 2004 00:25:52 +0000 (00:25 +0000)]
update transformation

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

20 years agoAdd forensic logging.
Ben Laurie [Thu, 1 Jan 2004 15:39:30 +0000 (15:39 +0000)]
Add forensic logging.

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

20 years agoupdate tranformation
André Malo [Thu, 1 Jan 2004 14:22:09 +0000 (14:22 +0000)]
update tranformation

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

20 years agoupdate license to 2004.
André Malo [Thu, 1 Jan 2004 13:26:26 +0000 (13:26 +0000)]
update license to 2004.

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

20 years agoupdate license and copyright to 2004.
André Malo [Thu, 1 Jan 2004 13:20:08 +0000 (13:20 +0000)]
update license and copyright to 2004.

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

20 years agoadd _tools directory
André Malo [Mon, 29 Dec 2003 23:07:53 +0000 (23:07 +0000)]
add _tools directory

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

20 years agoDon't use tabs.
Ben Laurie [Mon, 29 Dec 2003 12:59:02 +0000 (12:59 +0000)]
Don't use tabs.

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

20 years agosync with stable branch
Jeff Trawick [Sat, 27 Dec 2003 13:47:37 +0000 (13:47 +0000)]
sync with stable branch

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

20 years agoSync with 2.0.49-dev
Justin Erenkrantz [Sat, 27 Dec 2003 07:46:10 +0000 (07:46 +0000)]
Sync with 2.0.49-dev

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

20 years agofix mispelling of "happened"
Jeff Trawick [Tue, 23 Dec 2003 13:13:58 +0000 (13:13 +0000)]
fix mispelling of "happened"

PR:        25714
Submitted by: P.M. <millenix zemos.net>
Reviewed by:  Jeff Trawick

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

20 years agoBring mod_status document up to date. This change was discussed back in
Yoshiki Hayashi [Fri, 19 Dec 2003 06:30:23 +0000 (06:30 +0000)]
Bring mod_status document up to date.  This change was discussed back in
June but I've never got around to do it until now.

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

20 years agoSync Japanese translation.
Yoshiki Hayashi [Fri, 19 Dec 2003 05:42:44 +0000 (05:42 +0000)]
Sync Japanese translation.

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

20 years agoFix grammatical errors.
Yoshiki Hayashi [Fri, 19 Dec 2003 05:30:30 +0000 (05:30 +0000)]
Fix grammatical errors.

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

20 years agoCorrect a grammatical error.
Yoshiki Hayashi [Fri, 19 Dec 2003 05:29:59 +0000 (05:29 +0000)]
Correct a grammatical error.

Suggested by: Michael Schroepl

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

20 years agoFix segfault in mod_mem_cache when caching streaming dynamic content.
Bill Stoddard [Thu, 18 Dec 2003 21:22:41 +0000 (21:22 +0000)]
Fix segfault in mod_mem_cache when caching streaming dynamic content.

PR: 21285, 21287

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

20 years agoAdd Polish translation of error messages.
Jeff Trawick [Thu, 18 Dec 2003 15:29:41 +0000 (15:29 +0000)]
Add Polish translation of error messages.

PR:             25101
Submitted by: Tomasz Kepczynski <tomek jot23.org>
Reviewed by: Jeff Trawick

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

20 years agoadd support for querying MPM state to ap_mpm_query() for the WinNT MPM
Jeff Trawick [Wed, 17 Dec 2003 02:16:44 +0000 (02:16 +0000)]
add support for querying MPM state to ap_mpm_query() for the WinNT MPM

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

20 years agoAdded mpm_state to ap_mpm_query() for the NetWare MPM
Bradley Nicholes [Tue, 16 Dec 2003 20:55:04 +0000 (20:55 +0000)]
Added mpm_state to ap_mpm_query() for the NetWare MPM

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

20 years agoFix the initial cache structure allocation. Since we are calling util_ald_create_cac...
Bradley Nicholes [Tue, 16 Dec 2003 20:20:09 +0000 (20:20 +0000)]
Fix the initial cache structure allocation.  Since we are calling util_ald_create_cache() to create a util_ald_cache_t structure, we can't use util_ald_alloc() to alloc the memory because we don't have a structure to allocate from yet.

Submitted by: Matthieu Estrade [apache@moresecurity.org]
Reviewed by: Brad Nicholes

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

20 years agoWin32: Rename WindowsSocketsWorkaround directive to Win32DisableAcceptEx.
Bill Stoddard [Mon, 15 Dec 2003 23:19:14 +0000 (23:19 +0000)]
Win32: Rename WindowsSocketsWorkaround directive to Win32DisableAcceptEx.
Clean up code paths.

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

20 years agoPick up declaration for insert_error_filter hook
Bill Stoddard [Mon, 15 Dec 2003 23:04:44 +0000 (23:04 +0000)]
Pick up declaration for insert_error_filter hook

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

20 years agomod_proxy with ProxyErrorOverride On in a reverse-proxy configuration attaches
Ian Holsman [Mon, 15 Dec 2003 23:04:40 +0000 (23:04 +0000)]
mod_proxy with ProxyErrorOverride On in a reverse-proxy configuration attaches
a body to the 302 response and a wrong Content-Length header.

PR: 22951
Submitted by: Ermanno Scaglione <scaglione ..at.. starnetone.de>
Reviewed by: Blaise Tarr <blaise.tarr .. at .. cnet.com>

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

20 years agoAllow retention of header fields on non-200 responses
Ken Coar [Mon, 15 Dec 2003 19:59:23 +0000 (19:59 +0000)]
Allow retention of header fields on non-200 responses

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

20 years agoWe need the error strings loaded as early as possible
Martin Kraemer [Mon, 15 Dec 2003 14:30:12 +0000 (14:30 +0000)]
We need the error strings loaded as early as possible

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

20 years agoFlame bait: mod_charset_lite would decide in the mime checker phase
Martin Kraemer [Mon, 15 Dec 2003 14:24:31 +0000 (14:24 +0000)]
Flame bait: mod_charset_lite would decide in the mime checker phase
whether a conversion was required, and would stick with that decision,
even if a later handler (like CGI script) would modify the actual
MIME type returned in the response. That was fatal when an EBCDIC
machine was going to return, say, an image/gif (because the initial
MIME type would be text/plain, and only later on be set to image/gif).
But even for "ordinary" ASCII-based machines the conversion fails
if a CGI script decides to return UTF-16 data.
At the moment the following change is #if #system(bs2000), but IMHO
it should be enabled globally: I moved the conversion decision into
the filter itself (because it is the handler which does the final
decision which MIME time is tagged on the response, and we can only
evaluate its decision after it started the output generation).

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

20 years agoMention in the comment that we expect a _space_separated_ list of module
Martin Kraemer [Mon, 15 Dec 2003 14:11:35 +0000 (14:11 +0000)]
Mention in the comment that we expect a _space_separated_ list of module
names. Translate '-' to '_' so that the shell does not complain about
invalid variable names.

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

20 years agoswitch to APR 1.0 other-child API
Jeff Trawick [Mon, 15 Dec 2003 12:38:50 +0000 (12:38 +0000)]
switch to APR 1.0 other-child API

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

20 years agoget mod_ssl.dsp to load again
Jeff Trawick [Mon, 15 Dec 2003 11:35:34 +0000 (11:35 +0000)]
get mod_ssl.dsp to load again
(we *x weenies have to be careful :) )

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

20 years agosync
André Malo [Sun, 14 Dec 2003 17:34:18 +0000 (17:34 +0000)]
sync

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

20 years agofix docco
André Malo [Sun, 14 Dec 2003 16:34:18 +0000 (16:34 +0000)]
fix docco

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

20 years agosync with stable branch
Jeff Trawick [Sun, 14 Dec 2003 00:54:28 +0000 (00:54 +0000)]
sync with stable branch

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

20 years agoFix some piped log problems: bogus "piped log program '(null)'
Jeff Trawick [Sat, 13 Dec 2003 22:18:13 +0000 (22:18 +0000)]
Fix some piped log problems: bogus "piped log program '(null)'
failed" messages during restart and problem with the logger
respawning again after Apache is stopped.

PR:                21648, 24805

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

20 years agoremove inadvertent commit of clumsy gdb workaround (sorry!)
Jeff Trawick [Sat, 13 Dec 2003 19:43:40 +0000 (19:43 +0000)]
remove inadvertent commit of clumsy gdb workaround (sorry!)

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

20 years agochange the way the cgid daemon restart logic determines whether
Jeff Trawick [Sat, 13 Dec 2003 19:09:00 +0000 (19:09 +0000)]
change the way the cgid daemon restart logic determines whether
or not the MPM is still running...   now it works with prefork
MPM too

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

20 years agoupdate leader, threadpool, and worker MPMs to return MPM state
Jeff Trawick [Sat, 13 Dec 2003 19:00:56 +0000 (19:00 +0000)]
update leader, threadpool, and worker MPMs to return MPM state
from ap_mpm_query()

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

20 years agoupdate threadpool MPM to build and appear to work with the current APR
Jeff Trawick [Sat, 13 Dec 2003 18:25:57 +0000 (18:25 +0000)]
update threadpool MPM to build and appear to work with the current APR
pollset API

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

20 years agoupdate leader MPM to build and appear to work with the current APR
Jeff Trawick [Sat, 13 Dec 2003 15:46:09 +0000 (15:46 +0000)]
update leader MPM to build and appear to work with the current APR
pollset API

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

20 years agofix the name of the failing API call in a log message
Jeff Trawick [Sat, 13 Dec 2003 15:43:19 +0000 (15:43 +0000)]
fix the name of the failing API call in a log message

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

20 years agofix cut-n-paste errors in the logging of the current hook
Jeff Trawick [Sat, 13 Dec 2003 15:41:33 +0000 (15:41 +0000)]
fix cut-n-paste errors in the logging of the current hook

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

20 years ago *) Add a hook (insert_error_filter) to allow filters to re-insert
Paul J. Reder [Fri, 12 Dec 2003 17:03:59 +0000 (17:03 +0000)]
  *) Add a hook (insert_error_filter) to allow filters to re-insert
     themselves during processing of error responses. Enable mod_expires
     to use the new hook to include Expires headers in valid error
     responses. This addresses an RFC violation. It fixes PRs 19794,
     24884, and 25123. [Paul J. Reder]

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

20 years agoFix format string warnings from gcc on amd64:
Joe Orton [Fri, 12 Dec 2003 12:36:50 +0000 (12:36 +0000)]
Fix format string warnings from gcc on amd64:

* modules/ssl/ssl_scache_dbm.c (ssl_scache_dbm_store):
Print apr_size_t using APR_SIZE_T_FMT.

* modules/ssl/ssl_engine_io.c (ssl_filter_write): Print difference
between sizes using APR_SSIZE_T_FMT, apr_size_t using APR_SIZE_T_FMT.

* modules/proxy/proxy_http.c (ap_proxy_http_request): Print
apr_uint64_t using APR_UINT64_T_HEX_FMT.

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

20 years agoIf you ignore a problem long enough, it'll be fixed by someone else.
Justin Erenkrantz [Fri, 12 Dec 2003 10:24:59 +0000 (10:24 +0000)]
If you ignore a problem long enough, it'll be fixed by someone else.

FreeBSD 5.2-RC with either libthr or libkse enabled (instead of the default
libc_r) is confirmed to be operational with the worker MPM.  Add notes to
STATUS and README.platforms (as there is now an upgrade path that may be
reasonable for those needing threads).

[No soak tests run, but it serves pages - which is an improvement over before]

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

20 years agofix a problem where a crash of a non-MPM child process could
Jeff Trawick [Thu, 11 Dec 2003 19:05:30 +0000 (19:05 +0000)]
fix a problem where a crash of a non-MPM child process could
result in an error log message stating that the parent had
crashed

the problem, which affected all *X platforms, was due to an
attempt to support the general problem with linuxthreads;
this change leaves us with a relatively obscure hole when
running on linuxthreads (see comments)

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

20 years agoTypo, see PR#25420
Erik Abele [Thu, 11 Dec 2003 02:45:38 +0000 (02:45 +0000)]
Typo, see PR#25420

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

20 years agoWin32: Tweak MaxMemFree patch. Allocate ptrans specifying pchild
Bill Stoddard [Thu, 11 Dec 2003 02:10:29 +0000 (02:10 +0000)]
Win32: Tweak MaxMemFree patch. Allocate ptrans specifying pchild
as the parent pool as we did prior to the MaxMemFree patch.

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

20 years agoFix <Limit> and <LimitExcept> parsing to require a closing '>'
Jeff Trawick [Wed, 10 Dec 2003 22:40:33 +0000 (22:40 +0000)]
Fix <Limit> and <LimitExcept> parsing to require a closing '>'
in the initial container.

PR:                25414
Submitted by:    Geoffrey Young <geoff apache.org>]
Reviewed by:    Jeff Trawick

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

20 years agoadd new MPM query -- AP_MPMQ_MPM_STATE -- to find out what the MPM
Jeff Trawick [Wed, 10 Dec 2003 20:45:09 +0000 (20:45 +0000)]
add new MPM query -- AP_MPMQ_MPM_STATE -- to find out what the MPM
is doing

work-in-progress; not so useful until other MPMs support it

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

20 years agoFix memory leak in handling of request bodies during reverse
Jeff Trawick [Wed, 10 Dec 2003 19:26:15 +0000 (19:26 +0000)]
Fix memory leak in handling of request bodies during reverse
proxy operations.

PR:      24991
Submitted by: Larry Toppi <larry.toppi citrix.com>
Reviewed by:  Jeff Trawick

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

20 years agoSynching with 2.0 branch after backport.
Paul J. Reder [Wed, 10 Dec 2003 16:49:59 +0000 (16:49 +0000)]
Synching with 2.0 branch after backport.

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

20 years agoFix ab's SSL support a little:
Joe Orton [Wed, 10 Dec 2003 16:08:44 +0000 (16:08 +0000)]
Fix ab's SSL support a little:

* support/ab.c (ssl_*): Fix function prototypes througout.
(test): Use correct connection structure when using SSL.

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

20 years ago* server/Makefile.in: Revert changes to use an absolute path to
Joe Orton [Wed, 10 Dec 2003 15:59:16 +0000 (15:59 +0000)]
* server/Makefile.in: Revert changes to use an absolute path to
exports.c in some (but not all) places, and subsequent fallout.

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

20 years ago* server/main.c (suck_in_expat): Remove function, USE_EXPAT is never
Joe Orton [Wed, 10 Dec 2003 13:43:14 +0000 (13:43 +0000)]
* server/main.c (suck_in_expat): Remove function, USE_EXPAT is never
defined.

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

20 years agobackported to 2.0.49
Stas Bekman [Wed, 10 Dec 2003 08:51:27 +0000 (08:51 +0000)]
backported to 2.0.49
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago"Thanks for checking in the changes to mod_mem_cache.
Cliff Woolley [Wed, 10 Dec 2003 03:22:32 +0000 (03:22 +0000)]
"Thanks for checking in the changes to mod_mem_cache.
 I think there is a piece missing to that fixe;
 the adjustment of the queue_clock value in cache_cache.c
 (cache_insert()):
 Sorry about not finding/pointing that out before asking you to check in
 mod_mem_cache changes:

 queue_clock is initialized to 0 when initializing the cache.
 Based on the current conditional test (cache_cache.c, line 164):
 ----------------------------------------

        priority = c->get_pri(ejected);

        if (c->queue_clock < priority)
            c->queue_clock = priority;

 ----------------------------------------

 and the fact that the new get_pri() function return a negative value,
 queue_clock will NEVER be adjusted with the ejected element priority.
 This is a patch that should fix that problem:"

Submitted by: Jean-Jacques Clar
Generally glanced at by: Cliff Woolley (+1 on concept)
     (better to get it in there than to
      wait around for a year before I get
      a chance to really test it)

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

20 years agoupdate the misconfigured INCLUDES skipping code to remove itself, so it'd complain
Stas Bekman [Wed, 10 Dec 2003 02:30:21 +0000 (02:30 +0000)]
update the misconfigured INCLUDES skipping code to remove itself, so it'd complain
only once
PR:
Obtained from:
Submitted by:
Reviewed by: Jeff Trawick, Bill Rowe

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

20 years agoForward port Spanish error message improvement from 2.0.
Yoshiki Hayashi [Wed, 10 Dec 2003 01:38:41 +0000 (01:38 +0000)]
Forward port Spanish error message improvement from 2.0.

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