]>
granicus.if.org Git - apache/log
Joshua Slive [Mon, 4 Aug 2003 16:50:44 +0000 (16:50 +0000)]
Remove the general not-updated warning for perf-tuning,
since the document is mostly accurate. But since the
accept-mutex section seems a little dated, leave a
warning there. That could use some developer intervention.
Also, remove the author attribution, since large parts
of this have changed since Dean wrote it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100899
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 20:15:50 +0000 (20:15 +0000)]
cleanup compare_lexicography function.
- improve readability
- make sure that unsigned chars are compared
- use apr_size_t for string lengths
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100895
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 19:50:26 +0000 (19:50 +0000)]
inline some functions for faster processing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100894
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 19:14:55 +0000 (19:14 +0000)]
subreq_ok *is* a macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100893
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 19:04:54 +0000 (19:04 +0000)]
cleanup the add_cookie function a bit.
- the if(s) check is superfluid. s is guaranteed to be non-NULL
(except for out of memory)
- strtok as late as possible to save some cycles.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100892
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 18:38:14 +0000 (18:38 +0000)]
incorporate the add_env_variable function in do_expand_env.
I see no real reason to use an extra function call here (other than
decreasing performance :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100891
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Sun, 3 Aug 2003 17:59:55 +0000 (17:59 +0000)]
style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100890
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 1 Aug 2003 10:41:46 +0000 (10:41 +0000)]
distinguish between these two states:
. just issued connect(), polling for writability to find out when connect()
completed
. already connected, waiting for data from the server so polling for
readability
by only polling for writability during the first state, we avoid some
logic in test() which inappropriately writes multiple requests to the
server
btw, the most basic SSL test segfaulted before and after this commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100889
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 1 Aug 2003 08:57:43 +0000 (08:57 +0000)]
restore a check for write failures which was lost for non-SSL builds
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100888
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 31 Jul 2003 23:50:45 +0000 (23:50 +0000)]
sync
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100885
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Thu, 31 Jul 2003 18:56:40 +0000 (18:56 +0000)]
As suggested by Marc Slemko, document the double reverse
effect of Allow/Deny.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100878
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 31 Jul 2003 16:56:28 +0000 (16:56 +0000)]
gcc doesn't catch the logic and throws a warning about uninitialized
fname. Get a rid of it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100877
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Thu, 31 Jul 2003 01:41:37 +0000 (01:41 +0000)]
update transformation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100874
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 21:04:31 +0000 (21:04 +0000)]
remove some unnecessary memory operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100870
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 20:55:35 +0000 (20:55 +0000)]
remove artifical limitation of number of env and cookie flags
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100869
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 30 Jul 2003 19:20:06 +0000 (19:20 +0000)]
Correct the declaration of the PFN_GETEXTENSIONVERSION type,
which gcc was rejecting (for good reasons.)
Submitted by: Eduardo Franco <eduardo.franco@pulso.com.br>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100865
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 17:30:20 +0000 (17:30 +0000)]
this patch was reverted.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100863
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 17:19:36 +0000 (17:19 +0000)]
cleanup RewriteCond evaluation.
- avoid unnecessary memory operations
- parse non-regex patterns at configuration time, which
- gives the ability to throw a useful warning, where [NC] is not supported
- and speeds up processing at runtime
- allow [NC] for simple comparison pattern (=)
- improve readability
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100862
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 13:37:36 +0000 (13:37 +0000)]
Rewritemap improvement:
- map designations are now case insensitive (txt: rNd: PRG: INt:)
- maps may be relative to serverroot, which appears to be _very_
helpful
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100860
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Wed, 30 Jul 2003 00:13:01 +0000 (00:13 +0000)]
cleanup parseargline function to be more efficient and better readable.
It's a quite strange function. I think we can drop it at all. Opinions
anywhere?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100857
13f79535 -47bb-0310-9956-
ffa450edef68
Astrid Malo [Tue, 29 Jul 2003 22:31:06 +0000 (22:31 +0000)]
New german translation of mod_actions based on english revision 1.14
Reviewed by: erikabele, nd
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100856
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 22:19:55 +0000 (22:19 +0000)]
cleanup expand_tildepath function to use the pool and be more
readable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100855
13f79535 -47bb-0310-9956-
ffa450edef68
Astrid Malo [Tue, 29 Jul 2003 22:18:48 +0000 (22:18 +0000)]
Be more precise what type mean
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100854
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 21:37:59 +0000 (21:37 +0000)]
minor optimization: the bracket search functions just search
for curly brackets, so there's no need to supply that every
time again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100853
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 21:01:37 +0000 (21:01 +0000)]
this was a two-tiered commit for better diffs.
Now bust the old function.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100851
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 20:58:29 +0000 (20:58 +0000)]
speed up variable lookup. It's expected to be faster
than a hash (and the previous if-else chain, of course).
This also reverts the wrong patch, committed in r1.151
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100850
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 29 Jul 2003 20:17:07 +0000 (20:17 +0000)]
Standardize on example.com names, never bogus your-server.name style
entries. Roy attacked this recently, but apparently there are some
holdovers or reversions to this policy.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100847
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 29 Jul 2003 18:25:15 +0000 (18:25 +0000)]
ab: Work over non-loopback on Unix again.
(Broken as of 2.0.47 due to dependence on an APR bug which was fixed
in 2.0.47.)
PR: 21495
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100846
13f79535 -47bb-0310-9956-
ffa450edef68
Erik Abele [Tue, 29 Jul 2003 17:30:04 +0000 (17:30 +0000)]
Fixed a typo and validation error.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100844
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 29 Jul 2003 15:15:29 +0000 (15:15 +0000)]
REALLY discourage people from using <Limit>.
(Because people don't necessarily know all the methods that their
server deals with, and because crummy cgi scripts may take
"post" and treat it like "POST" or other similar bad
behavior.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100839
13f79535 -47bb-0310-9956-
ffa450edef68
Erik Abele [Tue, 29 Jul 2003 14:47:13 +0000 (14:47 +0000)]
Added a missing slash.
PR: 21964
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100837
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 29 Jul 2003 13:40:09 +0000 (13:40 +0000)]
I knew I would get in trouble mucking with the build system.
Use topbuilddir rather than topsrcdir to find config.nice.
Submitted by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100835
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 01:14:17 +0000 (01:14 +0000)]
cause a lookup failure in external rewrite maps if
the key contains a newline.
PR: 14453
Submitted originally by: Cedric Gavage <cedric.gavage@unixtech.be>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100833
13f79535 -47bb-0310-9956-
ffa450edef68
André Malo [Tue, 29 Jul 2003 00:33:13 +0000 (00:33 +0000)]
minor optimizations in lookup_map_program function.
- make it compile time configurable, how long
a response from a rewrite map prg may be.
- avoid unnecessary memory operations
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@100832
13f79535 -47bb-0310-9956-
ffa450edef68
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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