]> granicus.if.org Git - apache/log
apache
20 years ago- style & readability
André Malo [Mon, 28 Jul 2003 23:41:18 +0000 (23:41 +0000)]
- style & readability
- procattr_cmd_type_set was called twice. shoot one.

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

20 years agointegrate the random functions into the select_random_value_part
André Malo [Mon, 28 Jul 2003 23:06:54 +0000 (23:06 +0000)]
integrate the random functions into the select_random_value_part
function. This is the only place where they are needed. It is
not necessary to add extra cycles for function calls here.

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

20 years agocleanup fully_qualify_uri function
André Malo [Mon, 28 Jul 2003 22:48:51 +0000 (22:48 +0000)]
cleanup fully_qualify_uri function

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

20 years agocleanup splitout_queryargs function.
André Malo [Mon, 28 Jul 2003 21:59:43 +0000 (21:59 +0000)]
cleanup splitout_queryargs function.
- don't compute strlen more than one time
- use ap_strchr instead of strchr

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

20 years agocleanup rewritelog function.
André Malo [Mon, 28 Jul 2003 21:31:06 +0000 (21:31 +0000)]
cleanup rewritelog function.
- shorten the code
- improve efficiency and readability
- get a rid of fixed buffers
- use %pp format string for pointers

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

20 years agoaxe a special check for EOF+data from apr_file_gets()... apr_file_gets()
Jeff Trawick [Mon, 28 Jul 2003 20:10:42 +0000 (20:10 +0000)]
axe a special check for EOF+data from apr_file_gets()...  apr_file_gets()
doesn't return that combination of conditions any more

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

20 years agoMention the limitations of ProxyPassReverse, and reference Nick Kew's
Joshua Slive [Mon, 28 Jul 2003 15:53:19 +0000 (15:53 +0000)]
Mention the limitations of ProxyPassReverse, and reference Nick Kew's
mod_proxy_html.

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

20 years agoInstall config.nice into the build/ directory to make
Joshua Slive [Mon, 28 Jul 2003 15:35:15 +0000 (15:35 +0000)]
Install config.nice into the build/ directory to make
minor version upgrades easier.

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

20 years agoallow piped rewrite logs to be relative to serverroot
André Malo [Mon, 28 Jul 2003 15:32:27 +0000 (15:32 +0000)]
allow piped rewrite logs to be relative to serverroot

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

20 years agoexit(1) should never occur in any module. Stay away from it.
André Malo [Mon, 28 Jul 2003 14:53:32 +0000 (14:53 +0000)]
exit(1) should never occur in any module. Stay away from it.

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

20 years agoa long time ago ...
André Malo [Mon, 28 Jul 2003 14:18:45 +0000 (14:18 +0000)]
a long time ago ...
REWRITELOCK_MODE wasn't used anymore for ages. In the meantime it defined
the mode of the rewritelog (sic!) file. So fix the misnaming and
use constants for mode and open flags.

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

20 years agoAdd some documentation on upgrading from one minor version to the next.
Joshua Slive [Mon, 28 Jul 2003 14:16:00 +0000 (14:16 +0000)]
Add some documentation on upgrading from one minor version to the next.

Reviewed by: Mads Toftum, Erik Abele, Michael Schroepl

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

20 years agocleanup current_logtime function.
André Malo [Mon, 28 Jul 2003 13:02:37 +0000 (13:02 +0000)]
cleanup current_logtime function.
use sizeof where sizeof should be used.
don't compute strlen again and again (use the supplied value
from apr_strftime instead).

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

20 years agoadd the ability to change the maximum txt:map line length at
André Malo [Mon, 28 Jul 2003 12:30:42 +0000 (12:30 +0000)]
add the ability to change the maximum txt:map line length at
compile time without patching the code

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

20 years agoSync changes with backported patches.
Justin Erenkrantz [Mon, 28 Jul 2003 02:09:27 +0000 (02:09 +0000)]
Sync changes with backported patches.

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

