]> granicus.if.org Git - apache/log
apache
20 years agoUse the new connection pool for AJP.
William A. Rowe Jr [Wed, 11 Aug 2004 22:45:51 +0000 (22:45 +0000)]
Use the new connection pool for AJP.

Submitted by: mturk

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

20 years agoAlways use the cleanup. Do not close the socket directly.
William A. Rowe Jr [Wed, 11 Aug 2004 22:45:08 +0000 (22:45 +0000)]
Always use the cleanup. Do not close the socket directly.

Submitted by: mturk

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

20 years agoFix the assertion bug for reslist caused by returning the
William A. Rowe Jr [Wed, 11 Aug 2004 22:44:38 +0000 (22:44 +0000)]
Fix the assertion bug for reslist caused by returning the
same connection back to the pool twice.

Submitted by: mturk

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

20 years agoWe have a proxy-http using connection pool ;)
William A. Rowe Jr [Wed, 11 Aug 2004 22:43:44 +0000 (22:43 +0000)]
We have a proxy-http using connection pool ;)
Need some thorough testing.

Submitted by: mturk

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

20 years agoChange the scheme handler hook to include worker.
William A. Rowe Jr [Wed, 11 Aug 2004 22:41:02 +0000 (22:41 +0000)]
Change the scheme handler hook to include worker.
We will probably need the balancer too, but that can wait for now.
Other undocumented changes (shame,shame) in proxy_util.c

Submitted by: mturk

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

20 years agoAdded close_on_recycle flags for creatin connections.
William A. Rowe Jr [Wed, 11 Aug 2004 22:39:02 +0000 (22:39 +0000)]
Added close_on_recycle flags for creatin connections.
This flag enables to distinguish between connection types.
Also added a pool cleanup bound to connection pool that recycles
the connection when client disconnects from server.

Submitted by: mturk

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

20 years agoAdded acquire and release connection functions.
William A. Rowe Jr [Wed, 11 Aug 2004 22:37:08 +0000 (22:37 +0000)]
Added acquire and release connection functions.
The acquire pulls the connection from the pool.
The release returns the connection to the pool.

Submitted by: mturk

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

20 years agoAdded ap_proxy_connection_create function that makes
William A. Rowe Jr [Wed, 11 Aug 2004 22:36:28 +0000 (22:36 +0000)]
Added ap_proxy_connection_create function that makes
conn_rec for opened connection. It is used bt http(s) and ftp for
bounding the backend connection to client connection with the same id's.

Submitted by: mturk

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

20 years agoAdded KeepAlive worker option.
William A. Rowe Jr [Wed, 11 Aug 2004 22:35:19 +0000 (22:35 +0000)]
Added KeepAlive worker option.
The scheme handler will override this setting if required, depending on the
protocol itself and keepalive_set flag.

Submitted by: mturk

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

20 years agoAdd ap_proxy_connect_backend that will replace
William A. Rowe Jr [Wed, 11 Aug 2004 22:34:26 +0000 (22:34 +0000)]
Add ap_proxy_connect_backend that will replace
ap_proxy_connect_to_backend. It uses worker params for setting socket
options and checks for conection's connect status.
It works both on empty and acquired connections.

Submitted by: mturk

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

20 years agoAdded iobuffersize and receivebuffersize to be worker specific.
William A. Rowe Jr [Wed, 11 Aug 2004 22:33:07 +0000 (22:33 +0000)]
Added iobuffersize and receivebuffersize to be worker specific.
As for timeout their default value is from proxy_conf.

Submitted by: mturk

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

20 years agoChange the way the prefork connection is created.
William A. Rowe Jr [Wed, 11 Aug 2004 22:32:22 +0000 (22:32 +0000)]
Change the way the prefork connection is created.
Use the same constructor as for theaded mpm's.
Added API's for destroying and closing connections

Submitted by: mturk

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

20 years agoAdded timeout_set for worker. Each worker can have a different timeout
William A. Rowe Jr [Wed, 11 Aug 2004 22:31:46 +0000 (22:31 +0000)]
Added timeout_set for worker. Each worker can have a different timeout
the ProxyTimout sets. Also changed proxy_conf's timeout_set to int.

