]> granicus.if.org Git - apache/log
apache
21 years agoremove the rest of the artifical string limitations
André Malo [Sun, 24 Aug 2003 00:35:22 +0000 (00:35 +0000)]
remove the rest of the artifical string limitations

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

21 years agocleanup the conditional expression parser for
André Malo [Sun, 24 Aug 2003 00:25:42 +0000 (00:25 +0000)]
cleanup the conditional expression parser for
- improved efficiency and memory footprint
- improved readability
- style
This includes an overhaul of the debugging macros, mostly
that they are not always in the way if one tries to understand
the code ;-)

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

21 years agostyle
André Malo [Sat, 23 Aug 2003 14:22:10 +0000 (14:22 +0000)]
style

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

21 years agocleanup regex stuff. regexps are now handled more graceful
André Malo [Sat, 23 Aug 2003 13:54:17 +0000 (13:54 +0000)]
cleanup regex stuff. regexps are now handled more graceful
(give warnings on out of range or undefined captures).

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

21 years agodon't waste memory, if someone configures another error message or
André Malo [Sat, 23 Aug 2003 03:53:34 +0000 (03:53 +0000)]
don't waste memory, if someone configures another error message or
timeformat during runtime. The common case doesn't need max_string_len
at all and won't be configured more than one or two times.

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

21 years agooverhaul of ap_ssi_parse_string
André Malo [Sat, 23 Aug 2003 03:27:51 +0000 (03:27 +0000)]
overhaul of ap_ssi_parse_string
- improve efficiency and memory footprint (don't use the power-of-two
  allocator)
- allow the combination of out = NULL && length = 0, which means that
  the resulting expansion is unlimited in length

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

21 years agodrop superfluous argument from ap_ssi_parse_string.
André Malo [Fri, 22 Aug 2003 23:14:30 +0000 (23:14 +0000)]
drop superfluous argument from ap_ssi_parse_string.
The new API should now be stable.

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

21 years agocleanup handle_printenv function
André Malo [Fri, 22 Aug 2003 23:03:35 +0000 (23:03 +0000)]
cleanup handle_printenv function

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

21 years agocleanup handle_set function
André Malo [Fri, 22 Aug 2003 22:44:37 +0000 (22:44 +0000)]
cleanup handle_set function

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

21 years agocleanup handle_else and handle_endif functions
André Malo [Fri, 22 Aug 2003 22:03:17 +0000 (22:03 +0000)]
cleanup handle_else and handle_endif functions

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

21 years agocleanup handle_elif function. It now allow only one argument as well.
André Malo [Fri, 22 Aug 2003 21:46:00 +0000 (21:46 +0000)]
cleanup handle_elif function. It now allow only one argument as well.

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

21 years agocleanup handle_if function. It now allow only one expr="..." argument.
André Malo [Fri, 22 Aug 2003 21:35:06 +0000 (21:35 +0000)]
cleanup handle_if function. It now allow only one expr="..." argument.

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

21 years agocleanup handle_flastmod function
André Malo [Fri, 22 Aug 2003 21:16:14 +0000 (21:16 +0000)]
cleanup handle_flastmod function

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

21 years agofix doc typo
Stas Bekman [Fri, 22 Aug 2003 20:57:32 +0000 (20:57 +0000)]
fix doc typo
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoclarify that filter_init_func is used only in the http protocol filters
Stas Bekman [Fri, 22 Aug 2003 20:40:13 +0000 (20:40 +0000)]
clarify that filter_init_func is used only in the http protocol filters
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agocleanup handle_fsize function
André Malo [Fri, 22 Aug 2003 07:40:48 +0000 (07:40 +0000)]
cleanup handle_fsize function

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

21 years agocleanup handle_config function
André Malo [Fri, 22 Aug 2003 05:15:58 +0000 (05:15 +0000)]
cleanup handle_config function

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

21 years agocleanup handle_echo function
André Malo [Fri, 22 Aug 2003 04:54:59 +0000 (04:54 +0000)]
cleanup handle_echo function

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

21 years agocleanup handle_include function.
André Malo [Fri, 22 Aug 2003 04:34:07 +0000 (04:34 +0000)]
cleanup handle_include function.
- use new ctx->argc member
- simplify code nesting and improve readability

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

21 years ago- clean up configuration routines
André Malo [Fri, 22 Aug 2003 02:46:46 +0000 (02:46 +0000)]
- clean up configuration routines
- give bndm a neater interface
- naming style improvements

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