20 years agoGet a rid of the oversized cache.
André Malo [Sun, 27 Jul 2003 22:12:49 +0000 (22:12 +0000)]
Get a rid of the oversized cache.
The new map-cache consists of a simple two-tiered apr_hash structure.
cachep->maps contains entries for each map, which point to a hash with
the actual values (map->entries).

Each map->entries hash lives in a subpool of cachep->pool.
The mtime is stored per map and if the map expires, we just clear
map->pool and create a fresh map->entries hash structure.

This removes a big chunk of code from mod_rewrite, improves readability and
even the memory footprint of the cache.

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

20 years agocleanup the select_random_value_part function.
André Malo [Sun, 27 Jul 2003 19:18:27 +0000 (19:18 +0000)]
cleanup the select_random_value_part function.
improve efficiency and readabilty.

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

20 years agoupdate transformation
André Malo [Sun, 27 Jul 2003 16:53:27 +0000 (16:53 +0000)]
update transformation

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

20 years agocleanup lookup_map_dbmfile function.
André Malo [Sun, 27 Jul 2003 14:40:52 +0000 (14:40 +0000)]
cleanup lookup_map_dbmfile function.
improve efficiency and readablity.

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

20 years agocleanup lookup_map_txtfile function.
André Malo [Sun, 27 Jul 2003 13:49:15 +0000 (13:49 +0000)]
cleanup lookup_map_txtfile function.
- improve efficiency
- make it better readable

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

20 years agoavoid unnecessary memory operations
André Malo [Sun, 27 Jul 2003 11:56:06 +0000 (11:56 +0000)]
avoid unnecessary memory operations

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

20 years agocleanup lookup_map function.
André Malo [Sun, 27 Jul 2003 00:08:21 +0000 (00:08 +0000)]
cleanup lookup_map function.
- use switch instead of if-else chain
- collapse txt/rnd code, which is essentially the same
- make it better readable at all.

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

20 years agorewritemaps are identified by name. Store 'em in a hash rather than
André Malo [Sat, 26 Jul 2003 23:04:18 +0000 (23:04 +0000)]
rewritemaps are identified by name. Store 'em in a hash rather than
an array. This is more naturally, efficient (mostly) and better
readable.
Leave deep indentations for now (better diff).

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

20 years agore-add missing headers
André Malo [Sat, 26 Jul 2003 20:47:03 +0000 (20:47 +0000)]
re-add missing headers

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

20 years agooof. Strip all non-public stuff from mod_rewrite.h and
André Malo [Sat, 26 Jul 2003 20:32:24 +0000 (20:32 +0000)]
oof. Strip all non-public stuff from mod_rewrite.h and
reorder the code in mod_rewrite.c in order to get a rid of
the forward declaration. Cleaned up the comments as well.

No real code change, but a quite big diff ...

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

20 years ago- remove to occurences of 'instead' without reference centre
Astrid Malo [Fri, 25 Jul 2003 22:46:38 +0000 (22:46 +0000)]
- remove to occurences of 'instead' without reference centre
- some markup improvement

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

20 years agoremove outdated and more confusing than helping comment.
André Malo [Fri, 25 Jul 2003 20:07:29 +0000 (20:07 +0000)]
remove outdated and more confusing than helping comment.
no code change.

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

20 years agoEnhance some bits of the suEXEC docco to be a bit more precise
Erik Abele [Fri, 25 Jul 2003 18:31:25 +0000 (18:31 +0000)]
Enhance some bits of the suEXEC docco to be a bit more precise
in regard to suEXEC's docroot handling and it's preconditions;
see PR#21873 and #21874.

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

20 years agoAdd votes
Mads Toftum [Fri, 25 Jul 2003 10:54:59 +0000 (10:54 +0000)]
Add votes

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

20 years agoavoid unnecessary memory operation
André Malo [Thu, 24 Jul 2003 23:25:31 +0000 (23:25 +0000)]
avoid unnecessary memory operation

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

20 years agoremove more unnecessary strlen() operations
André Malo [Thu, 24 Jul 2003 23:10:29 +0000 (23:10 +0000)]
remove more unnecessary strlen() operations

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

