]> granicus.if.org Git - apache/log
apache
19 years agouse struct assignment instead of memcpy so the compiler can decide whether to inline...
Brian Pane [Sun, 3 Jul 2005 21:21:46 +0000 (21:21 +0000)]
use struct assignment instead of memcpy so the compiler can decide whether to inline the copy loop or call memcpy

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

19 years agoFixed complaints about unpackaged files within the RPM build
Graham Leggett [Sun, 3 Jul 2005 19:37:46 +0000 (19:37 +0000)]
Fixed complaints about unpackaged files within the RPM build
after changes to the config files.

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

19 years agofix typo.
Hiroaki Kawai [Sun, 3 Jul 2005 12:24:28 +0000 (12:24 +0000)]
fix typo.
Submitted by: kano@na.rim.or.jp
Reviewed by: kawai

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

19 years ago Plug AllowTrace extended|on|off into proxy and http core.
William A. Rowe Jr [Fri, 1 Jul 2005 19:59:59 +0000 (19:59 +0000)]
  Plug AllowTrace extended|on|off into proxy and http core.

  It still is not 'correct' until REQUEST_CHUNKED_PASS is reimplemented
  and passes some chunk headers, since we aren't echoing the entire
  request.  But it gets me further on testing 1.3 -> 2.0 -> 2.1 -> 2.0 -> 1.3
  proxy behaviors.

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

19 years ago Initially a no-op. Add trace_enable configuration. The http and proxy
William A. Rowe Jr [Fri, 1 Jul 2005 19:39:26 +0000 (19:39 +0000)]
  Initially a no-op.  Add trace_enable configuration.  The http and proxy
  flavors of interpreting this flag are yet to be committed.

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

19 years ago Whoops - two things at once. Document MAGIC_COOKIE "AP21"
William A. Rowe Jr [Fri, 1 Jul 2005 17:51:09 +0000 (17:51 +0000)]
  Whoops - two things at once.  Document MAGIC_COOKIE "AP21"

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

19 years ago Change Apache httpd 2.1 signature to "AP21" as this flavor
William A. Rowe Jr [Fri, 1 Jul 2005 17:50:01 +0000 (17:50 +0000)]
  Change Apache httpd 2.1 signature to "AP21" as this flavor
  is binary-incompatible to any "AP20" module.

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

19 years agoThe event MPM now works on Solaris 10. It is fast too.
Paul Querna [Thu, 30 Jun 2005 20:42:43 +0000 (20:42 +0000)]
The event MPM now works on Solaris 10. It is fast too.

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

19 years ago* server/mpm_common.c (dummy_connection): Fix length argument passed
Joe Orton [Thu, 30 Jun 2005 09:10:25 +0000 (09:10 +0000)]
* server/mpm_common.c (dummy_connection): Fix length argument passed
to apr_socket_send.  Remove redundant _shutdown call.

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

19 years ago2.1.6 got released.
Paul Querna [Thu, 30 Jun 2005 05:36:26 +0000 (05:36 +0000)]
2.1.6 got released.

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

19 years ago`build all`
André Malo [Wed, 29 Jun 2005 22:19:59 +0000 (22:19 +0000)]
`build all`

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

19 years agoadjust revision references
André Malo [Wed, 29 Jun 2005 22:16:17 +0000 (22:16 +0000)]
adjust revision references

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

19 years agofix xml validation error and wrong directive reference
André Malo [Wed, 29 Jun 2005 22:01:30 +0000 (22:01 +0000)]
fix xml validation error and wrong directive reference

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

19 years agofix line endings
André Malo [Wed, 29 Jun 2005 21:52:08 +0000 (21:52 +0000)]
fix line endings

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

19 years agoSubmitted and reviewed by Vincent Deffontaines, alain B and Jean-François El Fouly.
Jean-Frederic Clere [Wed, 29 Jun 2005 08:54:09 +0000 (08:54 +0000)]
Submitted and reviewed by Vincent Deffontaines, alain B and Jean-François El Fouly.

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

19 years agoArgh. Style Fix. Habits are hard to kill.
Paul Querna [Mon, 27 Jun 2005 19:30:23 +0000 (19:30 +0000)]
Argh. Style Fix. Habits are hard to kill.

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