21 years agothese should be const.
André Malo [Fri, 22 Aug 2003 02:23:41 +0000 (02:23 +0000)]
these should be const.

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

21 years agobefore working further, bring some kind of system into the stuff
André Malo [Fri, 22 Aug 2003 00:15:28 +0000 (00:15 +0000)]
before working further, bring some kind of system into the stuff
and (re-)order the code. That should finally improve readability...

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

21 years agofurther cleanup. No *real* code change. (mostly macro cleanup)
André Malo [Thu, 21 Aug 2003 23:29:21 +0000 (23:29 +0000)]
further cleanup. No *real* code change. (mostly macro cleanup)

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

21 years agoadjust mod_cgi and mod_cgid
André Malo [Thu, 21 Aug 2003 22:12:08 +0000 (22:12 +0000)]
adjust mod_cgi and mod_cgid
bump MMN for API change.

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

21 years agobump mod_include's external API. The API is now more simple and expected
André Malo [Thu, 21 Aug 2003 22:01:34 +0000 (22:01 +0000)]
bump mod_include's external API. The API is now more simple and expected
to be better extensible without breaking binary compatibility, since an
opaque pointer to internal structures is part of the public context.
(We can easily add APi functions that operate on this internal struct).

I've tried to keep this change as small as possible - sorry for the big
diff though, but the commit should be atomic. mod_cgi and mod_cgid won't
compile until the next commit, anyway.

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

21 years agoinclude_cmd doesn't imply the CGI interface. That code seems to be
André Malo [Wed, 20 Aug 2003 22:47:52 +0000 (22:47 +0000)]
include_cmd doesn't imply the CGI interface. That code seems to be
a c&p accident.

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

21 years agonow drop the old code
André Malo [Wed, 20 Aug 2003 16:41:27 +0000 (16:41 +0000)]
now drop the old code

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

21 years agomajor overhaul of mod_include's filter parser. Note that the new code
André Malo [Wed, 20 Aug 2003 16:27:18 +0000 (16:27 +0000)]
major overhaul of mod_include's filter parser. Note that the new code
contains a thin wrapper to ensure binary compatibility. (needed for
2.0 backport).

This is a two-tiered commit for better diffs. This one inserts the new
code (old code #if'd out).

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

21 years agostyle
André Malo [Wed, 20 Aug 2003 01:11:11 +0000 (01:11 +0000)]
style

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

21 years agoallow [T=...] forced types to get expanded.
André Malo [Wed, 20 Aug 2003 00:35:48 +0000 (00:35 +0000)]
allow [T=...] forced types to get expanded.

PR: 14223

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

21 years agocleanup apply_rewrite_rule function.
André Malo [Tue, 19 Aug 2003 22:37:38 +0000 (22:37 +0000)]
cleanup apply_rewrite_rule function.
Improve readablity (? ;-) and efficiency.

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

21 years agorename the exp_ctx to rewrite_ctx and widen its scope. That makes
André Malo [Tue, 19 Aug 2003 20:11:32 +0000 (20:11 +0000)]
rename the exp_ctx to rewrite_ctx and widen its scope. That makes
a lot of things easier :)

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

21 years agostressing the notes table is not necessary.
André Malo [Tue, 19 Aug 2003 18:21:30 +0000 (18:21 +0000)]
stressing the notes table is not necessary.

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

21 years agofix %b format to write really "-" if bytes_sent == 0.
André Malo [Tue, 19 Aug 2003 16:03:03 +0000 (16:03 +0000)]
fix %b format to write really "-" if bytes_sent == 0.

Submitted by: Kess

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

21 years agohere applies the same. Don't skip the \0 delimiter when searching
André Malo [Tue, 19 Aug 2003 14:56:12 +0000 (14:56 +0000)]
here applies the same. Don't skip the \0 delimiter when searching
for already applied encodings. Additionally don't compress if *any*
non-identity encoding was applied before. (deflate, pkzip, whatever).

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

21 years agoDoh. If Accept-Encoding contains no gzip token, we skip the 0 delimiter
André Malo [Tue, 19 Aug 2003 12:26:38 +0000 (12:26 +0000)]
Doh. If Accept-Encoding contains no gzip token, we skip the 0 delimiter
and search for "gzip" somehwere in the memory. This was originally discovered
by Joe Orton. But there's more. We must skip any parameters, since these
do not contain what we're looking for.