20 years agoremove another fixed buffer from the stack
André Malo [Thu, 24 Jul 2003 22:48:17 +0000 (22:48 +0000)]
remove another fixed buffer from the stack

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

20 years agoindentation. no code change
André Malo [Thu, 24 Jul 2003 22:24:40 +0000 (22:24 +0000)]
indentation. no code change

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

20 years agovote and extend to do list
Astrid Malo [Thu, 24 Jul 2003 21:50:15 +0000 (21:50 +0000)]
vote and extend to do list

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

20 years agoremove useless post increment.
André Malo [Thu, 24 Jul 2003 20:50:50 +0000 (20:50 +0000)]
remove useless post increment.

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

20 years agoremove more variables from the stack and
André Malo [Thu, 24 Jul 2003 20:29:19 +0000 (20:29 +0000)]
remove more variables from the stack and
increase readability.

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

20 years agominor optimization.
André Malo [Thu, 24 Jul 2003 19:50:45 +0000 (19:50 +0000)]
minor optimization.
this avoids a variable on stack and some internal
pointer operations.

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

20 years agoremove outdated comments about different regex libs
André Malo [Thu, 24 Jul 2003 19:39:11 +0000 (19:39 +0000)]
remove outdated comments about different regex libs

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

20 years agooptimization/cleanup.
André Malo [Thu, 24 Jul 2003 19:06:33 +0000 (19:06 +0000)]
optimization/cleanup.
The generic flagparser (read: lexer) for RewriteRules and RewriteConds
does the same except for one function call.
Collapse these to functions to one and make the result more
readable.

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

20 years agoPrevent the OpenSSL id_callback from pointing at a mod_ssl
Joe Orton [Thu, 24 Jul 2003 15:35:05 +0000 (15:35 +0000)]
Prevent the OpenSSL id_callback from pointing at a mod_ssl
function after mod_ssl is unloaded.

* ssl_util.c (ssl_util_thread_cleanup): Clear the id_callback.

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

20 years agoFix typos.
Joshua Slive [Thu, 24 Jul 2003 15:29:21 +0000 (15:29 +0000)]
Fix typos.

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

20 years agothat loop was totally bogus.
André Malo [Thu, 24 Jul 2003 15:26:56 +0000 (15:26 +0000)]
that loop was totally bogus.
r->content_type contains no more than one c-t
use ap_field_noparam to strip the decoration and
just a single condition to check the validity of r->content_type

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

20 years agodon't reverse the filter order in AddOutputFilterByType
André Malo [Thu, 24 Jul 2003 14:36:54 +0000 (14:36 +0000)]
don't reverse the filter order in AddOutputFilterByType

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

20 years agoRefresh parts of the proxy docs, with special attention to clarifying the
Joshua Slive [Thu, 24 Jul 2003 14:34:00 +0000 (14:34 +0000)]
Refresh parts of the proxy docs, with special attention to clarifying the
security issues in forward and reverse proxy situations.

- Remove the historical narrative in the top section and simply state
the facts.

- Remove the table of contents, since we already generate one for the sidebar.

- Rewrite the forward vs reverse section to be clear on the purpose of
the two types of proxy.

- Add some basic examples of each type of proxy to replace the example removed
from the default config file.

- Add a note to the access control section on forward versus reverse proxys,
and also add a reference to mod_access that got removed at some point.

- Add a warning to the ProxyPass docs that ProxyRequests should be off.

- Shorten some section titles.

I did not add the
ProxyBlock :25
because I don't have a proxy server to test it on at the moment.

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

20 years ago'omit' has one 'm'
Martin Kraemer [Thu, 24 Jul 2003 10:40:54 +0000 (10:40 +0000)]
'omit' has one 'm'

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

20 years agoWithout this hint, users often do not know how to use the proxy in an intranet
Martin Kraemer [Thu, 24 Jul 2003 10:29:01 +0000 (10:29 +0000)]
Without this hint, users often do not know how to use the proxy in an intranet

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