19 years ago*) server/mpm_common.c: Send a simple HTTP 1.0 request to every listener socket,...
Paul Querna [Mon, 27 Jun 2005 18:40:56 +0000 (18:40 +0000)]
*) server/mpm_common.c: Send a simple HTTP 1.0 request to every listener socket, instead of just closing the socket.  This fixes shutdown of the Worker MPM on FreeBSD, when Accept Filters are enabled.

In the future, we need a method to send a simple request for all protocols.  Currently this is very specific to HTTP and FreeBSD's Accept Filter.

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

19 years agotypo: submitted by Daniel Lopez (daniel at rawbyte dot com)
Jean-Frederic Clere [Mon, 27 Jun 2005 12:49:40 +0000 (12:49 +0000)]
typo: submitted by Daniel Lopez (daniel at rawbyte dot com)

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

19 years agoAdd more detail to the RewriteMap rnd: example, as well as rewriting
Rich Bowen [Sun, 26 Jun 2005 23:35:05 +0000 (23:35 +0000)]
Add more detail to the RewriteMap rnd: example, as well as rewriting
some of the text that makes this feature seem less useful than it
actually is.

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

19 years ago More cleanup, organization to make README easier to follow.
William A. Rowe Jr [Fri, 24 Jun 2005 16:52:54 +0000 (16:52 +0000)]
  More cleanup, organization to make README easier to follow.

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

19 years ago Rearrange some deck chairs, just reformatting, axing unmaintained
William A. Rowe Jr [Fri, 24 Jun 2005 16:37:33 +0000 (16:37 +0000)]
  Rearrange some deck chairs, just reformatting, axing unmaintained
  'Binaries' section.

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

19 years agoAdd redirect-carefully for Dreamweaver MX.
Joe Orton [Fri, 24 Jun 2005 08:45:09 +0000 (08:45 +0000)]
Add redirect-carefully for Dreamweaver MX.

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

19 years agoMove on to 2.1.7-dev.
Paul Querna [Fri, 24 Jun 2005 07:37:04 +0000 (07:37 +0000)]
Move on to 2.1.7-dev.

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

19 years ago- Prepare for 2.1.6 tag.
Paul Querna [Fri, 24 Jun 2005 07:34:36 +0000 (07:34 +0000)]
- Prepare for 2.1.6 tag.

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

19 years ago- If the Protocol has not been set, do not crash. Long term, we need to ensure that...
Paul Querna [Fri, 24 Jun 2005 07:33:02 +0000 (07:33 +0000)]
- If the Protocol has not been set, do not crash.  Long term, we need to ensure that the protocol is set in all cases, and in all MPMs.

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

19 years agoFix htdbm password validation for records which included comments.
Jeff Trawick [Thu, 23 Jun 2005 20:45:17 +0000 (20:45 +0000)]
Fix htdbm password validation for records which included comments.

Submitted by: Eric Covener <covener gmail.com>
Reviewed by:  trawick

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

19 years agoAdd some comments
Wilfredo Sanchez [Thu, 23 Jun 2005 20:39:01 +0000 (20:39 +0000)]
Add some comments

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

19 years agoproxy HTTP: If a response contains both Transfer-Encoding and a
Jeff Trawick [Thu, 23 Jun 2005 19:20:29 +0000 (19:20 +0000)]
proxy HTTP: If a response contains both Transfer-Encoding and a
Content-Length, remove the Content-Length and don't reuse the
connection, stopping some HTTP Request smuggling attacks.

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

19 years agoAdd references to Apachetutor in developer docs
Nick Kew [Thu, 23 Jun 2005 13:52:57 +0000 (13:52 +0000)]
Add references to Apachetutor in developer docs

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

19 years ago* modules/aaa/mod_auth_digest.c: Another gcc 4 "structure field may be
Joe Orton [Thu, 23 Jun 2005 10:27:27 +0000 (10:27 +0000)]
* modules/aaa/mod_auth_digest.c: Another gcc 4 "structure field may be
used uninitialized" warning; fix validation of digest-uri for CONNECT
requests:

(copy_uri_components): Copy the hostinfo field.
(authenticate_digest_user): Don't pass NULL (or, previously, a random
pointer) to strcmp if a digest-uri is provided which doesn't match the
request-uri in a CONNECT request.

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

19 years ago* server/protocol.c (ap_read_request): Remove the Content-Length
Joe Orton [Thu, 23 Jun 2005 09:36:16 +0000 (09:36 +0000)]
* server/protocol.c (ap_read_request): Remove the Content-Length
header if any Transfer-Encoding header is present, regardless of
value.