PR: 21523

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

21 years agofix misleading ap_get_token description
André Malo [Tue, 19 Aug 2003 12:00:13 +0000 (12:00 +0000)]
fix misleading ap_get_token description

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

21 years agoCatch an edge case, where strange subsequent RewriteRules
André Malo [Tue, 19 Aug 2003 00:52:43 +0000 (00:52 +0000)]
Catch an edge case, where strange subsequent RewriteRules
could lead to a 400 (Bad Request) response. Example:

<Directory /path>
    RewriteEngine on
    RewriteBase /
    RewriteRule foo /bar
    RewriteRule bar baz
</Directory>

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

21 years agoFix LA-U and LA-F lookups in directory context. Previously
André Malo [Tue, 19 Aug 2003 00:36:58 +0000 (00:36 +0000)]
Fix LA-U and LA-F lookups in directory context. Previously
the current rewrite state was just used as lookup path, which lead to
strange and often useless results.

Related to PR 8493.

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

21 years agodoh. the permission thing is independent from rewrite log
André Malo [Mon, 18 Aug 2003 21:57:45 +0000 (21:57 +0000)]
doh. the permission thing is independent from rewrite log

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

21 years agouse a context structure to hold expansion information. This makes some
André Malo [Mon, 18 Aug 2003 21:52:22 +0000 (21:52 +0000)]
use a context structure to hold expansion information. This makes some
things easier (in future commits :-)

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