20 years agoFix long-standing typo
Martin Kraemer [Thu, 24 Jul 2003 10:18:03 +0000 (10:18 +0000)]
Fix long-standing typo

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

20 years agoMore votes.
Erik Abele [Wed, 23 Jul 2003 23:54:23 +0000 (23:54 +0000)]
More votes.

PR:
Obtained from:
Submitted by:
Reviewed by:

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

20 years ago- In 2.0 it is possible for LanguagePriority to have an effect, even for
Joshua Slive [Wed, 23 Jul 2003 22:39:24 +0000 (22:39 +0000)]
- In 2.0 it is possible for LanguagePriority to have an effect, even for
a properly configured HTTP/1.1 client.

- Reference MultiViewsMatch.

PR: 21726, 21830

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

20 years agosync
André Malo [Wed, 23 Jul 2003 21:58:11 +0000 (21:58 +0000)]
sync

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

20 years agosync
André Malo [Wed, 23 Jul 2003 20:32:06 +0000 (20:32 +0000)]
sync

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

21 years agoHit a couple files that hadn't been adapted to account
Joshua Slive [Wed, 23 Jul 2003 19:36:36 +0000 (19:36 +0000)]
Hit a couple files that hadn't been adapted to account
for the move from <Directory proxy:> to <proxy>

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

21 years agodon't compute the strlen of dconf->directory three times
André Malo [Wed, 23 Jul 2003 13:32:14 +0000 (13:32 +0000)]
don't compute the strlen of dconf->directory three times

Submitted by: Justin

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

21 years agoremove duped section
André Malo [Wed, 23 Jul 2003 13:01:01 +0000 (13:01 +0000)]
remove duped section

Submitted by: Justin

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

21 years agofix mod_status compilation on Win32 (stolen from mod_dav).
André Malo [Tue, 22 Jul 2003 20:01:43 +0000 (20:01 +0000)]
fix mod_status compilation on Win32 (stolen from mod_dav).

We should consider a rename of AP_*_HOOK_* to CORE_*_HOOK_* ;-)

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

21 years agoDon't attempt to hold all of the response until we're done. We'll pass data on
Justin Erenkrantz [Tue, 22 Jul 2003 05:36:54 +0000 (05:36 +0000)]
Don't attempt to hold all of the response until we're done.  We'll pass data on
when the zlib buffer becomes full and we need to reset the buffer anyway.