Reviewed by: Paul Querna, Jeff Trawick

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

19 years ago* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
Joe Orton [Thu, 23 Jun 2005 09:10:09 +0000 (09:10 +0000)]
* modules/proxy/mod_proxy_balancer.c (proxy_balancer_pre_request): Fix
another valid variable-may-be-used-uninitialized warning from GCC 4
(in the !balancer->sticky case, find_session_route returns NULL
without setting route).

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

19 years ago* Rewritemaps use ${...}
André Malo [Thu, 23 Jun 2005 05:24:12 +0000 (05:24 +0000)]
* Rewritemaps use ${...}
* adjust the mime type directory in mod_mime.xml.ja as well (to get it uptodate
  again)
* `build all`

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

19 years agoCorrect the location of this resource.
Rich Bowen [Thu, 23 Jun 2005 01:19:31 +0000 (01:19 +0000)]
Correct the location of this resource.

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

19 years agoSomehow I just committed the wrong file. This patch adds an example for
Rich Bowen [Thu, 23 Jun 2005 01:17:26 +0000 (01:17 +0000)]
Somehow I just committed the wrong file. This patch adds an example for
RewriteMap

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

19 years agoBrief example of actually using a map, once defined.
Rich Bowen [Thu, 23 Jun 2005 01:12:19 +0000 (01:12 +0000)]
Brief example of actually using a map, once defined.

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

19 years agoDocumenting mod_dbd and monitor hook in new_features.
Nick Kew [Wed, 22 Jun 2005 23:26:14 +0000 (23:26 +0000)]
Documenting mod_dbd and monitor hook in new_features.

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

19 years agomod_cgid: Fix buffer overflow processing ScriptSock directive.
Jeff Trawick [Wed, 22 Jun 2005 20:54:28 +0000 (20:54 +0000)]
mod_cgid: Fix buffer overflow processing ScriptSock directive.

Submitted by:        Steve Kemp <steve steve.org.uk>
Reviewed/tweaked by: trawick

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

19 years agoPR: 10775
Nick Kew [Tue, 21 Jun 2005 10:53:00 +0000 (10:53 +0000)]
PR: 10775
Submitted by: Christian Schubert <mail apexo de>
Reviewed by: niq

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

19 years agoDon't try to rebuild the shipping files.
Bradley Nicholes [Mon, 20 Jun 2005 22:19:39 +0000 (22:19 +0000)]
Don't try to rebuild the shipping files.

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

19 years agofix lineendings
André Malo [Mon, 20 Jun 2005 16:15:14 +0000 (16:15 +0000)]
fix lineendings

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

19 years agoif Transfer-Encoding is not "identity" ignore Content-Length.
Jean-Frederic Clere [Fri, 17 Jun 2005 16:47:43 +0000 (16:47 +0000)]
if Transfer-Encoding is not "identity" ignore Content-Length.
otherwise ajp-proxy hangs when Transfer-Encoding is "chunked".

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

19 years ago caddr_t is quite non-portable, but a (void*) will do the trick.
William A. Rowe Jr [Fri, 17 Jun 2005 16:27:58 +0000 (16:27 +0000)]
  caddr_t is quite non-portable, but a (void*) will do the trick.

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

19 years agoOnward to 2.1.6-dev!
Paul Querna [Fri, 17 Jun 2005 07:03:13 +0000 (07:03 +0000)]
Onward to 2.1.6-dev!

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

19 years ago* include/ap_release.h: Remove -dev to prepare for 2.1.5 tag.
Paul Querna [Fri, 17 Jun 2005 07:00:20 +0000 (07:00 +0000)]
* include/ap_release.h: Remove -dev to prepare for 2.1.5 tag.

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

19 years agoIf a request contains both a T-E and C-L, remove the C-L, stopping some HTTP Request...
Paul Querna [Thu, 16 Jun 2005 21:34:08 +0000 (21:34 +0000)]
If a request contains both a T-E and C-L, remove the C-L, stopping some HTTP Request Smuggling attacks exploited when using HTTPD as a forward or reverse proxy.

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

19 years agobuild all.
Paul Querna [Thu, 16 Jun 2005 19:09:31 +0000 (19:09 +0000)]
build all.

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