Use timeout_set for worker inherited from ProxyTimeout but overridable
using timout=xxx

Submitted by: mturk

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

20 years agoAdded acquire timeout for obtaining resources from reslist.
William A. Rowe Jr [Wed, 11 Aug 2004 22:30:06 +0000 (22:30 +0000)]
Added acquire timeout for obtaining resources from reslist.
The timeout is in milliseconds to enable quick return in case the
reslist is exceded the maximum number of connections.

Submitted by: mturk

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

20 years agoRemove proxy_mdule_conf.
William A. Rowe Jr [Wed, 11 Aug 2004 22:28:59 +0000 (22:28 +0000)]
Remove proxy_mdule_conf.
We will change the scheme hook api to include the worker.

Submitted by: mturk

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

20 years agoRemove proxy_conn struct and add it's params to proxy_conn_rec.
William A. Rowe Jr [Wed, 11 Aug 2004 22:27:34 +0000 (22:27 +0000)]
Remove proxy_conn struct and add it's params to proxy_conn_rec.
Use named structure type declarations.

Submitted by: mturk

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

20 years agoAdd worker timeout inherited from ProxyTimeout.
William A. Rowe Jr [Wed, 11 Aug 2004 22:16:27 +0000 (22:16 +0000)]
Add worker timeout inherited from ProxyTimeout.

Submitted by: mturk

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

20 years agoUse the worker pool for creating proxy_conn_poll to suppress it's
William A. Rowe Jr [Wed, 11 Aug 2004 22:15:23 +0000 (22:15 +0000)]
Use the worker pool for creating proxy_conn_poll to suppress it's
destruction when cleaning worker.

Submitted by: mturk

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

20 years agoArrange the handling of apr_array_header_t arrays.
William A. Rowe Jr [Wed, 11 Aug 2004 22:14:49 +0000 (22:14 +0000)]
Arrange the handling of apr_array_header_t arrays.

Submitted by: jfclere

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

20 years agoMake proxy_conn always accesible for preforked MPM and
William A. Rowe Jr [Wed, 11 Aug 2004 22:13:50 +0000 (22:13 +0000)]
Make proxy_conn always accesible for preforked MPM and
APR_HAS_THREADS enabled.

Add init_conn_worker for creating apr_reslist that maintains connection
pool. For prefork mpm's use the single connection container.

Submitted by: mturk

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

20 years agoAdd some source comments about worker DNS lookup.
William A. Rowe Jr [Wed, 11 Aug 2004 22:12:02 +0000 (22:12 +0000)]
Add some source comments about worker DNS lookup.

Submitted by: mturk

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

20 years agoRemove unusable code. The constructor and destructor will
William A. Rowe Jr [Wed, 11 Aug 2004 22:10:23 +0000 (22:10 +0000)]
Remove unusable code. The constructor and destructor will
be in proxy_util.  Add a trace.

Submitted by:  mturk, jfclere

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

20 years agoAdded ap_proxy_determine_connection.
William A. Rowe Jr [Wed, 11 Aug 2004 22:05:20 +0000 (22:05 +0000)]
Added ap_proxy_determine_connection.
It will be used both for http and ajp handlers.
Started writing apr_reslist connection pool.

Submitted by: mturk

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

20 years agoupdate transformation
André Malo [Wed, 11 Aug 2004 22:02:15 +0000 (22:02 +0000)]
update transformation

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

20 years agoupdate transformation
André Malo [Wed, 11 Aug 2004 22:02:15 +0000 (22:02 +0000)]
update transformation

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

20 years agoUse pre_pequest function and set proxy_module_conf bound to client
William A. Rowe Jr [Wed, 11 Aug 2004 22:01:55 +0000 (22:01 +0000)]
Use pre_pequest function and set proxy_module_conf bound to client
connection so it cen be obtained inside scheme handlers.

Submitted by: mturk

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

20 years agoAdd ap_proxy_pre_request API function.
William A. Rowe Jr [Wed, 11 Aug 2004 22:00:47 +0000 (22:00 +0000)]
Add ap_proxy_pre_request API function.
It calls the actual module pre_request hook if present