Also, tidy up a similar semantic when we see the EOS by returning an error
if ap_pass_brigade gets an error (we'd lose it otherwise).

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

21 years agoFixed a trio of mod include bugs. The first two were
Cliff Woolley [Mon, 21 Jul 2003 23:47:33 +0000 (23:47 +0000)]
Fixed a trio of mod include bugs.  The first two were
reported and investigated by Ron Park on dev@httpd in msgid
<161E04AB9955D54E826FD86360578554D27087@169.32.17.10.nat.cnet.com>;
the third was reported by Kevin Varley in PR 21095.

Bug 1:  An incorrect parameter to bndm() was causing start sequences
        that spanned buckets to drop characters.
Bug 2:  Failed conditional text spanning brigades would cause portions
        of the text that should have been removed to be present anyway.
Bug 3:  Dropped characters when the end sequence spanned an
        8000-byte boundary with MMAP off.

PR: 21095
Submitted by: Ron Park <ronald.park@cnet.com>, Andr� Malo, Cliff Woolley

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

21 years agofurther cleanup, and add esperanto code
André Malo [Mon, 21 Jul 2003 15:39:04 +0000 (15:39 +0000)]
further cleanup, and add esperanto code

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

21 years agoAdd optional hook to extend mod_status output.
Joe Orton [Mon, 21 Jul 2003 14:48:02 +0000 (14:48 +0000)]
Add optional hook to extend mod_status output.

* configure.in: Add modules/generators to include path.

* Makefile.in: Install mod_status.h.

* modules/generators/mod_status.h: New file.

* modules/generators/mod_status.c: Implement ap_run_status_hook.
(status_handler): Run status hooks.

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

21 years agocleanup addlanguage/comments and languagepriority
André Malo [Mon, 21 Jul 2003 12:42:52 +0000 (12:42 +0000)]
cleanup addlanguage/comments and languagepriority

PR: 21743

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

21 years agovote & note
André Malo [Mon, 21 Jul 2003 12:05:09 +0000 (12:05 +0000)]
vote & note

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

21 years agoPrevent segfaults after SSL renegotiation failures.
Joe Orton [Mon, 21 Jul 2003 12:02:40 +0000 (12:02 +0000)]
Prevent segfaults after SSL renegotiation failures.

* modules/ssl/ssl_engine_kernel.c (ssl_hook_Access): Set aborted flag
after renegotiation failure.

* modules/ssl/ssl_engine_io.c (ssl_filter_write, ssl_io_filter_output):
Don't dereference BIOs in filter_ctx when filter_ctx->pssl is NULL.
(ssl_filter_io_shutdown): Set aborted flag on abortive shutdown.

PR: 21370
Submitted by: Hartmut Keil <Hartmut.Keil@adnovum.ch>
Cleaned up by: Jeff Trawick, Joe Orton

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

21 years agoreject overlong credentials from the commandline
André Malo [Mon, 21 Jul 2003 11:41:01 +0000 (11:41 +0000)]
reject overlong credentials from the commandline

Acked by: Cliff Woolley

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

21 years agoVote; note something missing in sections.html, and decrease the priority
Joshua Slive [Fri, 18 Jul 2003 18:33:06 +0000 (18:33 +0000)]
Vote; note something missing in sections.html, and decrease the priority
of the var/ issue.

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

21 years agowhen prefixing document root, use the core translator instead
André Malo [Fri, 18 Jul 2003 00:38:44 +0000 (00:38 +0000)]
when prefixing document root, use the core translator instead
of baking our own. The core function is much better maintained
and probably more safe.
Additionally this removes just another fixed buffer :)

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

21 years agoupdate transformation
André Malo [Thu, 17 Jul 2003 22:26:55 +0000 (22:26 +0000)]
update transformation

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

21 years agostep two: get a rid of the old do_expand function.
André Malo [Thu, 17 Jul 2003 21:22:50 +0000 (21:22 +0000)]
step two: get a rid of the old do_expand function.

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

21 years agooptimization; rewrite the do_expand function in order to:
André Malo [Thu, 17 Jul 2003 21:18:02 +0000 (21:18 +0000)]
optimization; rewrite the do_expand function in order to:
  + give it a better interface
  + get a rid of most of the fixed stack buffers and then
  + no longer limit rewritten uris, expanded variables etc to
    2k
  + make it better readable and understandable at all.

This is a two-tiered commit for better diffs.

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

21 years agoSpeed up ap_md5digest() a little.
Joe Orton [Thu, 17 Jul 2003 16:17:04 +0000 (16:17 +0000)]
Speed up ap_md5digest() a little.

* util_md5.c (ap_md5digest): Use a larger buffer; ensure size is a
multiple of 64 to prevent buffering in MD5 code.  Remove redundant
'length' variable.  Reset read size in case of short reads.

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

21 years agoOops. Replace * with *:80 in the <VirtualHost> example also.
Rich Bowen [Wed, 16 Jul 2003 19:33:09 +0000 (19:33 +0000)]
Oops. Replace * with *:80 in the <VirtualHost> example also.

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

21 years agoReplace NameVirtualHost * with NameVirtualHost *:80 in the example
Rich Bowen [Wed, 16 Jul 2003 19:29:32 +0000 (19:29 +0000)]
Replace NameVirtualHost * with NameVirtualHost *:80 in the example
config.

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

21 years agoadd some linebreaks and reorder case alphabetically for better
André Malo [Wed, 16 Jul 2003 19:01:05 +0000 (19:01 +0000)]
add some linebreaks and reorder case alphabetically for better
readability. No code changes.

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

21 years agooptimization: no need to use the pool here. This is
André Malo [Wed, 16 Jul 2003 18:23:37 +0000 (18:23 +0000)]
optimization: no need to use the pool here. This is
obviously a static value.

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