19 years ago- Add documentation on the new AcceptFilter directive.
Paul Querna [Thu, 16 Jun 2005 19:05:58 +0000 (19:05 +0000)]
- Add documentation on the new AcceptFilter directive.
- Update Listen with the optional protocol arg.

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

19 years agoPHP 3.x + httpd-2.2 seems... unlikely.
Joe Orton [Thu, 16 Jun 2005 12:52:57 +0000 (12:52 +0000)]
PHP 3.x + httpd-2.2 seems... unlikely.

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

19 years agoChange "Files ~" to the preferred "FilesMatch"
Rich Bowen [Thu, 16 Jun 2005 12:42:32 +0000 (12:42 +0000)]
Change "Files ~" to the preferred "FilesMatch"

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

19 years ago* build/config_vars.sh.in: Expand LTFLAGS here, to fix `apxs -q LIBTOOL`
Joe Orton [Thu, 16 Jun 2005 10:21:39 +0000 (10:21 +0000)]
* build/config_vars.sh.in: Expand LTFLAGS here, to fix `apxs -q LIBTOOL`
again.

PR: 32787
Submitted by: William Barker <william.barker wilshire.com>

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

19 years agoFix up some type mismatches that are causing compiler errors in Metrowerks on NetWare
Bradley Nicholes [Wed, 15 Jun 2005 21:37:10 +0000 (21:37 +0000)]
Fix up some type mismatches that are causing compiler errors in Metrowerks on NetWare

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

19 years agoDelete the completely outdated httpd_roll_release script.
Paul Querna [Tue, 14 Jun 2005 21:23:31 +0000 (21:23 +0000)]
Delete the completely outdated httpd_roll_release script.

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

19 years ago* support/htdbm.c (main): Fix (valid) variable "may be used
Joe Orton [Tue, 14 Jun 2005 15:19:32 +0000 (15:19 +0000)]
* support/htdbm.c (main): Fix (valid) variable "may be used
uninitialized" warning with gcc 4.0.

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

19 years agoUpdate remaining 2004 copyright notices.
Joe Orton [Tue, 14 Jun 2005 13:54:34 +0000 (13:54 +0000)]
Update remaining 2004 copyright notices.

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

19 years agoMerge the listen-protocol sandbox branch to trunk.
Paul Querna [Tue, 14 Jun 2005 09:21:18 +0000 (09:21 +0000)]
Merge the listen-protocol sandbox branch to trunk.

I will be adding documentation for the new directives hopefully in the next day or so.

* server/core.c: Added 'Protocol' to the core module config
                 Added ap_{set,get}_server_protocol API.
                 Added new directive: 'AcceptFilter'.
                 Enable 'httpready' by default on systems that support it.  Use dataready filters for others.

* server/listen.c: Attempt to inherit protocols from Listener Records to Server configs.
                   The 'Listen' directive can now optionally take a protocol arg
                   Move bits that determined which accept filter is applied to core.c.
                   Added bits to find the correct accept filter based on the core's configuration.

* include/{ap_listen.h,http_core.h}: Add Protocol to respective structures.

* include/http_core.h: Add the accf_map table to the core_server_config structure

* include/ap_mmn.h: Minor MMN Bump for the new interfacces.

* modules/ssl/ssl_engine_init.c: Use the new protocol framework to enable mod_ssl for 'https' websites.

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

19 years ago- Remove unneeded cast.
Paul Querna [Tue, 14 Jun 2005 01:50:27 +0000 (01:50 +0000)]
- Remove unneeded cast.

Reported by: Garrett Rooney

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

19 years ago- Bring htcacheclean into sync with mod_disk_cache. It now has a very basic understa...
Paul Querna [Tue, 14 Jun 2005 00:27:01 +0000 (00:27 +0000)]
- Bring htcacheclean into sync with mod_disk_cache.  It now has a very basic understanding of the Varied Headers file format, and will cleanup orphaned data files, or Vary Header Files that have expired.

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

19 years ago- Partial revert of revision 190535. Remove const from tempfile, since apr_file_mkte...
Paul Querna [Tue, 14 Jun 2005 00:23:13 +0000 (00:23 +0000)]
- Partial revert of revision 190535.  Remove const from tempfile, since apr_file_mktemp() requires it.

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

