]> granicus.if.org Git - apache/log
apache
20 years ago* modules/aaa/mod_authnz_ldap.c: Fix /*-within-comment warning.
Joe Orton [Tue, 12 Oct 2004 12:27:18 +0000 (12:27 +0000)]
* modules/aaa/mod_authnz_ldap.c: Fix /*-within-comment warning.

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

20 years ago* modules/ldap/util_ldap.c (util_ldap_child_init): Don't segfault if
Joe Orton [Tue, 12 Oct 2004 12:16:42 +0000 (12:16 +0000)]
* modules/ldap/util_ldap.c (util_ldap_child_init): Don't segfault if
the cache has been disabled (when _cache_lock == NULL).
(util_ldap_post_config): Set mutex permissions if necessary.

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

20 years ago* os/unix/os.h: Define AP_NEED_SET_MUTEX_PERMS.
Joe Orton [Tue, 12 Oct 2004 11:55:30 +0000 (11:55 +0000)]
* os/unix/os.h: Define AP_NEED_SET_MUTEX_PERMS.

* modules/mappers/mod_rewrite.c, modules/ssl/ssl_engine_mutex.c: Use
AP_NEED_SET_MUTEX_PERMS to determine whether unixd_set_*_mutex_perms
calls are necessary.

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

20 years ago* modules/filters/mod_deflate.c: Remove use of zutil.h (not installed
Joe Orton [Tue, 12 Oct 2004 11:40:00 +0000 (11:40 +0000)]
* modules/filters/mod_deflate.c: Remove use of zutil.h (not installed
by zlib 1.2.1) and OS_CODE.  (deflate_out_filter): Simplify to use an
immortal brigade for the gzip header.

PR: 28673

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

20 years agoMinor comment fixes, no code changes:
Erik Abele [Mon, 11 Oct 2004 19:27:29 +0000 (19:27 +0000)]
Minor comment fixes, no code changes:
  - 'sub request' -> 'subrequest'
  - @retrn -> @return
  - ...

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoImprove german translation.
Erik Abele [Mon, 11 Oct 2004 19:25:31 +0000 (19:25 +0000)]
Improve german translation.

Submitted by: Carsten Gaebler <cg schlund.de>

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoUse the ap_is_initial_req() function to test for a subrequest instead of using r...
Paul Querna [Mon, 11 Oct 2004 10:46:17 +0000 (10:46 +0000)]
Use the ap_is_initial_req() function to test for a subrequest instead of using r->main.

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

20 years agoignore generated stuff
André Malo [Sun, 10 Oct 2004 15:44:30 +0000 (15:44 +0000)]
ignore generated stuff

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

20 years agoremove the RewriteOption MaxRedirects; LimitInternalRecursion is sufficient
André Malo [Sun, 10 Oct 2004 15:40:33 +0000 (15:40 +0000)]
remove the RewriteOption MaxRedirects; LimitInternalRecursion is sufficient
for the administrator

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

20 years agothe compiler warns about possibly uninitialized values. He may be right.
André Malo [Sun, 10 Oct 2004 15:29:15 +0000 (15:29 +0000)]
the compiler warns about possibly uninitialized values. He may be right.

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

20 years agoupdate transformation
André Malo [Sat, 9 Oct 2004 19:44:23 +0000 (19:44 +0000)]
update transformation

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

20 years agoFix CAN-2004-0885:
Joe Orton [Fri, 8 Oct 2004 11:59:33 +0000 (11:59 +0000)]
Fix CAN-2004-0885:

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Ensure that a
correct cipher suite has been negotiated, else deny access.

* modules/ssl/ssl_engine_init.c (ssl_init_ctx_protocol): With OpenSSL
0.9.7, prevent session resumption during a renegotiation to force the
client to negotiate a new (and acceptable) cipher suite.

Submitted by: Hartmut Keil <Hartmut.Keil adnovum.ch>, Joe Orton

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

20 years agoFix some typos that were missed when the documentation was updated for the new versio...
Bradley Nicholes [Thu, 7 Oct 2004 21:51:27 +0000 (21:51 +0000)]
Fix some typos that were missed when the documentation was updated for the new version of authnz_ldap

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

20 years agoparm cast should be DWORD
Allan K. Edwards [Wed, 6 Oct 2004 19:40:47 +0000 (19:40 +0000)]
parm cast should be DWORD

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

20 years agoAs the first stage of a simplification of the default config in 2.1 (only!), I'm
Joshua Slive [Wed, 6 Oct 2004 17:08:49 +0000 (17:08 +0000)]
As the first stage of a simplification of the default config in 2.1 (only!), I'm
going to remove all the html files under httpd-2.1/docs/docroot/ and replace them
with an index.html file containing only <html><body><h1>It works!</h1></body></html>

I'm going to do this because:

1. The old welcome page is a constant source of confusion to random web surfers who
stumble on unconfigured apache installs.

2. New users, when finding on a docroot with dozens of files, are often confused
about where to put their own content.

3. The international welcome page is a large source of bug reports from people
wanting to tweak grammar or provide new translations.

4. This will allow us to simplify the default config by removing the config stuff
necessary to handle the typemap.

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

20 years agoremove dead code
Jeff Trawick [Wed, 6 Oct 2004 14:23:15 +0000 (14:23 +0000)]
remove dead code

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

20 years agoclarify select() usage on Windows
Allan K. Edwards [Wed, 6 Oct 2004 13:49:19 +0000 (13:49 +0000)]
clarify select() usage on Windows

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

20 years agoWIN64: fix some windows specific 64bit warnings
Allan K. Edwards [Wed, 6 Oct 2004 13:33:29 +0000 (13:33 +0000)]
WIN64: fix some windows specific 64bit warnings

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

20 years agoChange Apache 2.1 to version 2.1 for political correctness.
Yoshiki Hayashi [Wed, 6 Oct 2004 06:35:15 +0000 (06:35 +0000)]
Change Apache 2.1 to version 2.1 for political correctness.
Suggested by: nd

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

20 years agoMention when these modules are introduced.
Yoshiki Hayashi [Wed, 6 Oct 2004 00:07:01 +0000 (00:07 +0000)]
Mention when these modules are introduced.

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

20 years agoAdd reference to mod_proxy_ajp and mod_proxy_balancer.
Yoshiki Hayashi [Wed, 6 Oct 2004 00:05:59 +0000 (00:05 +0000)]
Add reference to mod_proxy_ajp and mod_proxy_balancer.

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

20 years agoWIN64: SOCKET is not int on 64bit platforms
Allan K. Edwards [Tue, 5 Oct 2004 21:04:19 +0000 (21:04 +0000)]
WIN64: SOCKET is not int on 64bit platforms

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

20 years agoMarkup improvement and typo fix
Yoshiki Hayashi [Tue, 5 Oct 2004 13:27:18 +0000 (13:27 +0000)]
Markup improvement and typo fix

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

20 years agomod_auth_ldap: Handle the inconsistent way in which the MS LDAP
Graham Leggett [Mon, 4 Oct 2004 23:43:20 +0000 (23:43 +0000)]
mod_auth_ldap: Handle the inconsistent way in which the MS LDAP
library handles special characters.
PR: 24437
Obtained from:
Submitted by: Jess Holle
Reviewed by:

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

20 years agomod_ldap: fix a bogus error message to tell the user which file
Graham Leggett [Sun, 3 Oct 2004 16:44:06 +0000 (16:44 +0000)]
mod_ldap: fix a bogus error message to tell the user which file
is causing a potential problem with the LDAP shared memory cache.
PR: 31431
Obtained from:
Submitted by: Graham Leggett
Reviewed by:

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

20 years agomod_ldap: prevent the possiblity of an infinite loop in the LDAP
Graham Leggett [Sun, 3 Oct 2004 16:24:53 +0000 (16:24 +0000)]
mod_ldap: prevent the possiblity of an infinite loop in the LDAP
statistics display.
PR: 29216
Obtained from:
Submitted by: Graham Leggett
Reviewed by:

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

20 years agomod_disk_cache: don't store hop-by-hop headers on-disk.
Justin Erenkrantz [Sat, 2 Oct 2004 16:59:52 +0000 (16:59 +0000)]
mod_disk_cache: don't store hop-by-hop headers on-disk.

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

20 years agoMarkup fix and improvements.
Yoshiki Hayashi [Sat, 2 Oct 2004 11:40:22 +0000 (11:40 +0000)]
Markup fix and improvements.

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

20 years agoupdate transformation
André Malo [Fri, 1 Oct 2004 20:35:59 +0000 (20:35 +0000)]
update transformation

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

20 years agoMove the few BS2000 specific in unixd.c
Jean-Frederic Clere [Fri, 1 Oct 2004 16:03:08 +0000 (16:03 +0000)]
Move the few BS2000 specific in unixd.c

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

20 years agoUpdate transformations.
Joe Orton [Fri, 1 Oct 2004 13:32:24 +0000 (13:32 +0000)]
Update transformations.

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

20 years agoFix missing gcc.
Joe Orton [Fri, 1 Oct 2004 13:26:16 +0000 (13:26 +0000)]
Fix missing gcc.

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

20 years agoUse the right length.
Jean-Frederic Clere [Thu, 30 Sep 2004 15:59:17 +0000 (15:59 +0000)]
Use the right length.

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

20 years agoUse plain apr/apr-util for ajp.
Mladen Turk [Thu, 30 Sep 2004 15:35:45 +0000 (15:35 +0000)]
Use plain apr/apr-util for ajp.

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

20 years agoThe name of the module is mod_proxy not mpm_proxy.
Mladen Turk [Wed, 29 Sep 2004 19:14:15 +0000 (19:14 +0000)]
The name of the module is mod_proxy not mpm_proxy.

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

20 years agoNo need to call the ap_proxy_initialize_worker when initializing
Mladen Turk [Wed, 29 Sep 2004 19:09:55 +0000 (19:09 +0000)]
No need to call the ap_proxy_initialize_worker when initializing
balancer members, but make sure that balancer module is initialized
after proxy module.

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

20 years agoUse apr_strftime instead our own format_byte_out function.
Mladen Turk [Wed, 29 Sep 2004 19:07:47 +0000 (19:07 +0000)]
Use apr_strftime instead our own format_byte_out function.

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

20 years agoAdd server_rec to initialize_worker_share so that it get's
Mladen Turk [Wed, 29 Sep 2004 19:05:44 +0000 (19:05 +0000)]
Add server_rec to initialize_worker_share so that it get's
correctly.

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

20 years agobackport ldap issue
Bradley Nicholes [Wed, 29 Sep 2004 17:45:30 +0000 (17:45 +0000)]
backport ldap issue

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

20 years ago* modules/http/http_protocol.c (ap_http_filter): Always fail if the
Joe Orton [Wed, 29 Sep 2004 14:38:42 +0000 (14:38 +0000)]
* modules/http/http_protocol.c (ap_http_filter): Always fail if the
Content-Length header is an empty string; previously this was only
an error with some strto* implementations.

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

20 years agoTry to correctly follow RFC 2616 13.3 on validating stale cache responses by
Justin Erenkrantz [Tue, 28 Sep 2004 17:37:54 +0000 (17:37 +0000)]
Try to correctly follow RFC 2616 13.3 on validating stale cache responses by
teaching mod_cache's cache_select_url and cache_save_filter how to deal with
this corner case.

* modules/experimental/cache_storage.c
  (cache_select_url): If we have a stale entry, save the handle so that
  cache_save_filter can use it later, and make the request conditional.
* modules/experimental/cache_util.c
  (ap_cache_request_is_conditional): Take in a table rather than request_rec.
* modules/experimental/mod_cache.c
  (cache_out_filter): Fix bogus comment.
  (cache_save_filter): If we have already responded to the client, block all
  data; correctly merge in 'stale' handles that are not really stale; set
  r->status where appropriate; serve cached response if 'fresh'
* modules/experimental/mod_cache.h
  (cache_info): Add a status field.
  (cache_request_rec): Add stale handle field and note we may block responses.
  (ap_cache_request_is_conditional): Update prototype.
* modules/experimental/mod_disk_cache.c
  (store_headers): Use cache_info status instead of r->status.
* modules/experimental/mod_mem_cache.c
  (recall_headers): Properly recall the status field.
  (store_headers): Store the status field via cache_info status.

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

20 years agoupdate transformation
André Malo [Tue, 28 Sep 2004 17:32:39 +0000 (17:32 +0000)]
update transformation

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

20 years agoReformat code to no tab and no CR-LF
Mladen Turk [Tue, 28 Sep 2004 16:54:29 +0000 (16:54 +0000)]
Reformat code to no tab and no CR-LF

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

20 years agoMake sure that we don't increase balancer worker count on
Mladen Turk [Tue, 28 Sep 2004 16:35:29 +0000 (16:35 +0000)]
Make sure that we don't increase balancer worker count on
gracefull restart. Thanks to Christian...again.

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

20 years agomod_disk_cache: Do not store aborted content.
Justin Erenkrantz [Tue, 28 Sep 2004 16:26:48 +0000 (16:26 +0000)]
mod_disk_cache: Do not store aborted content.

PR: 21492
Submitted by: R�diger Pl�m <r.pluem t-online.de>
Reviewed by: Justin Erenkrantz

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

20 years agomod_disk_cache: Correctly store cached content type.
Justin Erenkrantz [Tue, 28 Sep 2004 16:17:38 +0000 (16:17 +0000)]
mod_disk_cache: Correctly store cached content type.

PR: 30278
Submitted by: R�diger Pl�m <r.pluem t-online.de>
Reviewed by: Justin Erenkrantz

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

20 years agoBring up to date a little, and don't talk about building PHP3(!).
Joe Orton [Tue, 28 Sep 2004 15:24:00 +0000 (15:24 +0000)]
Bring up to date a little, and don't talk about building PHP3(!).

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

20 years agoPrevent .nf/.fi regions being sucked up by normalize-space in
Joe Orton [Tue, 28 Sep 2004 15:17:07 +0000 (15:17 +0000)]
Prevent .nf/.fi regions being sucked up by normalize-space in
apxs.8.

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

20 years ago* support/apxs.in: Ensure that only a .la target filename is passed on
Joe Orton [Tue, 28 Sep 2004 14:30:10 +0000 (14:30 +0000)]
* support/apxs.in: Ensure that only a .la target filename is passed on
the libtool link line otherwise libtool tries to link statically.

PR: 31448 (more)

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

20 years ago* support/apxs.in: Reset $opt so that -I, -D and -Wc,* options are not
Joe Orton [Tue, 28 Sep 2004 13:09:37 +0000 (13:09 +0000)]
* support/apxs.in: Reset $opt so that -I, -D and -Wc,* options are not
passed to the libtool link line.  For "-Wl,-foo" pass "-foo" on the
link line regardless of whether gcc is used; without guessing whether
libtool --mode=link will invoke gcc or some native ld the previous
behaviour is not really correct.

PR: 31448

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

20 years agoInitialize workers for every virtual server not just for default one.
Mladen Turk [Sun, 26 Sep 2004 18:17:38 +0000 (18:17 +0000)]
Initialize workers for every virtual server not just for default one.

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

20 years ago* server/util_filter.c (ap_save_brigade): Handle an ENOTIMPL setaside
Joe Orton [Sun, 26 Sep 2004 15:52:51 +0000 (15:52 +0000)]
* server/util_filter.c (ap_save_brigade): Handle an ENOTIMPL setaside
function correctly.

* modules/generators/mod_cgi.c (cgi_handler): Revert r1.169,
unnecessary CGI bucket lifetime kludge.

PR: 31247

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

20 years agoUse the Christian von Roques's idea that makes the election mechanism
Mladen Turk [Sun, 26 Sep 2004 06:58:36 +0000 (06:58 +0000)]
Use the Christian von Roques's idea that makes the election mechanism
much simpler. This also removes the need to count the number of free
connections per channel.

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

20 years agoCount the bytes trasfered and readed so we can display the actual
Mladen Turk [Sun, 26 Sep 2004 06:56:24 +0000 (06:56 +0000)]
Count the bytes trasfered and readed so we can display the actual
data traffic, and add additional balancer mechanism that will use the
data traffic into account.

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

20 years agoRemove proxy_runtime_worker and make the things simpler by
Mladen Turk [Sun, 26 Sep 2004 06:54:27 +0000 (06:54 +0000)]
Remove proxy_runtime_worker and make the things simpler by
sharing runtime status accross child processes. Also make sure
that shared data is initialized after the scoreboard is created.

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

20 years agothis fix backported to 2.0
Bill Stoddard [Fri, 24 Sep 2004 14:30:08 +0000 (14:30 +0000)]
this fix backported to 2.0

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

20 years agoport
Bill Stoddard [Fri, 24 Sep 2004 13:10:48 +0000 (13:10 +0000)]
port

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

20 years agoTell mod_mem_cache that we will no longer be serving this object if it is stale.
Justin Erenkrantz [Fri, 24 Sep 2004 01:22:47 +0000 (01:22 +0000)]
Tell mod_mem_cache that we will no longer be serving this object if it is stale.

Submitted by: Bill Stoddard
Reviewed by:  Justin Erenkrantz

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

20 years agoNote a backport.
Graham Leggett [Thu, 23 Sep 2004 17:35:46 +0000 (17:35 +0000)]
Note a backport.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago* server/mpm_common.c (dummy_connection): Log the address if the
Joe Orton [Thu, 23 Sep 2004 08:59:06 +0000 (08:59 +0000)]
* server/mpm_common.c (dummy_connection): Log the address if the
connect() fails.

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

20 years agoFix race conditions in mod_disk_cache by properly using the tempfile rather
Justin Erenkrantz [Wed, 22 Sep 2004 22:28:54 +0000 (22:28 +0000)]
Fix race conditions in mod_disk_cache by properly using the tempfile rather
than the data file.  (We rename the tempfile when we're completed with the data
file which is an atomic operation.)

Part of the code assumed that it was using a temporary file; other parts
wrote directly to the body file - which was incorrect.  So, clean up the
whole mess to be consistent and more correct.

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

20 years agoCleanup a style nit. No functional changes.
Justin Erenkrantz [Wed, 22 Sep 2004 22:25:45 +0000 (22:25 +0000)]
Cleanup a style nit.  No functional changes.

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

20 years agoFix up some comments in CACHE_SAVE filter and fix a minor style nit.
Justin Erenkrantz [Wed, 22 Sep 2004 22:02:13 +0000 (22:02 +0000)]
Fix up some comments in CACHE_SAVE filter and fix a minor style nit.
No functional changes.

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

20 years ago* server/log.c (log_error_core): For APLOG_DEBUG on Unix, if __FILE__
Joe Orton [Wed, 22 Sep 2004 19:47:51 +0000 (19:47 +0000)]
* server/log.c (log_error_core): For APLOG_DEBUG on Unix, if __FILE__
is an absolute path (as in a VPATH build), just log the basename.

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

20 years agoWIN64: first in a series to get Windows IA64 builds clean, this serves pages
Allan K. Edwards [Wed, 22 Sep 2004 18:21:30 +0000 (18:21 +0000)]
WIN64: first in a series to get Windows IA64 builds clean, this serves pages

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

20 years agoRemove the second initialisation of the variable to NULL. It is already
Graham Leggett [Wed, 22 Sep 2004 16:50:29 +0000 (16:50 +0000)]
Remove the second initialisation of the variable to NULL. It is already
NULL in the definition.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_connect): Return
Joe Orton [Wed, 22 Sep 2004 16:34:20 +0000 (16:34 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_connect): Return
502 not 501 if SSL_connect() fails for a proxy connection.

PR: 31083

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

20 years ago* modules/generators/mod_cgi.c (cgi_handler): Fix possible segfaults
Joe Orton [Wed, 22 Sep 2004 15:38:02 +0000 (15:38 +0000)]
* modules/generators/mod_cgi.c (cgi_handler): Fix possible segfaults
in CGI bucket methods if invoked from a subrequest.

PR: 31247

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

20 years ago* modules/ssl/ssl_scache_shmcb.c (ssl_scahe_shmcb_init): If anonymous
Joe Orton [Wed, 22 Sep 2004 15:32:09 +0000 (15:32 +0000)]
* modules/ssl/ssl_scache_shmcb.c (ssl_scahe_shmcb_init): If anonymous
shm is not supported, always remove the named segment first to cope
with unclean shutdowns.

PR: 21335 (continued)

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

20 years ago* server/scoreboard.c (create_namebased_scoreboard): Use
Joe Orton [Wed, 22 Sep 2004 13:35:31 +0000 (13:35 +0000)]
* server/scoreboard.c (create_namebased_scoreboard): Use
apr_shm_remove() rather than the unsufficient apr_file_remove().

PR: 27189

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

20 years ago* modules/ssl/ssl_engine_vars.c: Map "UID" suffix to the same OID
Joe Orton [Wed, 22 Sep 2004 11:34:53 +0000 (11:34 +0000)]
* modules/ssl/ssl_engine_vars.c: Map "UID" suffix to the same OID
(2.5.4.45) for old and new versions of OpenSSL.

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

20 years agoa few new translations and up-to-date patches
Jeon Jeongho [Wed, 22 Sep 2004 09:39:36 +0000 (09:39 +0000)]
a few new translations and up-to-date patches

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

20 years agoFix Expires (freshness) handling in mod_cache.
Justin Erenkrantz [Tue, 21 Sep 2004 22:56:23 +0000 (22:56 +0000)]
Fix Expires (freshness) handling in mod_cache.

Previously, if the cached copy was stale, the response would go into an
indeterminate state.  Therefore, the freshness check must be done before we
'accept' the response and, if it fails (i.e.  stale), we can't allow any side
effects.

This caused a number of changes to how mod_disk_cache reads its headers as
ap_scan_script_header_err() purposely has side-effects and that's
unacceptable.  So, factor out only what we need.

Also, remove the broken conditional filter code as you can't reliably alter the
filter list once the response is started.  (Regardless, cache_select_url()
has the freshness checks now.)

Assist to Sascha Schumann for reporting mod_cache was busted.

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

20 years agoIn order for mod_expires to work with mod_cache, mod_expires has to go first.
Justin Erenkrantz [Tue, 21 Sep 2004 22:48:16 +0000 (22:48 +0000)]
In order for mod_expires to work with mod_cache, mod_expires has to go first.
Otherwise, mod_cache has no clue that the response has a limited lifetime.

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

20 years agoUpdate to enable mod_filter harness to be a Provider (for chaining rules).
Nick Kew [Tue, 21 Sep 2004 22:46:30 +0000 (22:46 +0000)]
Update to enable mod_filter harness to be a Provider (for chaining rules).

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

20 years ago* server/protocol.c (ap_rgetline_core): Never NUL terminate at
Joe Orton [Tue, 21 Sep 2004 21:07:23 +0000 (21:07 +0000)]
* server/protocol.c (ap_rgetline_core): Never NUL terminate at
(*s)[-1] for caller-supplied *s.

Submitted by: Rici Lake <ricilake speedy.com.pe>

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

20 years ago* configure.in: Only export CC and CPP if a cache file is not
Joe Orton [Tue, 21 Sep 2004 20:04:51 +0000 (20:04 +0000)]
* configure.in: Only export CC and CPP if a cache file is not
specified.

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

20 years agoupdate transformation
André Malo [Tue, 21 Sep 2004 19:44:27 +0000 (19:44 +0000)]
update transformation

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

20 years agoSECURITY: CAN-2004-0811 officially part of 2.0.52
Geoffrey Young [Tue, 21 Sep 2004 13:23:47 +0000 (13:23 +0000)]
SECURITY: CAN-2004-0811 officially part of 2.0.52

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

20 years agoMerge mod_filter with util_filter structs; add API for protocol stuff.
Nick Kew [Tue, 21 Sep 2004 10:14:40 +0000 (10:14 +0000)]
Merge mod_filter with util_filter structs; add API for protocol stuff.
Rename FilterDebug directive to FilterTrace.

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

20 years agofix typo
Bradley Nicholes [Tue, 21 Sep 2004 01:35:05 +0000 (01:35 +0000)]
fix typo

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

20 years ago* server/core.c (merge_core_dir_configs): Fix Satisfy merging since
Joe Orton [Mon, 20 Sep 2004 20:12:20 +0000 (20:12 +0000)]
* server/core.c (merge_core_dir_configs): Fix Satisfy merging since
per-method Satisfy feature was added.

PR: 31315
Submitted by: Rici Lake <rici ricilake.net>

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

20 years agoupdate transformation
André Malo [Mon, 20 Sep 2004 20:10:13 +0000 (20:10 +0000)]
update transformation

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

20 years ago* configure.in: Ensure that $CC and $CPP are correctly passed through
Joe Orton [Mon, 20 Sep 2004 12:12:01 +0000 (12:12 +0000)]
* configure.in: Ensure that $CC and $CPP are correctly passed through
to the pcre configure script if config caching is disabled (the
autoconf 2.5x default).

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

20 years agoFix the global mutex crash when the global mutex is never allocated due
Graham Leggett [Sun, 19 Sep 2004 23:11:10 +0000 (23:11 +0000)]
Fix the global mutex crash when the global mutex is never allocated due
to disabled/empty caches.
PR:
Obtained from:
Submitted by: Jess Holle <jessh ptc.com>
Reviewed by:

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

20 years agoFix a segfault in the LDAP cache purge.
Graham Leggett [Sun, 19 Sep 2004 23:00:25 +0000 (23:00 +0000)]
Fix a segfault in the LDAP cache purge.
PR:
Obtained from:
Submitted by: Jess Holle <jessh ptc.com>
Reviewed by:

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

20 years agoUpdate Japanese translation.
Yoshiki Hayashi [Sun, 19 Sep 2004 18:34:43 +0000 (18:34 +0000)]
Update Japanese translation.

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

20 years ago Update the description of digest support for 2004, adding Konqueror, Mac IE, and...
Chris Pepper [Sun, 19 Sep 2004 04:20:37 +0000 (04:20 +0000)]
   Update the description of digest support for 2004, adding Konqueror, Mac IE, and Safari as supporting browsers, and lynx as an (apparently) non-supporting browser. Confirmation of the official lynx home would be welcome -- lynx.browser.org and UKans both have older versions.

   I *believe* IE/Mac (which has a much different code base than IE/Win) doesn't have the GET bug described on Windows -- at least I can request a URL like "http://myhost/?testing" and successfully log in and get to http://myhost/, but I'm not sure if there's a subtlety I missed. I also alphabetized the (fairly long) list of browsers (keeping Mozilla and Netscape together), and toned down the warning about lack of support, since everything but lynx now seems to handle digest auth.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoadd mod_proxy_ajp mod_proxy_balancer dependencies
Allan K. Edwards [Sat, 18 Sep 2004 19:17:07 +0000 (19:17 +0000)]
add mod_proxy_ajp mod_proxy_balancer dependencies

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

20 years agomod_rewrite: Handle per-location rules when r->filename is unset.
Jeff Trawick [Sat, 18 Sep 2004 16:18:26 +0000 (16:18 +0000)]
mod_rewrite: Handle per-location rules when r->filename is unset.
Previously this would segfault or simply not match as expected,
depending on the platform.

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

20 years agosync with APACHE_2_0_BRANCH
Jeff Trawick [Sat, 18 Sep 2004 00:44:52 +0000 (00:44 +0000)]
sync with APACHE_2_0_BRANCH

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

20 years agoUnix MPMs: Shut down the server more quickly when child processes are
Jeff Trawick [Sat, 18 Sep 2004 00:33:56 +0000 (00:33 +0000)]
Unix MPMs: Shut down the server more quickly when child processes are
slow to exit.

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

20 years agoRemove useless C++ comment.
Jean-Frederic Clere [Fri, 17 Sep 2004 17:02:28 +0000 (17:02 +0000)]
Remove useless C++ comment.

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

20 years agosync with 2.0 CHANGES file
Bill Stoddard [Fri, 17 Sep 2004 15:39:29 +0000 (15:39 +0000)]
sync with 2.0 CHANGES file

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

20 years agoGroup effort. Thanks all!
Bill Stoddard [Fri, 17 Sep 2004 15:37:35 +0000 (15:37 +0000)]
Group effort. Thanks all!

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

20 years agoeliminate cleanup bit in favor of managing the object exclusively with the refcount...
Bill Stoddard [Fri, 17 Sep 2004 14:58:05 +0000 (14:58 +0000)]
eliminate cleanup bit in favor of managing the object exclusively with the refcount field

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

20 years agoRemove duplicate logging from alloc and send data_msg.
Mladen Turk [Fri, 17 Sep 2004 12:59:44 +0000 (12:59 +0000)]
Remove duplicate logging from alloc and send data_msg.
The logging is already done in the proxy_ajp. Also remove
unused function params.

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

20 years agoRemove logging inside ajp_send_data_msg. If send fails it is logged
Mladen Turk [Fri, 17 Sep 2004 12:52:49 +0000 (12:52 +0000)]
Remove logging inside ajp_send_data_msg. If send fails it is logged
inside proxy_ajp with the same message.

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

20 years agoDo not check if the input sock param is NULL. It's already checked before
Mladen Turk [Fri, 17 Sep 2004 12:39:19 +0000 (12:39 +0000)]
Do not check if the input sock param is NULL. It's already checked before
the function is called.

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

20 years agoMake worker retry algorithm much simpler removing incremental
Mladen Turk [Fri, 17 Sep 2004 08:00:20 +0000 (08:00 +0000)]
Make worker retry algorithm much  simpler removing incremental
timeout increase.

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