21 years agooptimization:
André Malo [Wed, 16 Jul 2003 17:27:26 +0000 (17:27 +0000)]
optimization:
- add comment about what subst_prefix_path function does
- reduce the use of fixed buffers
- get a rid of unnecessary memory operations

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

21 years agoJust fixing some improperly formatted entries.
Paul J. Reder [Wed, 16 Jul 2003 17:07:05 +0000 (17:07 +0000)]
Just fixing some improperly formatted entries.

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

21 years agoSwitch ap_filter_flush() to ap_pass_brigade(). This removes a layer of
Greg Stein [Wed, 16 Jul 2003 06:31:53 +0000 (06:31 +0000)]
Switch ap_filter_flush() to ap_pass_brigade(). This removes a layer of
function calls, provides type safety for the ap_filter_t*, and
clarifies what is really going on (i.e. we aren't sending a FLUSH
bucket of any kind).

* mod_dav.c (dav_send_multistatus, dav_method_propfind): change the
    ap_filter_flush call to ap_pass_brigade; flip the params to match
    the prototype.

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

21 years ago* util_filter.h (ap_filter_flush): clarify that this function has
Greg Stein [Wed, 16 Jul 2003 06:24:07 +0000 (06:24 +0000)]
* util_filter.h (ap_filter_flush): clarify that this function has
    nothing to do with FLUSH buckets. It is simply a cover function
    for ap_pass_brigade for use with the apr_brigade_* writing
    functions.

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

21 years agooptimization: speed up ruleflag parsing.
André Malo [Wed, 16 Jul 2003 01:04:23 +0000 (01:04 +0000)]
optimization: speed up ruleflag parsing.

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

21 years agooptimization: no need to search linear for headers.
André Malo [Tue, 15 Jul 2003 23:30:40 +0000 (23:30 +0000)]
optimization: no need to search linear for headers.
apr_table_get should be more efficient nearly always.

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

21 years agooptimization: rewrite reduce_uri function:
André Malo [Tue, 15 Jul 2003 22:29:38 +0000 (22:29 +0000)]
optimization: rewrite reduce_uri function:
get a rid of static buffers and unnecessary memory operations

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

21 years agoUpdate the header token parsing code to allow LWS between the
Paul J. Reder [Tue, 15 Jul 2003 21:41:23 +0000 (21:41 +0000)]
Update the header token parsing code to allow LWS between the
token word and the ':' seperator.  [PR 16520]
[submitted: Kris Verbeeck <kris.verbeeck@advalvas.be> and
            Nicel KM <mnicel@yahoo.com>]
[Reviewed: <coad@measurement-factory.com> and
           Paul J. Reder]

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

21 years agoEliminate creation of a temporary table in ap_get_mime_headers_core()
Paul J. Reder [Tue, 15 Jul 2003 21:03:09 +0000 (21:03 +0000)]
Eliminate creation of a temporary table in ap_get_mime_headers_core()
Submitted by:   Joe Schaefer <joe+gmane@sunstarsys.com>
Reviewed by:    Brian Pane
Backported by:  Paul J. Reder

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

21 years agominor optimization. No need to use a function overhead here.
André Malo [Tue, 15 Jul 2003 20:38:04 +0000 (20:38 +0000)]
minor optimization. No need to use a function overhead here.

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

21 years agoNamespace protected the table label.
Paul J. Reder [Tue, 15 Jul 2003 18:43:41 +0000 (18:43 +0000)]
Namespace protected the table label.

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

21 years agoIgnore RewriteRules in .htaccess files if the directory
André Malo [Tue, 15 Jul 2003 17:49:03 +0000 (17:49 +0000)]
Ignore RewriteRules in .htaccess files if the directory
containing the .htaccess file is requested without a trailing slash.

PR: 20195

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

21 years agoIf a directory contains a file listed in the
André Malo [Tue, 15 Jul 2003 13:22:03 +0000 (13:22 +0000)]
If a directory contains a file listed in the
DirectoryIndex directive, the folder icon is no longer replaced
by the icon of that file.