19 years ago* cache/mod_disk_cache.c: Make most members of disk_cache_object into const char...
Paul Querna [Tue, 14 Jun 2005 00:16:48 +0000 (00:16 +0000)]
* cache/mod_disk_cache.c: Make most members of disk_cache_object into const char*. This removes the need to cast the const out in several places.
* cache/mod_cache.h: Make cache_object.key a const.

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

19 years ago- Remove unused dirlevels and dirlength from the cache info structure.
Paul Querna [Tue, 14 Jun 2005 00:08:09 +0000 (00:08 +0000)]
- Remove unused dirlevels and dirlength from the cache info structure.

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

19 years agoBased on feedback from dev@httpd, store Vary headers inside the '.header' file.
Paul Querna [Mon, 13 Jun 2005 23:17:52 +0000 (23:17 +0000)]
Based on feedback from dev@httpd, store Vary headers inside the '.header' file.
These Vary headers are used to build a new hash for a URL, based on the
client's headers.  This allows mod_disk_cache to store many variations of one
URI, where previously it would only store a single variant.

htcacheclean needs to be updated to understand the new file format.  I plan on
updating htcacheclean in the next couple days.

PR: 35211

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

19 years ago* configure.in: Define MKINSTALLDIRS and INSTALL in config_vars.mk.
Joe Orton [Mon, 13 Jun 2005 13:19:42 +0000 (13:19 +0000)]
* configure.in: Define MKINSTALLDIRS and INSTALL in config_vars.mk.
Don't use AC_PROG_INSTALL since any system "install" command is never
used anyway.

* build/rules.mk.in: Remove fixed reference to install.sh and mkdir.sh
in abs_srcdir.

* build/config_vars.sh: Munge definitions of MKINSTALLDIRS and INSTALL
to use installed scripts.

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

19 years agoSanitize the installed config_vars.mk to remove references to the
Joe Orton [Mon, 13 Jun 2005 12:49:58 +0000 (12:49 +0000)]
Sanitize the installed config_vars.mk to remove references to the
build and source directories, and to remove variables which are
internal to the httpd build system:

* build/config_vars.sh.in: New file.

* Makefile.in (build/config_vars.out): New target.
(install-build): Install build/config_vars.out as config_vars.mk.

* configure.in: Add include path for srclib/pcre to INCLUDES rather
than CPPFLAGS, and use a topdir-relative not absolute path name.
Generate build/config_vars.sh.

Reviewed by: Paul Querna
PR: 20874, 28145

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

19 years agoupdate German translation; update transformation
André Malo [Sun, 12 Jun 2005 12:02:03 +0000 (12:02 +0000)]
update German translation; update transformation

Reviewed by: Kess

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

19 years agoupdate German translation; update transformation
André Malo [Sun, 12 Jun 2005 10:59:24 +0000 (10:59 +0000)]
update German translation; update transformation

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

19 years ago- link/unlink are not called directly, so we do not need this extra header.
Paul Querna [Sat, 11 Jun 2005 00:33:48 +0000 (00:33 +0000)]
- link/unlink are not called directly, so we do not need this extra header.

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

19 years ago- Use apr_file_mktemp() and rename the header data file to its final location, instea...
Paul Querna [Sat, 11 Jun 2005 00:26:19 +0000 (00:26 +0000)]
- Use apr_file_mktemp() and rename the header data file to its final location, instead of opening it and then writing it out as we go.  Should prevent race conditions on busy servers.

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

19 years ago* cache_save_filter:
Paul Querna [Fri, 10 Jun 2005 23:02:26 +0000 (23:02 +0000)]
* cache_save_filter:
    *) Remove the first set of Validation code.  Use the main if structure to check for both 'Vary: *' and 'Cache-Control: no-store'.
    *) Add logging of failures for a provider's store_body function.

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