21 years agoAdd extension for XUL (PR#20558).
Erik Abele [Sun, 17 Aug 2003 14:36:55 +0000 (14:36 +0000)]
Add extension for XUL (PR#20558).

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

21 years agoChange Listen directive to bind to all addresses returned by
Justin Erenkrantz [Fri, 15 Aug 2003 02:25:41 +0000 (02:25 +0000)]
Change Listen directive to bind to all addresses returned by
apr_sockaddr_info_get when a hostname is not specified.

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

21 years agoMore fun with IPv6 Listen statements.
Justin Erenkrantz [Thu, 14 Aug 2003 00:05:26 +0000 (00:05 +0000)]
More fun with IPv6 Listen statements.

- Remove the default_family declaration as it is no longer used.
- Fix segfault if checking NULL sa->hostname.
- Cycle through the bind_addr list if we get an error creating an IPv6 socket
  and we're IPv6 enabled and the binding address is NULL.  The odds are that
  we just can't support IPv6.  (The twist is that apr_sockaddr_info_get should
  return bind_addr's for IPv6 and IPv4.  This strikes me as slightly more
  elegant than the find_default_family hack.)

This should get us working on Linux and Netware again.

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

21 years agosigh.
Cliff Woolley [Wed, 13 Aug 2003 21:01:41 +0000 (21:01 +0000)]
sigh.

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

21 years agospelling fix
Stas Bekman [Wed, 13 Aug 2003 20:50:04 +0000 (20:50 +0000)]
spelling fix
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoCorrect failure with Listen directives on machines with IPv6 enabled by
Justin Erenkrantz [Wed, 13 Aug 2003 19:17:45 +0000 (19:17 +0000)]
Correct failure with Listen directives on machines with IPv6 enabled by
removing find_default_family() and letting APR determine what should be done
without a hostname.

This patch requires the corollary APR patch to properly call getaddrinfo().

(Justin modified Colm's patch to always walk the old listeners even when
we have an address.  That part of the patch wasn't really relevant.)

Submitted by: Colm MacC�rthaigh <colm@stdlib.net>
Reviewed by: Justin Erenkrantz

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

21 years agoforgot this.
Cliff Woolley [Tue, 12 Aug 2003 21:02:00 +0000 (21:02 +0000)]
forgot this.

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

21 years agoMake mod_ssl consistent with itself when you have a halfass install of
Cliff Woolley [Tue, 12 Aug 2003 20:58:53 +0000 (20:58 +0000)]
Make mod_ssl consistent with itself when you have a halfass install of
openssl-engine (ie, you're missing the headers).  ssl_cmd_SSLCryptoDevice()
is thrown away by the preprocessor if you're missing the header, so the
call to it should have the same condition applied.  otherwise, mod_ssl
will fail to link.

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

21 years ago Fix bug in mod_deflate, which was passing calling deflate()
Stas Bekman [Tue, 12 Aug 2003 17:46:29 +0000 (17:46 +0000)]
 Fix bug in mod_deflate, which was passing calling deflate()
     without checkinig first whether it has something to deflate. (currently
     this causes deflate to generate a fatal error according to the zlib spec).
     PR 22259.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoTypo
Martin Kraemer [Mon, 11 Aug 2003 08:03:41 +0000 (08:03 +0000)]
Typo

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

21 years agofix some declarations so dump_bucket and dump_brigade will work in gdb-5.3
Brian Pane [Sat, 9 Aug 2003 20:28:07 +0000 (20:28 +0000)]
fix some declarations so dump_bucket and dump_brigade will work in gdb-5.3

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

21 years agoUpdate transformations.
Erik Abele [Sat, 9 Aug 2003 14:52:57 +0000 (14:52 +0000)]
Update transformations.

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

21 years agoRemoved index.html.fr at request of Vincent Deffontaines <vincent@gryzor.com>.
Erik Abele [Fri, 8 Aug 2003 23:01:46 +0000 (23:01 +0000)]
Removed index.html.fr at request of Vincent Deffontaines <vincent@gryzor.com>.

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

21 years agoTrivial change to reporting an error when an identity spoof is
Sander Striker [Fri, 8 Aug 2003 09:34:20 +0000 (09:34 +0000)]
Trivial change to reporting an error when an identity spoof is
encountered with respect to FakeBasicAuth.

Submitted by: Greg Stein

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

21 years agoAdd an error msg when encountering a spoofed identity. If this would
Sander Striker [Thu, 7 Aug 2003 23:57:11 +0000 (23:57 +0000)]
Add an error msg when encountering a spoofed identity.  If this would
have been here in the first place.  Makes issues like these be found
easier in the future.

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

21 years agosplit ap_process_resource_config into two functions (since we don't wanna
André Malo [Thu, 7 Aug 2003 16:38:19 +0000 (16:38 +0000)]
split ap_process_resource_config into two functions (since we don't wanna
change the api). Only the first one (the ap_ entry point) now checks
for fnmatch and the second one will be called for every file/directory
included.
This, however, avoids infinite recursions, if a filename contains
wildcard characters.

PR: 22194

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

21 years agofix extern "C" declaration
André Malo [Thu, 7 Aug 2003 14:13:11 +0000 (14:13 +0000)]
fix extern "C" declaration

PR: 22203
Submitted by: Arno Bakker <arno@cs.vu.nl>

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

21 years agoFix FakeBasicAuth for subrequests. This was reported via issue
Sander Striker [Thu, 7 Aug 2003 01:53:11 +0000 (01:53 +0000)]
Fix FakeBasicAuth for subrequests.  This was reported via issue
#1364 in Subversion:

  http://subversion.tigris.org/issues/show_bug.cgi?id=1364

The fix is to make mod_ssl's check_user_id hook stop tripping
over it's own checks in case of a subrequest.  That is, it
should DECLINE in case of a subrequest.

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

21 years agodrop the test, whether apr_brigade_create returns NULL. It does never
André Malo [Wed, 6 Aug 2003 21:38:58 +0000 (21:38 +0000)]
drop the test, whether apr_brigade_create returns NULL. It does never
(dumps core instead :-)

Submitted by: Cliff Woolley

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

21 years agouse bucket brigades directly when reading PUT data. This avoids
André Malo [Wed, 6 Aug 2003 14:46:48 +0000 (14:46 +0000)]
use bucket brigades directly when reading PUT data. This avoids
problems with content-length-modifying input filter (like deflate).

PR: 22104
Some stuff submitted by: tim@robbins.dropbear.id.au (Tim Robbins)

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

21 years agodefault_limit_req_body constant doesn't exist.
André Malo [Wed, 6 Aug 2003 13:57:29 +0000 (13:57 +0000)]
default_limit_req_body constant doesn't exist.

Submitted by: Milan Roubal <roubm9am@barbora.ms.mff.cuni.cz>

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

21 years agothese 3 bugs were reported long time ago, but there are still there. The entries
Stas Bekman [Wed, 6 Aug 2003 04:02:34 +0000 (04:02 +0000)]
these 3 bugs were reported long time ago, but there are still there. The entries
include links to the threads where these bugs were discussed
PR:
Obtained from:
Submitted by:
Reviewed by:

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

21 years agoremove superfluous (heya Cliff) space from log string.
André Malo [Wed, 6 Aug 2003 00:15:49 +0000 (00:15 +0000)]
remove superfluous (heya Cliff) space from log string.

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

21 years agohook mimetype-forcing into fixup/LAST. This leads to consistent
André Malo [Tue, 5 Aug 2003 23:04:05 +0000 (23:04 +0000)]
hook mimetype-forcing into fixup/LAST. This leads to consistent
behaviour (server context vs. directory context), overrides all statically
configured mime types and doesn't clobber multiviews any longer.

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

21 years ago Although we initialize mc->pid in the child init phase,
William A. Rowe Jr [Tue, 5 Aug 2003 22:49:42 +0000 (22:49 +0000)]
  Although we initialize mc->pid in the child init phase,
  we haven't initialized it before initially performing
  our ssl_rand_seed() in the parent/postconfig phase.

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

21 years agoadd a comment for future editors
André Malo [Tue, 5 Aug 2003 21:18:47 +0000 (21:18 +0000)]
add a comment for future editors
no code change.

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

21 years agoThere are different kinds of people:
André Malo [Tue, 5 Aug 2003 18:45:53 +0000 (18:45 +0000)]
There are different kinds of people:

- the good      English speaking people
- the bad       English speaking people
- and the ugly  ones, who should not even try to do so

I think, I'm one of the latter group.
Thanks to Thom May :)

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

21 years agoword smithing / grammar
André Malo [Tue, 5 Aug 2003 17:44:02 +0000 (17:44 +0000)]
word smithing / grammar

Submitted by: Jeff Trawick

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

21 years agomake clear, that we *know* the RewriteLog directive, even if we
André Malo [Tue, 5 Aug 2003 12:12:21 +0000 (12:12 +0000)]
make clear, that we *know* the RewriteLog directive, even if we
don't support it. Thanks to kess for pointing this out.

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

21 years agointroduce REWRITELOG_DISABLED compiler option, which -- if supplied --
André Malo [Mon, 4 Aug 2003 23:43:39 +0000 (23:43 +0000)]
introduce REWRITELOG_DISABLED compiler option, which -- if supplied --
strips all logging code from mod_rewrite. This is meant as a performance
improvement for production sites, not as a recommended compiler option
for public distributions.

At least conceptionally this was
Reviewed by: Justin Erenkrantz, Mads Toftum, Thom May,
David Burry <dburry@tagnet.org>

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

21 years agoremove unneccessary assignment
André Malo [Mon, 4 Aug 2003 22:05:43 +0000 (22:05 +0000)]
remove unneccessary assignment

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

21 years agoimprove expansion performance.
André Malo [Mon, 4 Aug 2003 21:47:08 +0000 (21:47 +0000)]
improve expansion performance.
If we have only small expansions (like just one variable - often used
in map keys or the like), don't stress the pool with allocating
memory for the linked result pointer list. This list can be safely
stored on the stack.

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

21 years agoRemove the general not-updated warning for perf-tuning,
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

21 years agocleanup compare_lexicography function.
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

21 years agoinline some functions for faster processing.
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

21 years agosubreq_ok *is* a macro.
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

21 years agocleanup the add_cookie function a bit.
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

21 years agoincorporate the add_env_variable function in do_expand_env.
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

21 years agostyle
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

21 years agodistinguish between these two states:
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

21 years agorestore a check for write failures which was lost for non-SSL builds
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

21 years agosync
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

21 years agoAs suggested by Marc Slemko, document the double reverse
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

21 years agogcc doesn't catch the logic and throws a warning about uninitialized
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

21 years agoupdate transformation
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

21 years agoremove some unnecessary memory operations
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

21 years agoremove artifical limitation of number of env and cookie flags
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

21 years ago Correct the declaration of the PFN_GETEXTENSIONVERSION type,
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

21 years agothis patch was reverted.
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

21 years agocleanup RewriteCond evaluation.
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

21 years agoRewritemap improvement:
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

21 years agocleanup parseargline function to be more efficient and better readable.
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

21 years agoNew german translation of mod_actions based on english revision 1.14
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

21 years agocleanup expand_tildepath function to use the pool and be more
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

21 years agoBe more precise what type mean
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

21 years agominor optimization: the bracket search functions just search
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

21 years agothis was a two-tiered commit for better diffs.
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

21 years agospeed up variable lookup. It's expected to be faster
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

21 years ago Standardize on example.com names, never bogus your-server.name style
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