Submitted by: mturk

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

20 years agodup real and fake
William A. Rowe Jr [Wed, 11 Aug 2004 21:59:48 +0000 (21:59 +0000)]
dup real and fake

Submitted by: jfclere

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

20 years agoAdd pre_request and post_request proxy hooks.
William A. Rowe Jr [Wed, 11 Aug 2004 21:56:38 +0000 (21:56 +0000)]
Add pre_request and post_request proxy hooks.
They will be mainly used for loadbalancers for finding and maintaining workers.

Submitted by: mturk

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

20 years agoMake sure that APR_MAJOR_VERSION is defined.
William A. Rowe Jr [Wed, 11 Aug 2004 21:49:40 +0000 (21:49 +0000)]
Make sure that APR_MAJOR_VERSION is defined.

Submitted by: jfclere

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

20 years agoRemove all worker/balancer API's to proxy_util.
William A. Rowe Jr [Wed, 11 Aug 2004 21:46:54 +0000 (21:46 +0000)]
Remove all worker/balancer API's to proxy_util.

Submitted by: mturk

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

20 years ago Missed a 2.0-HEAD proxy back-compat patch
William A. Rowe Jr [Wed, 11 Aug 2004 21:45:53 +0000 (21:45 +0000)]
  Missed a 2.0-HEAD proxy back-compat patch

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

20 years agoAdded API for creating balancers.
William A. Rowe Jr [Wed, 11 Aug 2004 21:44:23 +0000 (21:44 +0000)]
Added API for creating balancers.
Added property  setter for balancers.

Submitted by: mturk

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

20 years agoUse RAW_ARGS instead ITERATE.
William A. Rowe Jr [Wed, 11 Aug 2004 21:30:57 +0000 (21:30 +0000)]
Use RAW_ARGS instead ITERATE.
Add options for connection pool when using ProxyPass

Submitted by: mturk

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

20 years agoMove worker params parsing to a separate function.
William A. Rowe Jr [Wed, 11 Aug 2004 21:29:57 +0000 (21:29 +0000)]
Move worker params parsing to a separate function.
The same will be used for creating ProxyPass connection pools.

Added ttl param to worker for maintaining reslist.

Submitted by: mturk

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

20 years agoMove min,smax and hmax params to worker, so they can be set
William A. Rowe Jr [Wed, 11 Aug 2004 21:27:57 +0000 (21:27 +0000)]
Move min,smax and hmax params to worker, so they can be set
before the connection pool is created

Added init_conn_pool to worker.
Connection pool will either use reslist (if thread number > 1)  or single connection.

Submitted by: mturk

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

20 years agoObtain balancer using API.
William A. Rowe Jr [Wed, 11 Aug 2004 21:26:03 +0000 (21:26 +0000)]
Obtain balancer using API.

Submitted by: mturk

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

20 years agoUse API instead directly obtaining worker and balancer.
William A. Rowe Jr [Wed, 11 Aug 2004 21:25:15 +0000 (21:25 +0000)]
Use API instead directly obtaining worker and balancer.
Add BalancerStickySession and BalanceMember directives.
Add workers and balancers to create and merge config.

Submitted by: mturk

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

20 years agoAdd initial structures for connection pool and load balancer.
William A. Rowe Jr [Wed, 11 Aug 2004 21:20:07 +0000 (21:20 +0000)]
Add initial structures for connection pool and load balancer.

Submitted by: mturk

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

20 years agoEnable backwards compatibility with 2.0-HEAD, define ajp module base,
William A. Rowe Jr [Wed, 11 Aug 2004 21:14:49 +0000 (21:14 +0000)]
Enable backwards compatibility with 2.0-HEAD, define ajp module base,
and note CHANGES so far to proxy

Submitted by: mturk

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

20 years agoWell, we still need that casting :)
William A. Rowe Jr [Wed, 11 Aug 2004 20:48:40 +0000 (20:48 +0000)]
Well, we still need that casting :)

Submitted by: mturk

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

