1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

8575 Commits

Author SHA1 Message Date
Joshua Slive
f291368896 Update the filter documentation to mention AddInput/OutputFilter and
DEFLATE.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94907 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 17:52:21 +00:00
Joshua Slive
944952d554 Further cleanup of mod_mime docs:
- Shorten up the summary a little.
- Remove some cross-references where the link is already in the directive text.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94906 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 17:46:35 +00:00
Joshua Slive
a44c5833fd Some cleanup, cross-referencing, and description additions for mod_mime.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94905 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 15:10:28 +00:00
Joshua Slive
1323bf7d56 Update transformations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94904 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 14:37:13 +00:00
Joshua Slive
b476bfcb02 Be a little more specific about what Location matches against.
PR: 8569


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94903 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 14:34:36 +00:00
Joshua Slive
9c77edcb95 Bring tutorial page updates forward from 1.3, but preserve the "this may be
out of date" warning.

PR: 8696


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94902 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 14:28:52 +00:00
Brian Pane
8d637c1f13 Performance fixes:
* eliminate some copying of sub-parts of the content type in analyze_ct()
* take advantage of the fact that we know the lengths of those sub-parts
  in find_ct() to avoid having to recompute their length for concatenation

The charset handling code needs the same type of optimization eventually.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94900 13f79535-47bb-0310-9956-ffa450edef68
2002-05-02 03:19:44 +00:00
Paul J. Reder
37060b992e Fix some minor formatting issues with ab. Part of this is
in reference to PR 8544, the rest I noticed while testing
     the PR fix. [Paul J. Reder]

Submitted By: Carlo Marcelo Arenas Belon
Reviewed By:  Paul J. Reder


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94898 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 21:17:18 +00:00
Paul J. Reder
241acc7fca Failed to mentionthe PR in the first pass. This just adds the PR number
to the CHANGES file. (PR 8320)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94897 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 20:03:14 +00:00
Paul J. Reder
4a243a466e Fix a case where an invalid pass phrase is entered and an
error message is given, but the prompt is not shown again.
This left the user in an ambiguous state.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94896 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 19:28:52 +00:00
Jeff Trawick
a07f9b83c8 wait for worker threads to exit even in graceless termination
(we already have code to make them exit sooner now)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94892 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 16:05:59 +00:00
William A. Rowe Jr
1aa1043208 Always build this experimental module (which has no library dependencies).
Build failure reported by Jerry Baker to dev@httpd


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94890 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 15:23:13 +00:00
Bill Stoddard
f6b612b4e8 Defer starting the listener until we have at least tried to start all the worker
threads.  We want to get the workers in the pool of available threads ASAP
to keep perform_idle_server_maintenance from thrashing and starting too
many processes prematurely.  The code before this patch would dribble workers
into the worker pool over an extended period of time and this prevented
perform_idle_server_maintenance from accurately deciding when new processes
were needed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94889 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 15:06:44 +00:00
Sander Striker
cfff0fdd0d Update prior to bumping the tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94888 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 10:37:42 +00:00
Justin Erenkrantz
8fb484861e Close sockets on worker MPM when doing a graceless restart. This should
resolve some segfaults see when doing such restarts.

(Justin tweaked the palloc/memset in favor of calloc.)

Submitted by:	Aaron Bannert
Reviewed by:	Greg Ames, Sander Striker, Justin Erenkrantz


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94886 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 07:15:39 +00:00
Brian Pane
e556e52b59 Eliminate some sprintf calls
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94885 13f79535-47bb-0310-9956-ffa450edef68
2002-05-01 06:41:36 +00:00
Bradley Nicholes
319d1c81de NetWare make files for building experimental module mod_cache and its
associated support modules.

Submitted by: Jean-Jacques Clar [jjclar@novell.com]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94884 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 22:16:51 +00:00
Bradley Nicholes
60934d2ca2 NetWare make files for building experimental modules mod_deflate,
mod_example and support utilities ab, htdbm and logresolve

Submitted by: Guenter Knauf [eflash@gmx.net]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94883 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 21:54:53 +00:00
Greg Ames
4c4ea8b348 default_handler: move the code to handle unusual methods out of the middle
of the hot path without using goto.

suggested by: Roy Fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94882 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 20:12:26 +00:00
Cliff Woolley
a412db08b2 Revert optimization from circa 2.0.34 that caused very long vhost id's
to be unusable with mod_ssl.

PR: 8572


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94881 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 17:10:12 +00:00
Bradley Nicholes
61b3b73397 Readjusting how the bucket alloc is done for each worker thread. Allocate
the bucket once per thread rather than on every request.  This change
increases our performance significantly.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94880 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 14:32:07 +00:00
Jeff Trawick
b85e4d6d5f Fix the link to the description of the CoredumpDirectory
directive in the server-wide document.

PR:          8643


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94879 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 14:20:29 +00:00
Cliff Woolley
878296f383 note a desirable goal
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94877 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 06:57:22 +00:00
Cliff Woolley
4a0447cf13 SHMCB should not have been using apr_rmm -- it was doing so incorrectly,
for one thing.  But it just plain doesn't need it.  Rip it out to avoid
segfaulting.