19 years ago* modules/ssl/ssl_engine_io.c (ssl_io_filter_init): Initialize the
Joe Orton [Fri, 10 Jun 2005 15:13:59 +0000 (15:13 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_filter_init): Initialize the
nobuffer flag to zero since the structure is palloc'ed not pcalloc'ed.

PR: 35279

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

19 years ago* Makefile.in (install-build): Make installed config.nice 0755 too.
Joe Orton [Fri, 10 Jun 2005 14:17:49 +0000 (14:17 +0000)]
* Makefile.in (install-build): Make installed config.nice 0755 too.

Submitted by: Daniel Rall <dlr apache.org>

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

19 years ago* Makefile.in (install-build): Fix variable names.
Joe Orton [Fri, 10 Jun 2005 11:09:10 +0000 (11:09 +0000)]
* Makefile.in (install-build): Fix variable names.

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

19 years ago* Makefile.in (install-build): Install mkdir.sh since it's used by the
Joe Orton [Fri, 10 Jun 2005 09:18:14 +0000 (09:18 +0000)]
* Makefile.in (install-build): Install mkdir.sh since it's used by the
installed special.mk now; install instdso.sh as 0755.

* support/apxs.in: Fix Makefile template created by -g.

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

19 years agoadjust revision reference; update transformation
André Malo [Thu, 9 Jun 2005 21:23:21 +0000 (21:23 +0000)]
adjust revision reference; update transformation

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

19 years agoFix link to mod_proxy_html
Nick Kew [Thu, 9 Jun 2005 13:15:49 +0000 (13:15 +0000)]
Fix link to mod_proxy_html

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

19 years agoRename generate_name to ap_cache_generate_name
Bradley Nicholes [Wed, 8 Jun 2005 22:09:52 +0000 (22:09 +0000)]
Rename generate_name to ap_cache_generate_name

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

19 years ago* modules/mappers/config9.m4: Substitute INSTALL_DSO as "yes" if
Joe Orton [Wed, 8 Jun 2005 16:07:46 +0000 (16:07 +0000)]
* modules/mappers/config9.m4: Substitute INSTALL_DSO as "yes" if
mod_so is linked in, or "no" otherwise.

* build/special.mk: Remove hack to guess whether mod_so is linked in
based on BUILTIN_LIBS; rely on INSTALL_DSO definition from
config_vars.mk.

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

19 years ago* build/instdso.sh: Extract LIBRARY_NAMES and DLNAME without using
Joe Orton [Wed, 8 Jun 2005 15:37:55 +0000 (15:37 +0000)]
* build/instdso.sh: Extract LIBRARY_NAMES and DLNAME without using
grep; fix extraction of LIBRARY_NAMES which was sedding the wrong
variable name.

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

19 years ago* Makefile.in (install-build, install-headers, install-conf): Minor
Joe Orton [Wed, 8 Jun 2005 14:49:54 +0000 (14:49 +0000)]
* Makefile.in (install-build, install-headers, install-conf): Minor
cleanup: use MKINSTALLDIRS unconditionally since mkdir.sh already
checks whether the target exists; use INSTALL_DATA throughout.  Stop
trying to install os/*/os-inline.c which don't exist any more.

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

19 years agoSynch with 2.0.x branch.
Joe Orton [Wed, 8 Jun 2005 11:23:32 +0000 (11:23 +0000)]
Synch with 2.0.x branch.

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

19 years ago* modules/ssl/ssl_engine_dh.c: Adjust the embedded perl code such that
Joe Orton [Wed, 8 Jun 2005 10:40:01 +0000 (10:40 +0000)]
* modules/ssl/ssl_engine_dh.c: Adjust the embedded perl code such that
it generates the current C code again (after some refactoring a while
ago); and regenerate the file.

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

19 years ago* modules/generators/mod_cgi.c (cgi_bucket_read): Log a specific error
Joe Orton [Wed, 8 Jun 2005 08:50:19 +0000 (08:50 +0000)]
* modules/generators/mod_cgi.c (cgi_bucket_read): Log a specific error
if a timeout occurs from a blocking read; more helpful than a generic
"apr_bucket_read failed" error from some higher-up filter.

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

19 years ago* modules/http/byterange_filter.c (ap_byterange_filter): No functional
Joe Orton [Wed, 8 Jun 2005 08:44:37 +0000 (08:44 +0000)]
* modules/http/byterange_filter.c (ap_byterange_filter): No functional
changes: reflow/reformat after r188797.

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

19 years ago* Makefile.in (DISTCLEAN_TARGETS): Clean up more files generated by
Joe Orton [Wed, 8 Jun 2005 08:32:44 +0000 (08:32 +0000)]
* Makefile.in (DISTCLEAN_TARGETS): Clean up more files generated by
configure.

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

19 years agoFix for reported compile problem
Nick Kew [Tue, 7 Jun 2005 23:45:50 +0000 (23:45 +0000)]
Fix for reported compile problem

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

19 years agoAdd monitor hook (discussed under "watchdog" thread).
Nick Kew [Tue, 7 Jun 2005 19:13:37 +0000 (19:13 +0000)]
Add monitor hook (discussed under "watchdog" thread).

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

19 years ago* Makefile.in: Fix brokenness with VPATH builds as the .conf files do not exist
Justin Erenkrantz [Tue, 7 Jun 2005 18:54:25 +0000 (18:54 +0000)]
* Makefile.in: Fix brokenness with VPATH builds as the .conf files do not exist
  in srcdir and sh panics; also fix one whitespace issue.

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

19 years ago* modules/http/byterange_filter.c (ap_byterange_filter): Refuse to
Joe Orton [Tue, 7 Jun 2005 15:32:10 +0000 (15:32 +0000)]
* modules/http/byterange_filter.c (ap_byterange_filter): Refuse to
byterange any response which may require the consumption of arbitrary
amounts of memory.

(functional changes split from whitespace/reflow changes which will
follow in a separate commit)

Reviewed by: jerenkrantz (several moons ago)
PR: 29962

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

19 years ago* mod_cache.c: When 'Vary: *' is sent, do not cache, since revalidation is always...
Paul Querna [Mon, 6 Jun 2005 16:53:15 +0000 (16:53 +0000)]
* mod_cache.c: When 'Vary: *' is sent, do not cache, since revalidation is always required.

PR: 16125

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

19 years agoupdate transformation
André Malo [Sun, 5 Jun 2005 06:01:16 +0000 (06:01 +0000)]
update transformation

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

19 years ago* server/main.c: Remove the suck_in_apr_password_validate() hack. apr_password_valid...
Paul Querna [Fri, 3 Jun 2005 20:35:27 +0000 (20:35 +0000)]
* server/main.c: Remove the suck_in_apr_password_validate() hack.  apr_password_validate is part of the public APR interface and this hack should not be needed on any platform.

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

19 years ago'generate_name' is too generic to be in the public symbols. Rename it to ap_cache_gen...
Paul Querna [Fri, 3 Jun 2005 20:19:08 +0000 (20:19 +0000)]
'generate_name' is too generic to be in the public symbols. Rename it to ap_cache_generate_name. No functional changes.

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

19 years ago* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL): Fix
Joe Orton [Fri, 3 Jun 2005 12:54:53 +0000 (12:54 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL): Fix
off-by-one.

PR: 35081
Submitted by: Marc Stern <mstern csc.com>

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

19 years ago* modules/filters/mod_include.c (handle_include): Fix possible
Joe Orton [Fri, 3 Jun 2005 10:12:50 +0000 (10:12 +0000)]
* modules/filters/mod_include.c (handle_include): Fix possible
variable corruption with nested includes.

PR: 12655

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

19 years agowrite a CHANGES entry for PR 34512; looks like it resolves
Jeff Trawick [Fri, 3 Jun 2005 08:23:40 +0000 (08:23 +0000)]
write a CHANGES entry for PR 34512; looks like it resolves
user-visible misprocessing in proxy ftp which could result
in directory listing for regular file retrieval

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

19 years agomod_proxy_ftp: Fix comparison of char* to '\0'
Paul Querna [Fri, 3 Jun 2005 02:44:39 +0000 (02:44 +0000)]
mod_proxy_ftp: Fix comparison of char* to '\0'

PR: 34512

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

19 years ago- Fix closing </Files> tag.
Paul Querna [Fri, 3 Jun 2005 02:41:00 +0000 (02:41 +0000)]
- Fix closing </Files> tag.

PR: 35178

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

19 years ago- Use the correct newline in htpasswd, instead of always using \n.
Paul Querna [Fri, 3 Jun 2005 01:11:44 +0000 (01:11 +0000)]
- Use the correct newline in htpasswd, instead of always using \n.

PR: 25090

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

19 years agomod_mime_magic: Handle CRLF-format magic files so that it works with
Jeff Trawick [Thu, 2 Jun 2005 18:24:27 +0000 (18:24 +0000)]
mod_mime_magic: Handle CRLF-format magic files so that it works with
the default installation on Windows.

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

19 years ago- Fix style nits in the new hash config code. No Functional changes.
Paul Querna [Thu, 2 Jun 2005 17:52:26 +0000 (17:52 +0000)]
- Fix style nits in the new hash config code. No Functional changes.

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