20 years agoUse ajp scheme when doing canonicalise.
William A. Rowe Jr [Wed, 11 Aug 2004 20:48:15 +0000 (20:48 +0000)]
Use ajp scheme when doing canonicalise.

Submitted by: mturk

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

20 years agoRename parse_headers to parse_header.
William A. Rowe Jr [Wed, 11 Aug 2004 20:46:29 +0000 (20:46 +0000)]
Rename parse_headers to parse_header.
Some renaming and style cleanup.

Submitted by: mturk

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

20 years agoClose only when needed.
William A. Rowe Jr [Wed, 11 Aug 2004 20:44:40 +0000 (20:44 +0000)]
Close only when needed.

Submitted by: jfclere

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

20 years agoUse protocol handler defines instead fixed numbers.
William A. Rowe Jr [Wed, 11 Aug 2004 20:44:08 +0000 (20:44 +0000)]
Use protocol handler defines instead fixed numbers.
Makes more sense what's happening.

Submitted by: mturk

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

20 years agoAdded include "ajp.h", and made some casting
William A. Rowe Jr [Wed, 11 Aug 2004 20:43:05 +0000 (20:43 +0000)]
Added include "ajp.h", and made some casting

Submitted by: mturk

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

20 years agoAdd the logic to read the body.
William A. Rowe Jr [Wed, 11 Aug 2004 20:42:00 +0000 (20:42 +0000)]
Add the logic to read the body.

Submitted by: jfclere

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

20 years agoClean useless code.
William A. Rowe Jr [Wed, 11 Aug 2004 20:41:23 +0000 (20:41 +0000)]
Clean useless code.

Submitted by: jfclere

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

20 years agoIntroduce proxy_ajp.c : use --enable-proxy-ajp with configuring Apache.
William A. Rowe Jr [Wed, 11 Aug 2004 20:29:46 +0000 (20:29 +0000)]
Introduce proxy_ajp.c : use --enable-proxy-ajp with configuring Apache.
To load it:
+++
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
+++

And to use it something like:
+++
<Location /examples/>
ProxyPass ajp://backend.example.net:8009/examples/
</Location>
+++

proxy_ajp will not be enabled by default due to ./ajp dependencies

Build magic improvements: mturk, wrowe

Submitted by:  jfclere

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

20 years agoRefer people to mod_rewrite if they need to manipulate the query
Joshua Slive [Wed, 11 Aug 2004 20:03:55 +0000 (20:03 +0000)]
Refer people to mod_rewrite if they need to manipulate the query
string.  (This is a FAQ.)

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

20 years agoNote that mod_expires also sends Cache-Control: max-age.
Joshua Slive [Wed, 11 Aug 2004 16:59:41 +0000 (16:59 +0000)]
Note that mod_expires also sends Cache-Control: max-age.

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

20 years ago* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL),
Joe Orton [Wed, 11 Aug 2004 14:25:30 +0000 (14:25 +0000)]
* modules/ssl/ssl_engine_kernel.c (ssl_callback_SSLVerify_CRL),
* server/log.c (ap_log_pid),
* server/mpm/prefork/prefork.c (accept_mutex_on, accept_mutex_off),
* support/htdbm.c (htdbm_list):
Fix some non-literal format strings (warnings from gcc -Wformat-security).

PR: 30585
Submitted by: Ulf Harnhammar (SITIC), Joe Orton

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

20 years ago* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix potential
Joe Orton [Wed, 11 Aug 2004 13:19:24 +0000 (13:19 +0000)]
* modules/ssl/ssl_engine_io.c (ssl_io_input_read): Fix potential
infinite loop in ssl_io_input_getline if connection is aborted without
inctx->rc being set.

PR: 29964

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

20 years agoIgnore config.* scripts copied from APR.
Joe Orton [Tue, 10 Aug 2004 10:21:07 +0000 (10:21 +0000)]
Ignore config.* scripts copied from APR.

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

20 years agoUpdated list of exported API for NetWare
Jean-Jacques Clar [Mon, 9 Aug 2004 17:41:37 +0000 (17:41 +0000)]
Updated list of exported API for NetWare

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