Submitted by:  Aaron Bannert


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94876 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 06:48:45 +00:00
Cliff Woolley
0db4d51f74 - Sync with modssl 2.8.8-1.3.24
- Also a minor change to add more useful error
  logging for shmcb startup failures


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94875 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:47:31 +00:00
Bill Stoddard
0ca3410662 mod_cache doc update (note this is still very primitive)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94874 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:41:45 +00:00
Bill Stoddard
47f300e86b Enable mod_mem_cache to be configured to cache open file handle using new
directive option: CacheEnable fd / will enable caching fds. If for some
reason the fd cannot be cached, the directive will effectively morph into
CacheEnable mem /


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94873 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 03:25:12 +00:00
Roy T. Fielding
267591e39f Remove APR_WANT_SIGNAL from apr_want.h because code must include
apr_signal.h in order to get consistent definitions.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94872 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 01:29:11 +00:00
Bill Stoddard
3e32f7de9a remove_entity should only work on complete cache_objects
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94871 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 00:06:16 +00:00
William A. Rowe Jr
c94bb89387 Please, Win32 hackers, review this doc!!! Talk about out of date and
horribly stale.  A dry run report would be a great thing for feedback.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94870 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 21:42:52 +00:00
William A. Rowe Jr
12bade8116 Worth noting, I guess
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94869 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 19:55:49 +00:00
William A. Rowe Jr
d80591d65b Should correctly build mod_ext_filter, mod_deflate dependant upon zlib,
and change the license-add code for openssl+zlib based on the newest
  changes to a global LICENSE for all bundled components.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94868 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 19:53:55 +00:00
Bill Stoddard
be5f867774 Forget to update the error messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94867 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 19:44:47 +00:00
Bill Stoddard
aa750945c8 Name space protect mod_mem_cache config directives
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94866 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 19:09:20 +00:00
Jeff Trawick
d8a43f4959 finish getting apxs to work with a binary build
it now picks up any necessary ld environment variables from
the envvars file when invoking "httpd -l" to verify that
mod_so was included in the build


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94865 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 18:09:02 +00:00
Bradley Nicholes
5dcc1f9915 Fixing up the distribution and install section of the NetWare make files
Submitted by: Guenter Knauf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94863 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 15:10:20 +00:00
Bradley Nicholes
f03539bbd4 Added some missing export to the proxy module
Submitted by: Guenter Knauf


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94862 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 14:35:48 +00:00
William A. Rowe Jr
107f38eed0 Demote to a minor bump for .36 - those affected by API changes should
be a very small subset of modules.  Here are the afflicted types & fns;

apr_explode_time      -> apr_time_exp_tz
apr_explode_localtime -> apr_time_exp_lt
apr_get_groupname     -> apr_group_name_get

deprecated apr_lock_t, apr_os_lock_t and fns, but the warnings
have been there a while so no sympathy.

added dav_hooks_search_t and DASL Search functions.

added apr_cmdtype_e *type arg to mod_cgi opt fn ap_cgi_build_command.

added proxy_fixups hook and ap_proxy_ssl_disable, and
optional fn ssl_engine_disable.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94859 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 12:51:31 +00:00
William A. Rowe Jr
2153835e1b Attach a bugz number
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94858 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 12:30:42 +00:00
Sander Striker
18daafd3f8 Update prior to bumping the tag
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94857 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 08:35:47 +00:00
Brian Pane
4c04f98079 Replaced a sprintf("%d") with itoa
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94856 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 08:05:37 +00:00
Brian Pane
da008d4724 Short-circuit out of mod_userdir's translation handler faster on
non "/~*" requests


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94855 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 07:45:43 +00:00
Brian Pane
879f6fef32 Updated ap_getword_white() to use the same coding style
(and optimizations) as ap_getword()


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94854 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 07:20:46 +00:00
Brian Pane
28a503a41f Updating my vote on the worker MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94853 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 06:59:20 +00:00
Brian Pane
fd2ab2704a Document this weekend's worker MPM changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94852 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 06:56:44 +00:00
Bill Stoddard
05097b8910 Fix spelling/typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94851 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 02:36:10 +00:00
Brian Pane
69371c8cb3 Removed some code from the mutex-protected block in ap_queue_pop().
If the worker thread synchronization is working properly, it's not
necessary to set these fields to NULL after removing an element from
the queue, and it's IMO more important to have a shorter code path
leading up to the mutex_unlock.  I left in support for NULLing the
fields when debugging, though.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94850 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 01:57:39 +00:00
Brian Pane
6d523a8f2c Because mod_imap's handler runs on every request in the default
configuration, rearrange the code to keep it from allocating a few
pages worth of local variables on the stack on requests that don't
use imagemaps


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94849 13f79535-47bb-0310-9956-ffa450edef68
2002-04-29 01:03:17 +00:00
Aaron Bannert
0abe985a2e What did I do today?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94848 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 23:44:13 +00:00
Aaron Bannert
26f565bc6c Don't install *.in config files.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94847 13f79535-47bb-0310-9956-ffa450edef68
2002-04-28 23:41:25 +00:00