PR: 9587
Submitted by: David Shane Holden <dpejesh@yahoo.com>

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

21 years agoReverse the URL change in previous commit. Also fix the name of link.
Yoshiki Hayashi [Tue, 15 Jul 2003 08:29:45 +0000 (08:29 +0000)]
Reverse the URL change in previous commit.  Also fix the name of link.

Thanks Andre for catching this.

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

21 years agostrip trailing spaces of groupnames.
André Malo [Mon, 14 Jul 2003 23:23:00 +0000 (23:23 +0000)]
strip trailing spaces of groupnames.

PR: 12863

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

21 years agoRemove some extraneous code committed as part of the fix for 13946 pointed
Paul J. Reder [Mon, 14 Jul 2003 19:30:14 +0000 (19:30 +0000)]
Remove some extraneous code committed as part of the fix for 13946 pointed
out by Andre Malo. [Paul J. Reder]

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

21 years agomention the new capability for input filters
Jeff Trawick [Mon, 14 Jul 2003 18:12:36 +0000 (18:12 +0000)]
mention the new capability for input filters

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

21 years agoremove my in-line comments
Roy T. Fielding [Mon, 14 Jul 2003 18:07:33 +0000 (18:07 +0000)]
remove my in-line comments

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

21 years agomod_ssl: Fix a problem setting variables that represent the
Jeff Trawick [Mon, 14 Jul 2003 17:28:14 +0000 (17:28 +0000)]
mod_ssl: Fix a problem setting variables that represent the
client certificate chain.

PR:  21371

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

21 years agoRemember an authenticated user during internal redirects if the
André Malo [Mon, 14 Jul 2003 17:24:38 +0000 (17:24 +0000)]
Remember an authenticated user during internal redirects if the
redirection target is not access protected and pass it
to scripts using the REDIRECT_REMOTE_USER environment variable.

PR: 10678, 11602.

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

21 years agonot valid to modify string pointed to by szCryptoDevice... it points to a
Jeff Trawick [Mon, 14 Jul 2003 17:16:47 +0000 (17:16 +0000)]
not valid to modify string pointed to by szCryptoDevice...  it points to a
static string or something parsed from the config

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

21 years agoOoops, forgot the PR number for my recent mod_rewrite commit (PR #13946)...
Paul J. Reder [Mon, 14 Jul 2003 16:45:05 +0000 (16:45 +0000)]
Ooops, forgot the PR number for my recent mod_rewrite commit (PR #13946)...

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

21 years agomod_rewrite: fix a problem in the proxy support of mod_rewrite. The broken
Paul J. Reder [Mon, 14 Jul 2003 16:40:13 +0000 (16:40 +0000)]
mod_rewrite: fix a problem in the proxy support of mod_rewrite. The broken
code was inserting multiple "proxy:" fields in the rewritten URIs.
[Submitted by:  Eider Oliveira <eider@bol.com.br>]
[Updated and reviewed by: Paul J. Reder]

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

21 years agodocument handler passing
André Malo [Mon, 14 Jul 2003 16:11:07 +0000 (16:11 +0000)]
document handler passing

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

21 years agoPropagate the handler name to the action script via
André Malo [Mon, 14 Jul 2003 16:04:47 +0000 (16:04 +0000)]
Propagate the handler name to the action script via
the REDIRECT_HANDLER environment variable.

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

21 years agomod_ext_filter: Set additional environment variables for use by
Jeff Trawick [Mon, 14 Jul 2003 15:08:07 +0000 (15:08 +0000)]
mod_ext_filter: Set additional environment variables for use by
the external filter.

PR:    20944

The missing code was identified by Andrew Ho, coded/tested by Jeff
Trawick, and verified yet again by Neil Fraser.

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

21 years agono need to open error log for reading
Jeff Trawick [Mon, 14 Jul 2003 14:48:40 +0000 (14:48 +0000)]
no need to open error log for reading

Submitted by: Bjoern A. Zeeb
Reviewed by: Jeff Trawick, who added the same change to another path

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