20 years agoFix typo. is->it
Yoshiki Hayashi [Fri, 6 Aug 2004 06:59:50 +0000 (06:59 +0000)]
Fix typo. is->it

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

20 years agomod_disk_cache: Implement binary format for on-disk header files.
Justin Erenkrantz [Thu, 5 Aug 2004 19:20:19 +0000 (19:20 +0000)]
mod_disk_cache: Implement binary format for on-disk header files.

Justin greatly extended Brian's patch and redid the rest of the storage format.

Submitted by: Brian Akins <bakins web.turner.com>
Reviewed by: Justin Erenkrantz

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

20 years agoRemove cache hooks and custom vtable format in favor of the ap_provider_* API.
Justin Erenkrantz [Thu, 5 Aug 2004 19:12:34 +0000 (19:12 +0000)]
Remove cache hooks and custom vtable format in favor of the ap_provider_* API.

Cache-related configuration directives remain the same.

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

20 years agoReverse the parameters on the apr_ldap_info() call to match the prototype.
Bradley Nicholes [Thu, 5 Aug 2004 16:36:30 +0000 (16:36 +0000)]
Reverse the parameters on the apr_ldap_info() call to match the prototype.

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

20 years agoupdate transformation
André Malo [Thu, 5 Aug 2004 12:04:25 +0000 (12:04 +0000)]
update transformation

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

20 years agofix semantic mistakes and add version hint
André Malo [Thu, 5 Aug 2004 11:56:47 +0000 (11:56 +0000)]
fix semantic mistakes and add version hint

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

20 years agoupdate transformation
André Malo [Thu, 5 Aug 2004 11:37:52 +0000 (11:37 +0000)]
update transformation

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

20 years agofix xml error
André Malo [Thu, 5 Aug 2004 11:27:48 +0000 (11:27 +0000)]
fix xml error

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

20 years ago* modules/experimental/mod_disk_cache.c: Don't call MD5 twice for the same
Justin Erenkrantz [Thu, 5 Aug 2004 09:24:51 +0000 (09:24 +0000)]
* modules/experimental/mod_disk_cache.c: Don't call MD5 twice for the same
  value.

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

20 years agomod_disk_cache: Produce slightly more informative log messages and at more
Justin Erenkrantz [Thu, 5 Aug 2004 08:27:24 +0000 (08:27 +0000)]
mod_disk_cache: Produce slightly more informative log messages and at more
appropriate levels.  (LogLevel info will now only inform you when you are
storing a cache item.  debug is required to show what is being served from
cache.)

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

20 years agomod_auth_ldap backports
Bradley Nicholes [Wed, 4 Aug 2004 23:17:53 +0000 (23:17 +0000)]
mod_auth_ldap backports

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

20 years agodocument AuthDigestEnableQueryStringHack
Geoffrey Young [Wed, 4 Aug 2004 13:02:26 +0000 (13:02 +0000)]
document AuthDigestEnableQueryStringHack

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

20 years agoFixes the build of proxy on Windows. Since the proxy_module is declared
Graham Leggett [Wed, 4 Aug 2004 00:32:07 +0000 (00:32 +0000)]
Fixes the build of proxy on Windows. Since the proxy_module is declared
as extern using AP_MODULE_DECLARE_DATA that expands to dllexport, there
is a LNK2001 error when building proxy_http.
PR:
Obtained from: Mladen Turk <mturk@apache.org>
Submitted by:
Reviewed by:

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

20 years agoRemove LDAP toolkit specific code from util_ldap and mod_auth_ldap.
Graham Leggett [Wed, 4 Aug 2004 00:04:41 +0000 (00:04 +0000)]
Remove LDAP toolkit specific code from util_ldap and mod_auth_ldap.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years agoCopied over from 2.0 docs
Rich Bowen [Tue, 3 Aug 2004 21:38:05 +0000 (21:38 +0000)]
Copied over from 2.0 docs

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

20 years agoAvoid confusion when reading mod_cache code. write_ and read_ often imply
Justin Erenkrantz [Tue, 3 Aug 2004 08:20:21 +0000 (08:20 +0000)]
Avoid confusion when reading mod_cache code.  write_ and read_ often imply
network code; store_ and recall_ are more understandable prefixes in this
context.

Reviewed by: Roy Fielding, Cliff Woolley

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

20 years ago* modules/experimental/mod_disk_cache.c (open_entity): Allow the data file to
Justin Erenkrantz [Mon, 2 Aug 2004 18:39:09 +0000 (18:39 +0000)]
* modules/experimental/mod_disk_cache.c (open_entity): Allow the data file to
  be sent via sendfile() and allow the header file to be buffered.

Reviewed by: Bill Stoddard

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

20 years ago* modules/experimental/mod_cache.c: Rename CACHE_IN to CACHE_SAVE. Our
Justin Erenkrantz [Mon, 2 Aug 2004 17:39:09 +0000 (17:39 +0000)]
* modules/experimental/mod_cache.c: Rename CACHE_IN to CACHE_SAVE.  Our
  standard in-tree convention is _IN is for input filters.  That's not what
  this filter did, so that caused confusion.

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

20 years ago* modules/experimental/mod_disk_cache.c (load_headers): Only validate that the
Justin Erenkrantz [Mon, 2 Aug 2004 17:32:31 +0000 (17:32 +0000)]
* modules/experimental/mod_disk_cache.c (load_headers): Only validate that the
  header file descriptor is available.  (fd is an unnecessary check here.)

Reviewed by: Bill Stoddard

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

20 years ago* modules/experimental/mod_cache.c: Delay no-store check until saving.
Justin Erenkrantz [Mon, 2 Aug 2004 17:30:30 +0000 (17:30 +0000)]
* modules/experimental/mod_cache.c: Delay no-store check until saving.
  (It's a corner case with little benefit in the mainline.)
  (Some nearby style nits also resolved in this patch.)

Reviewed by: Bill Stoddard

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

20 years ago* modules/experimental/mod_cache.h: Remove unnecessary MAX_URL_LENGTH #define.
Justin Erenkrantz [Mon, 2 Aug 2004 17:27:08 +0000 (17:27 +0000)]
* modules/experimental/mod_cache.h: Remove unnecessary MAX_URL_LENGTH #define.

Reviewed by: Bill Stoddard

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

20 years ago* modules/experimental/mod_cache.c (cache_url_handler): Rewrite to be more
Justin Erenkrantz [Mon, 2 Aug 2004 17:25:24 +0000 (17:25 +0000)]
* modules/experimental/mod_cache.c (cache_url_handler): Rewrite to be more
  understandable.  Also, remove bogus checks for MAX_URL_LENGTH and declining
  '/'-terminated URLs.

Reviewed by: Bill Stoddard

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

20 years ago* modules/experimental/mod_cache.h: Always use atomics.
Justin Erenkrantz [Mon, 2 Aug 2004 17:18:15 +0000 (17:18 +0000)]
* modules/experimental/mod_cache.h: Always use atomics.
* modules/experimental/mod_mem_cache.c: Always use atomics.

Reviewed by: Bill Stoddard

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

20 years ago* modules/http/http_request.c (ap_internal_redirect): Call quick_handler
Justin Erenkrantz [Mon, 2 Aug 2004 17:12:32 +0000 (17:12 +0000)]
* modules/http/http_request.c (ap_internal_redirect): Call quick_handler
  when we do an internal redirect to allow caching.  This allows mod_dir
  requests to be cached.

Reviewed by: Bill Stoddard

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

20 years agoRemove duplicate AddCharsets (both old and new:-)
Nick Kew [Mon, 2 Aug 2004 12:23:44 +0000 (12:23 +0000)]
Remove duplicate AddCharsets (both old and new:-)

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

20 years agoFix Bug 22684 and add some additional charsets.
Nick Kew [Mon, 2 Aug 2004 11:28:04 +0000 (11:28 +0000)]
Fix Bug 22684 and add some additional charsets.
Provides a better workaround for Bug 23421.

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

20 years agoTeach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-config
Justin Erenkrantz [Mon, 2 Aug 2004 02:38:16 +0000 (02:38 +0000)]
Teach apxs how to find ap{ru}-$AP{RU}_MAJOR_VERSION-config

(httpd-2.1+ will be APR 1.0 or higher which uses this convention.)

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

20 years agodeveloper/modules.xml.ja exists now
André Malo [Sun, 1 Aug 2004 12:41:55 +0000 (12:41 +0000)]
developer/modules.xml.ja exists now

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

20 years agoConvert to XHTML.
Yoshiki Hayashi [Sun, 1 Aug 2004 06:24:10 +0000 (06:24 +0000)]
Convert to XHTML.

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

20 years agoRemove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
Justin Erenkrantz [Sun, 1 Aug 2004 01:12:30 +0000 (01:12 +0000)]
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
APR_SUCCESS.

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

20 years agoperchild MPM: Fix thread safety problem in the use of longjmp().
Jeff Trawick [Sat, 31 Jul 2004 20:47:49 +0000 (20:47 +0000)]
perchild MPM: Fix thread safety problem in the use of longjmp().

Submitted by:   Tsuyoshi SASAMOTO <nazonazo super.win.ne.jp>
Reviewed by: Jeff Trawick

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

20 years agoUpdate the build procedure comment
Bradley Nicholes [Fri, 30 Jul 2004 21:31:13 +0000 (21:31 +0000)]
Update the build procedure comment

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

20 years agoBackport done
Bradley Nicholes [Fri, 30 Jul 2004 16:27:23 +0000 (16:27 +0000)]
Backport done

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

20 years agooops. while switching to euc-jp I've removed also the html-only .ja.jis files.
André Malo [Thu, 29 Jul 2004 19:23:29 +0000 (19:23 +0000)]
oops. while switching to euc-jp I've removed also the html-only .ja.jis files.
recode to euc-jp and re-add them (only one in 2.1)

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

20 years agoupdate transformation
André Malo [Thu, 29 Jul 2004 18:23:10 +0000 (18:23 +0000)]
update transformation

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

20 years agobuild bootstrap
André Malo [Thu, 29 Jul 2004 17:58:55 +0000 (17:58 +0000)]
build bootstrap

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

20 years agoswitch to EUC-JP which is more stable in transformations than iso-2022-jp
André Malo [Thu, 29 Jul 2004 17:57:15 +0000 (17:57 +0000)]
switch to EUC-JP which is more stable in transformations than iso-2022-jp

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

20 years agoImprove binary compatiblity. This fix was requested of me before it was committed...
Graham Leggett [Thu, 29 Jul 2004 15:18:40 +0000 (15:18 +0000)]
Improve binary compatiblity. This fix was requested of me before it was committed, but it went in anyway - my bad :(
PR:
Obtained from:
Submitted by: Mladen Turk <mturk@apache.org>
Reviewed by:

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

20 years agoAdd load balancer support to the scoreboard in preparation for
Graham Leggett [Wed, 28 Jul 2004 22:50:54 +0000 (22:50 +0000)]
Add load balancer support to the scoreboard in preparation for
load balancing support in mod_proxy.
PR:
Obtained from:
Submitted by: Mladen Turk <mturk@apache.org>
Reviewed by:

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

20 years agomodify to better translation.
Hiroaki Kawai [Wed, 28 Jul 2004 13:36:56 +0000 (13:36 +0000)]
modify to better translation.

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

20 years agomodified to better translation.
Hiroaki Kawai [Tue, 27 Jul 2004 13:28:36 +0000 (13:28 +0000)]
modified to better translation.

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

20 years agoupdate transformation
André Malo [Mon, 26 Jul 2004 12:10:19 +0000 (12:10 +0000)]
update transformation

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

20 years agoUpdate transformation.
Yoshiki Hayashi [Mon, 26 Jul 2004 04:09:36 +0000 (04:09 +0000)]
Update transformation.

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

20 years agoUpdate Japanese translation.
Yoshiki Hayashi [Mon, 26 Jul 2004 04:08:09 +0000 (04:08 +0000)]
Update Japanese translation.

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

20 years agoNew Japanese translation.
Yoshiki Hayashi [Mon, 26 Jul 2004 03:42:54 +0000 (03:42 +0000)]
New Japanese translation.

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