c8390b27f4ecccb158272d258bf35629c2a8395a 1649632 |
|
05-Jan-2015 |
jailletc36 |
Be consistant with the code below which accepts lower or upper case. |
b2c17021012bc4f7cd8e374c6bd72b926737320f 1612068 |
|
20-Jul-2014 |
jailletc36 |
Add missing APLOGNO.
Refactor some lines to keep APLOGNO on the same line as ap_log_error, when applicable.
Split lines longer than 80.
Improve alignment. |
753e87c26fffcdfdd65eb59cc97dedde51fcedbc 1490294 |
|
06-Jun-2013 |
minfrin |
Note that the function will be available in APR. |
6500e3d3a94faf2252b7920d63ca8269dfd90c59 1449479 |
|
24-Feb-2013 |
tdonovan |
bug 54548 - use new expr parser with 'elif', like 'if' |
39447f9f1439e28e56399b51fc66e19ffe4730fb 1393058 |
|
02-Oct-2012 |
minfrin |
mod_include: When an include file or virtual path fails, include the result
code that tells us why. |
ec0266d6ab00a82790b4ed5f9aad754d1346e437 1393033 |
|
02-Oct-2012 |
minfrin |
mod_include: When +Includes is not set and we disable mod_include, tell
the administrator where this happened. |
723f28377d133603c20f4986d98992a9c43366ab 1220493 |
|
18-Dec-2011 |
sf |
Various code cleanup to avoid compiler, cppcheck, or clang warnings:
modules/debugging/mod_firehose.c: Make some internal functions static
(to do: logs_cleanup() is unused)
modules/filters/mod_charset_lite.c: Remove dead assignments
modules/filters/mod_include.c: likewise
modules/metadata/mod_usertrack.c: likewise
modules/proxy/mod_proxy_ftp.c: likewise
modules/ssl/ssl_engine_pphrase.c: likewise
modules/proxy/mod_proxy_balancer.c: likewise;
Remove NULL check that can never happen
modules/proxy/proxy_util.c: Axe NULL-check that can never happen and if it
would, it would just mask another bug
os/unix/unixd.c: likewise
modules/http/http_filters.c: Remove sub-condition that is always true
modules/lua/mod_lua.c: Add default cases to switch statements
modules/generators/mod_autoindex.c: Unsigned value can never be < 0
server/util_expr_eval.c: Fix compiler warnings with VC and on OS2 |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
84a18023a77ff3e17abfe7661547ed6d676bb79b 1204183 |
|
20-Nov-2011 |
minfrin |
mod_include: The SSIAccessEnable directive existed to ensure the addition
of the "-A" syntax would not break existing configurations in v2.2. Remove
the directive for v2.4, defaulting the behaviour to enabled. |
81cc440ca73845f44dc589db106d3feb7a36f33b 1194870 |
|
29-Oct-2011 |
minfrin |
mod_include: Add support for application/x-www-form-urlencoded encoding
and decoding. |
d15c6ed1d477fafee22d10c7249bb6372531aed2 1185898 |
|
19-Oct-2011 |
sf |
regex related cleanups:
- use AP_MAX_REG_MATCH where appropriate
- in mod_proxy_ftp, compile the "ls -s1" regex only once instead of once per request
- add some coments |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
c7da4b65f836be94ad80e3c7a80372721f983ca3 1159896 |
|
20-Aug-2011 |
sf |
Simplify some overly complicated code using apr_brigade_putstrs and apr_pstrcat
Submitted by: Christophe Jaillet <christophe jaillet wanadoo fr>,
Stefan Fritsch |
d95a7ac0fe7a06495c3aab5d684b4174f9ab282c 1142164 |
|
02-Jul-2011 |
sf |
Add string valued expressions to ap_expr, do some API cleanup
- add possibility to have expressions that evaluate to a string and not to
a boolean value
- modify ap_expr_parse_cmd() interface to support this and make it more
convenient to use in general
- rename AP_EXPR_FLAGS_* to AP_EXPR_FLAG_* for consistency |
9c1b42149ef83f446267eea07d40076125ae4439 1135252 |
|
13-Jun-2011 |
sf |
Simplify code with ap_str_tolower()
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr> |
f74d4d57712335edc1a6d90c8b6003a45da86f8f 1128617 |
|
28-May-2011 |
sf |
Fix cut'n'paste error |
de2d327e43e0f17cdb64851beafecba96a0ed962 1128614 |
|
28-May-2011 |
sf |
Use the new "ap_expr" expression parser.
The old parser can still be used by setting the new directive
SSILegacyExprParser |
3f7be9c7727cefa246163362d5b94415d2a75fdd 1128557 |
|
28-May-2011 |
sf |
Fix config setting after r1128430 has changed some elements from int to char |
b44565f239485673d9486068588a5fb3af008be9 1128430 |
|
27-May-2011 |
sf |
properly merge directory configs in mod_include |
a9a941ed6ca86039137d64bdc7b1c4fda9d07d12 1125877 |
|
22-May-2011 |
sf |
Fix various "variable 'x' set but not used" warnings. |
cb838cc4d5fd559efd6c0579a0fcb8f6e5a7af22 1037335 |
|
20-Nov-2010 |
minfrin |
mod_include: Add the onerror attribute to the include element, allowing
an URL to be specified to include on error. |
f6d7e6fd25849f254e7f0b9f61303f832f9c80c9 1032059 |
|
06-Nov-2010 |
sf |
Put the expression parser back into mod_include
This reverts r642559 and r642978 |
72e3829dbd019a63b1091987fc6e7b1c028b089c 998701 |
|
19-Sep-2010 |
minfrin |
mod_include: Move the request_rec within mod_include to be
exposed within include_ctx_t. |
1081aff66582e2cac722fb3b6f09da4f524b5962 998651 |
|
19-Sep-2010 |
minfrin |
mod_include: Reinstate support for UTF-8 character sets by allowing a
variable being echoed or set to be decoded and then encoded as separate
steps. PR47686 |
2d4ea77e21ef7f3707d2c27f6117cc0a36e99b83 983065 |
|
06-Aug-2010 |
trawick |
Intel's compiler warns about assigning the non-enum value 0 to the
enumeration apr_finfo_t.filetype, which is done when forgetting
the previously-derived file type
use the appropriate enum value APR_NOFILE instead
Also change comparisons of the field with 0 to use APR_NOFILE instead,
as is the practice of some existing code. |
89c7a19f9c47b03f00f622a979490c9bccb2ff03 982016 |
|
03-Aug-2010 |
sf |
- Remove a load of unused variables (or variables that are set but never read).
- Move some declarations into the correct #ifdef scope.
I couldn't compile/test netware, but the changes look obvious enough. |
133cbcba0df4ba0e72f7eaaaebabe119f145f261 965582 |
|
19-Jul-2010 |
niq |
mod_include: recognise "text/html; parameters" as text/html
PR 49616
diagnosed by Andrey Chernov |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
ca0a943242b488c162aa89874498e0316f7b2f2e 905406 |
|
01-Feb-2010 |
minfrin |
Allow fine control over the removal of Last-Modified and ETag headers
within the INCLUDES filter, making it possible to cache responses if
desired. Fix the default value of the SSIAccessEnable directive. |
2904bd4e73ead630e625f90e21e8320862318c1f 832886 |
|
04-Nov-2009 |
jorton |
* modules/filters/mod_include.c (handle_printenv): Fix handling of
lazy variables, courtesy of LLVM scan-build. |
4a13940dc2990df0a798718d3a3f9cf1566c2217 807930 |
|
26-Aug-2009 |
bjh |
Bring back OS/2 support.
Reverses r758929 with a little bit of conflict resolution. |
0b689805f498b6bcc3961197dafbc5c84d3effec 795642 |
|
19-Jul-2009 |
niq |
Update r795445 patch in the light of rpluem's comments on-list |
f5c9efe06c0ab8cf6c981577b78abbfa1d3eb8ee 795446 |
|
19-Jul-2009 |
niq |
Typo fix |
8884052e8e3dd8f921e1755844cc1e334eeb4308 795445 |
|
19-Jul-2009 |
niq |
Fix mod_include potential segfault checking backref from unmatched regexp
http://markmail.org/message/jlc7t5edsjujbe37
Patch by rpluem, lars, niq |
28c1248e01240900c762bf6aaa27c514a1454713 772997 |
|
08-May-2009 |
jorton |
Security fix for CVE-2009-1195: fix Options handling such that
'AllowOverride Options=IncludesNoExec' does not permit Includes with
exec= enabled to be configured in an .htaccess file:
* include/http_core.h: Change semantics of Includes/IncludeNoExec
options bits to be additive; OPT_INCLUDES now means SSI is enabled
without exec=. OPT_INCLUDES|OPT_INC_WITH_EXEC means SSI is enabled
with exec=.
* server/core.c (create_core_dir_config): Remove defunct OPT_INCNOEXEC
from default override_opts; no functional change.
(merge_core_dir_configs): Update logic to ensure that exec= is
disabled in a context where IncludesNoexec is configured, even if
Includes-with-exec is permitted in the inherited options set.
(set_allow_opts, set_options): Update to reflect new semantics
of OPT_INCLUDES, OPT_INC_WITH_EXEC.
* server/config.c: Update to remove OPT_INCNOEXEC from default
override_opts; no functional change.
* modules/filters/mod_include.c (includes_filter): Update to reflect
new options semantics - disable exec= support if the
OPT_INC_WITH_EXEC bit is not set.
Submitted by: Jonathan Peatfield <j.s.peatfield damtp.cam.ac.uk>,
jorton
Thanks to: Vincent Danon <vdanon redhat.com> |
1ca054782cb35b5f67686a41b1df75c269fa617b 758929 |
|
27-Mar-2009 |
trawick |
remove OS/2 platform support |
102001032647294c7663562e7b0a7fe177302fb2 757376 |
|
23-Mar-2009 |
jorton |
Prevent a case of SSI timefmt-smashing with filter chains including
multiple INCLUDES filters:
* modules/filters/mod_include.c (add_include_vars): Drop unused
timefmt argument.
(add_include_vars_lazy): Take timefmt argument.
(get_include_var, handle_printenv): Pass time format from context.
PR: 39369 |
8c3667cd1d0db08647793137c0d1aa7f6526bebf 730296 |
|
31-Dec-2008 |
niq |
Add support for escaping all non-ascii chars to ap_escape_html, and use
it to fix PR#25202: encoding="entity" doesn't work as advertised in
mod_include.
For backport, this'll need an ABI-preserving version that'll be
a minor MMN bump. But if we do that in /trunk/, it'll never change. |
35a82c7143330b009fb6cf4b57af0b6211983ae5 642978 |
|
31-Mar-2008 |
niq |
Update mod_include for ap_expr update |
9582ad6e149d28b118d4e8571101ecb6f85e0191 642559 |
|
29-Mar-2008 |
niq |
Update mod_include to use ap_expr API |
d4f5b36748788454402fddec295d92c06de07b1c 629456 |
|
20-Feb-2008 |
rpluem |
* Set aside buckets that remain unprocessed in the filter context for the
next filter pass.
PR: 44447
Submitted by: Harald Niesche <harald brokenerror.de>
Reviewed by: rpluem |
439ccf2a084e1da566548931c585cbcc3a9e7f4c 592951 |
|
08-Nov-2007 |
minfrin |
core: Add the option to keep aside a request body up to a certain
size that would otherwise be discarded, to be consumed by filters
such as mod_include. When enabled for a directory, POST requests
to shtml files can be passed through to embedded scripts as POST
requests, rather being downgraded to GET requests. |
0eb136e744b80f60bcc59cf4a88c3f6530bf7645 572136 |
|
02-Sep-2007 |
minfrin |
Move the accessenable variable into the private ssi_internal_ctx structure
instead of the public include_ctx_t structure. |
9c97e6302f7624855e1909b35d448a5a2d5a4378 571872 |
|
01-Sep-2007 |
minfrin |
mod_include: Add an "if" directive syntax to test whether an URL
is accessible, and if so, conditionally display content. This
allows a webmaster to hide a link to a private page when the user
has no access to that page. |
0696197a54f186a65abacba1037f6fbe0cb975a1 557837 |
|
20-Jul-2007 |
niq |
Multiple trivial fixes from Christophe JAILLET
PR 38699, 39518, 42005, 42006, 42007, 42008, 42009
The patches are all his, and are sufficiently trivial to review
at a glance. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
6408442a87f80ee912def59cc5d6087fdb3434be 382147 |
|
01-Mar-2006 |
wrowe |
APR_FILEPATH_NOTABOVEROOT was undefined with a left-hand NULL
or empty path. The SECUREROOTPATH and NOTABSOLUTE tests were
sufficient for this application. Adjusts for a bug in earlier
versions of APR with this undefined value. |
e8f95a682820a599fe41b22977010636be5c2717 332306 |
|
10-Nov-2005 |
jim |
No functional Change: Removing trailing whitespace. This also
means that "blank" lines consisting of just spaces or
tabs are now really blank lines |
9ce959716784373a45ce4f19ac9c0403f53bf3de 280010 |
|
10-Sep-2005 |
jim |
gcc -Wall cleanup |
d209a9cc7aa880fba5a6290e5aa8e5a317421b11 179763 |
|
03-Jun-2005 |
jorton |
* modules/filters/mod_include.c (handle_include): Fix possible
variable corruption with nested includes.
PR: 12655 |
ef5650b61a8e35f3cc93ec07e73efc17ea329894 153384 |
|
11-Feb-2005 |
jorton |
Move the POSIX reg* implementations into the ap_* namespace;
internalise the ap_reg*<->PCRE wrapper:
* configure.in: Add srclib/pcre to the include path.
* include/ap_regex.h: Renamed from include/pcreposix.h. Prefix all
constants with AP_; prefix all functions and types with ap_. Define
AP_DECLARE to nothing if necessary. Remove regcomp error codes.
* include/httpd.h: Include ap_regex.h not pcreposix.h.
(ap_pregcomp, ap_regexec, ap_regfree): s/regex_t/ap_regex_t/.
(ap_regexec, ap_regerror): Prototypes moved to ap_regex.h.
* server/util.c (regex_cleanup, ap_pregcomp, ap_pregsub, ap_pregfree):
Adjust for ap_ prefixed types. (ap_regexec, ap_regerror): Removed.
* server/Makefile.in: Build util_pcre.c.
* server/util_pcre.c: Copied from srclib/pcre/pcreposix.c; remove use
of PCRE-internals to do error mapping; rename types to add AP_/ap_
prefixes as above. Use APR includes. (ap_regerror): Use apr_snprintf.
* srclib/pcre/Makefile.in: Don't build pcreposix.c into libpcre.la.
* modules/*: Update to use new type and constant names.
PR: 27750 (part one)
Submitted by: Andres Salomon <dilinger voxel.net>, Joe Orton |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
d86551ca954d666d5b15ad38e9daf45680516c25 104439 |
|
01-Aug-2004 |
jerenkrantz |
Remove deprecated APR_STATUS_IS_SUCCESS() macro in favor of direct test against
APR_SUCCESS. |
795ebcf733058a72451d127854ea1ca0bd2b3278 103966 |
|
15-Jun-2004 |
jorton |
* modules/filters/mod_include.c (send_parsed_content): Only destroy
the temporary brigade if it wasn't passed on to the next filter. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
c76539c9b0d46cb6ba80d89a162be09db5095709 102562 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first checkin |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
12ae5c1237ef8e7924a957643bcc3e4e54381ec7 102328 |
|
13-Jan-2004 |
nd |
bust the "recursive include" test. It's no longer necessary and prevents
users from careful use of the feature. |
2704ea481c306ca5dc54ddf741773c8cae6c4b68 102147 |
|
03-Jan-2004 |
nd |
fix a rewrite mistake: restore the ability to expand variables within
<!--include file...-->. |
99d5f385f26a66c192854070c36ce47ad78f2037 102144 |
|
03-Jan-2004 |
nd |
remove superfluous assignment |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
fa1a54cb6f122f85b7c03fefd5a7360738f82447 102005 |
|
10-Dec-2003 |
stas |
update the misconfigured INCLUDES skipping code to remove itself, so it'd complain
only once
PR:
Obtained from:
Submitted by:
Reviewed by: Jeff Trawick, Bill Rowe |
138811b61285d61e9bac17d9fce6fe1092c0dc4a 101999 |
|
09-Dec-2003 |
stas |
complain via error_log when mod_include's INCLUDES filter is
enabled, but the relevant Options flag allowing the filter to run
for the specific resource wasn't set, so that the filter won't
silently get skipped.
PR:
Obtained from:
Submitted by:
Reviewed by: nd |
0f09ed17226402fa2b81f83e551b8b6faf95ecab 101687 |
|
02-Nov-2003 |
nd |
no longer allow an ETag header in 304 responses.
PR: 19355
Submitted by: Geoffrey Young <geoff@apache.org> |
bbe046d7cbb950ab3e372e4119ae001a5fe52ed4 101556 |
|
24-Oct-2003 |
striker |
Fold in the CAN-2003-0542 regex patch. |
8dece352da30658772e7c27a6b062dc41411ae69 101461 |
|
16-Oct-2003 |
nd |
fix segfault which occured if the filename was not
set, for example, when processing some error conditions.
PR: 23836 |
4de8f2422b78c23265d79ebafb18d075121431b9 101234 |
|
13-Sep-2003 |
fielding |
fix snprintf format type warnings |
e13623604da9129e8015640ec0ff7457edc889c4 101207 |
|
09-Sep-2003 |
trawick |
void * can't be used as a function pointer without casting |
1fbf6ba0f5207e6637b49f9a9dfcc779bbe952a9 101154 |
|
03-Sep-2003 |
trawick |
switch to APR 1.0 API (which is still in flux)
because of the changes to the argument lists of apr_mmap_dup and apr_socket_create,
2.1-dev won't build with apr and apr-util's 0.9 branch anymore |
6d415c3a2f1037af2900bd0af5033da2421f022f 101130 |
|
29-Aug-2003 |
nd |
allow the undefined echo string to be configured via
<!--#config echomsg="..." --> |
bb8550898eba0b2cc9004aeb81696edf6ea11c16 101129 |
|
29-Aug-2003 |
nd |
allow SSIUndefinedEcho per directory |
98233523481f8c5d0de5a8c9a99c5b41c3b2d632 101120 |
|
28-Aug-2003 |
nd |
be nice and accept == as well as token_eq. |
d05952a896d7889b399e83f7bdd9e99b14423af6 101119 |
|
28-Aug-2003 |
nd |
cleanup the TOKEN_AND/OR tree generation code.
- check more exactly whether the previous token is correct
- flip the tree from left-weighted to right-weighted, which is
more natural and more efficient, since we don't need to loop
up to the root, but just until the next and/or token.
- that way, flip the short circuit evaluation again to cut
the right side now if possible... |
145f71b5ca5574f49cfb2d9877321bb4b9727c4a 101118 |
|
28-Aug-2003 |
nd |
the extra buffer variable is no longer needed. |
8be058632f445a808140f2d11da400f3441ecc53 101116 |
|
27-Aug-2003 |
nd |
simplifications. Don't repeat the same code again and again. |
a681ff19bffd36668c7dad7fd391ac9a6ea63bbe 101115 |
|
27-Aug-2003 |
nd |
hrm. reverting my last commit. TOKEN_GROUP is a protection against many
invalid expressions. Checking these all manually would take a lot more
cycles than it'd save. Sorry. |
fcc011e385c8da2417d8ebba6bc838fa1fcaf4fb 101114 |
|
27-Aug-2003 |
nd |
TOKEN_GROUP is nothing but an identity operator, it gateways the
result of the enclosed expression. Since this expression will never
touched again during the tree-building stage, we can safely strip
TOKEN_GROUP from the tree and later evaluate the child directly.
The only side effect of this change is, that grouped strings on the
left side of EQ/NE/etc are now allowed (was invalid before), which
is acceptable IMHO (e.g. (foo bar baz) = zzzip) |
d4241d8dcd4cc3346c1184b7e0748322ba127d14 101113 |
|
27-Aug-2003 |
nd |
cleanup TOKEN_EQ, NE, LT & co tree generator:
- the left side of such an operator can *only* be a string
- get a rid of the while-loop and re-organize the code
to better reflect what we're actually doing there |
2f1ee229ef39f8891ad5daa07978f4bed9c4774d 101111 |
|
27-Aug-2003 |
nd |
minor optimization. |
6346bdc3f5749370417df67977cb63631f4e013a 101110 |
|
27-Aug-2003 |
nd |
forgot to add these debugging outputs |
afecd51b7df1875319ad76f5e4b1e64f326c5314 101107 |
|
26-Aug-2003 |
nd |
improve debugging output |
989092d1f91497fa1a27d09e7639a586e819ce94 101105 |
|
26-Aug-2003 |
nd |
since our parse tree is left-weighted, the short circuit evaluation
is way more useful if we short circuit the left side. So evaluate
the right side first. This, however, reverses my statement about
regex optimization (you have to put them onto the right side of an
&& or || operator to get a chance that the left side will be cutted). |
1e3f0124bd830bb9e340389ca53a3277447b8c2a 101104 |
|
26-Aug-2003 |
nd |
TOKEN_RE is only valid on the right side of EQ or NE. (previously this
error was caught during the evaluation stage) |
645198d33d3a2deb7af3ae2c1271b5b5b33257d2 101103 |
|
26-Aug-2003 |
nd |
TOKEN_NOT and TOKEN_LBRACE duplicate exactly the same tree generation
code. Get a rid of this duplication. |
616b2ee3cc0afa5a1d090181b585e2f178982202 101102 |
|
26-Aug-2003 |
nd |
readability improvement. Handle the case of the current token being the
first parsed explicitly. There's probably also a minor performance improvement
on invalid expressions ... ;-) |
cfafd2210f7160e237f30e755987d61f5bda6c06 101101 |
|
25-Aug-2003 |
nd |
shorten the code by reversing the case conditions |
81eec9d3da860bb82cff4d4a98edb1f5e0db17ef 101100 |
|
25-Aug-2003 |
nd |
fix compiler warning on win32 |
19ede2a391f25d346bf20530195685204d577153 101097 |
|
25-Aug-2003 |
nd |
short circuit && and || evaluation. For backwards compat this is only
possible if there's no regex on the short circuited side (since it fills
in the backref data). The user may optimize this by putting the regex
onto the left side of the operator. |
e653147f55087706ebd3bf56c2c0b92b572b0d82 101095 |
|
25-Aug-2003 |
nd |
simplify the dumper code |
922d495b709b0dc09a7d918fdf8874dc23c1aef0 101093 |
|
25-Aug-2003 |
nd |
if the tokenizer hits a string which begins with a backslash, this
backslash will be skipped and not recognized as an escape character.
That way, <!--#if expr="\)"--> or the like won't work correctly.
Fix it now. |
4b0fc40a3ae20cd8de0ff9fb428ae22bff73f88a 101091 |
|
25-Aug-2003 |
nd |
same cleanup applies to TOKEN_LBRACE |
68e734f93539b04944f87ec6a66b1aaabb5e4a31 101090 |
|
25-Aug-2003 |
nd |
cleanup TOKEN_NOT tree generation code:
- remove useless stuff
- shorten the code by inverting the switch/case conditions |
c87c858c360604d31256a0f1274144f42d17de10 101088 |
|
25-Aug-2003 |
nd |
keep the parse tree consistent if a binary operator occurs within
parentheses. |
639a3c547cf1d235e8ab4aa0e0f37157947cb526 101087 |
|
25-Aug-2003 |
nd |
Ha! Wrote this combined tree dumper and consistency checker just for fun.
...and saw that the expression parser generates inconsistent trees under
some circumstances. So I've decided that the dumper code may be of public
interest :). The actual bugfixes will follow later. |
2ebe0212d8c1db6b29fdf2acc5f749790cc8afdd 101081 |
|
24-Aug-2003 |
nd |
typo |
af8aac8ff43d909454cc2ad8f33fd877def3d6bb 101080 |
|
24-Aug-2003 |
nd |
replace is_only_below stuff with apr_filepath_merge. I hope the flags
are correct :) |
a30c1075a4b5f718dcd914061010971d0c0c9530 101079 |
|
24-Aug-2003 |
nd |
remove the rest of the artifical string limitations |
20d56c449f39c7c61d8eb6de55c1e0d213175b30 101078 |
|
24-Aug-2003 |
nd |
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 ;-) |
7540c1f1999e509c879e0a65ad986bb15affc4bc 101074 |
|
23-Aug-2003 |
nd |
style |
fa87772054bc5b4f05e71c532d3da5c01d98db26 101073 |
|
23-Aug-2003 |
nd |
cleanup regex stuff. regexps are now handled more graceful
(give warnings on out of range or undefined captures). |
b729404a66e24731183c630cc289cbac1e0e1b23 101071 |
|
23-Aug-2003 |
nd |
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. |
19caef6edbd6a814612c8cd7bd8f437f403df210 101070 |
|
23-Aug-2003 |
nd |
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 |
98ebafaf350a6b091fe22c2899a80f7855c70a66 101069 |
|
23-Aug-2003 |
nd |
drop superfluous argument from ap_ssi_parse_string.
The new API should now be stable. |
c75c901cabb70fdfcdca87aa261b987094c40e1d 101068 |
|
23-Aug-2003 |
nd |
cleanup handle_printenv function |
9255a23a3f3fc01dd96943aff26466dbc6205eea 101067 |
|
23-Aug-2003 |
nd |
cleanup handle_set function |
f01fdcc4d435e197e1e9e03b3d03d12c7970f18f 101066 |
|
23-Aug-2003 |
nd |
cleanup handle_else and handle_endif functions |
d508db902788a6d924925280811b2df2249942c3 101065 |
|
22-Aug-2003 |
nd |
cleanup handle_elif function. It now allow only one argument as well. |
dc8e8fc7e5ab44d022f713c60272face143c48c9 101064 |
|
22-Aug-2003 |
nd |
cleanup handle_if function. It now allow only one expr="..." argument. |
3cee1996c8fed7f09f7f945aed5bc16908aee3fa 101063 |
|
22-Aug-2003 |
nd |
cleanup handle_flastmod function |
e4a6c1c27d81421785f8f76d1a5e5f9256c0e3cf 101057 |
|
22-Aug-2003 |
nd |
cleanup handle_fsize function |
459ca87de1e22b84211553bc342dc086ddfdca4c 101055 |
|
22-Aug-2003 |
nd |
cleanup handle_config function |
ea281ba43c2de412f9c9edab1ca8228362705037 101054 |
|
22-Aug-2003 |
nd |
cleanup handle_echo function |
3633fb691373bb8b1ddc9c801ba25c367cf5e5a3 101053 |
|
22-Aug-2003 |
nd |
cleanup handle_include function.
- use new ctx->argc member
- simplify code nesting and improve readability |
360fb449fbdd6f7c75b321c7e1612233e828ce77 101052 |
|
22-Aug-2003 |
nd |
- clean up configuration routines
- give bndm a neater interface
- naming style improvements |
82b62539f34e8fa7434a95335c4566441c7b5589 101049 |
|
22-Aug-2003 |
nd |
before working further, bring some kind of system into the stuff
and (re-)order the code. That should finally improve readability... |
d2479dc17d5f6041e472fff5ed39a3a7222e9f51 101048 |
|
22-Aug-2003 |
nd |
further cleanup. No *real* code change. (mostly macro cleanup) |
31cd7345e3f8257a89ef1f5ab344fb037c0d941f 101046 |
|
22-Aug-2003 |
nd |
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. |
20e1e8842e8a604fbd0e8701143ebf3abb265057 101037 |
|
20-Aug-2003 |
nd |
now drop the old code |
6c4c113ce85934b11c9e78399e1bb8ec7a568af9 101036 |
|
20-Aug-2003 |
nd |
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). |
c985d6c07eca2ce6f72270cefd1b2130efdcb1de 100728 |
|
22-Jul-2003 |
jwoolley |
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 |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
f4c472b8dce3c2e559232dbb5b27ed2466922ea4 96818 |
|
15-Sep-2002 |
jerenkrantz |
Remove warnings seen with Sun's Forte compiler. |
58fd79b56eb624bf011772994e9761d3c2e228c1 95993 |
|
10-Jul-2002 |
orlikowski |
Continue the Bill Rowe apr_size_t crusade. |
0fdf8c342123fde84405b885fb1720ebc652e10d 95906 |
|
28-Jun-2002 |
jerenkrantz |
Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.
This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course). When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.
If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.
PR: 9673
Reviewed by: Ryan Bloom and others |
90ee51cf44f095f48cd6c42a75414fb14eae281a 95818 |
|
20-Jun-2002 |
brianp |
Remove the old EOS logic that I neglected to delete on the last commit,
and add a check for ap_pass_brigade() failure |
28de2b799bee5c5f14c6dfdfa199441be62d407d 95817 |
|
20-Jun-2002 |
brianp |
Cleaner handling of unterminated SSI directives |
88425bd3442321915195ac9dfa9a80ffcd968fa4 95803 |
|
19-Jun-2002 |
brianp |
Fixed the EOS handling for partial SSI directives at the end of
brigades. (This was causing us to produce no output, not even
an HTTP response header, for a document containing an unterminated
"<!--#" directive |
36fcd3d96b9bf9a2d4af424e64584b5dede3e3e6 95687 |
|
15-Jun-2002 |
brianp |
Fixed a bug in the handling of nested if-statements in shtml files
PR: 9866 |
c5b1dcfd7e2ba6aba153da627501db47034186de 95553 |
|
06-Jun-2002 |
jerenkrantz |
I have no earthly idea what this comment is referring to. Nuke it. |
e2653756d0d14a9a620b24bd04a6ab1182178462 95290 |
|
26-May-2002 |
brianp |
Fix for suexec execution of CGI scripts from mod_include
(including security patch to ensure that <!--#include file="name.cgi"-->
is run as the suexec user rather than the httpd user)
PR: 7791, 8291
Submitted by: Colm MacCarthaigh <colmmacc@redbrick.dcu.ie>
Reviewed by: Brian Pane |
aa3510b82ec5d82ddbf4748829ec90f1ce71398e 95277 |
|
25-May-2002 |
brianp |
Fix for mod_include's parsing of "/regexp/" expressions in
<!--#if directives
Submitted by: Julius Gawlas <julius_gawlas@hp.com>
Reviewed by: Brian Pane |
12901074f5d6b36d08be84d8637b6f2c21e0da26 95151 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_[pr]error() |
41212c7134073165a348a13cfd0a310a82857d9e 94929 |
|
04-May-2002 |
brianp |
Fix for PR 8462: When tokenizing an unquoted string literal, don't
consume a ')' that immediately follows it. |
70d62b3f12d56a7bec05fd2e7ad8ccd0fe98b031 94677 |
|
17-Apr-2002 |
trawick |
don't call strchr(); we have a safer version -- ap_strchr_c()
Submitted by: Stas Bekman
Reviewed by: Jeff Trawick |
04197d261696b5bafbe5e4b7d113239249ff9a44 94454 |
|
05-Apr-2002 |
brianp |
Fix for the boundary case in which each character of an SSI directive
is in a separate bucket...the code in send_parsed_content() doesn't
expect a case where ctx->state==PARSE_DIRECTIVE but ctx->tag_start_buffer
is NULL. So in found_start_sequence(), we set ctx->tag_start_buffer
to point to the next bucket if the end of the <!--# is at the very
end of the current bucket. |
74f1cb282d1418f9eaaf86524a6d447c3a5209d1 94451 |
|
05-Apr-2002 |
jwoolley |
Get rid of overlay bogosity by copying the static string to the stack.
This keeps DEBUG_INCLUDE from segfaulting. |
e5f95706e4e1aa2ddc77940f03785c436d428604 94450 |
|
05-Apr-2002 |
brianp |
Remove an invalid comment. (The only way that the bucket will
contain only a single byte is if slen==1, meaning that we've
replaced <!--# with a single-character token, and that character
is the first character in the bucket. If that happens, then
pos+slen (aka 1) is the right amount by which to increase
bytes_parsed. |
5b506229f5f56773c8e0e7dbba1b76afa12305f7 94445 |
|
05-Apr-2002 |
wrowe |
Mix 'n match signedness? Make some emits go away. |
f5bcfcfd3036da433697e180fc03146496d3f725 94436 |
|
04-Apr-2002 |
rederpj |
This patch fixes a core dump that occurs in mod_include during tag parsing
if the starting sequence (<!--#) finishes at the end of a bucket and the
directive starts at the beginning of the next bucket.
There is still a bug in the handling of conditional directives that span
buckets, but the core dump is now fixed and the conditional bug should
be even rarer than the core dump was. I'm fixing the conditional bug
seperately. |
ebb7c2ecab70ebbac0ec044010e0ee540f20cfd8 94351 |
|
01-Apr-2002 |
wrowe |
pointer subtraction yeilds a ssize_t, fix emit by notating the
expression in terms of addition |
2fc50921b88defeb7127985dfe4b4130175e069e 94304 |
|
29-Mar-2002 |
jwoolley |
BUCKET FREELISTS
Add an allocator-passing mechanism throughout the bucket brigades API.
From Apache's standpoint, the apr_bucket_alloc_t* used throughout a given
connection is stored in the conn_rec by the create_connection hook. That
means it's the MPM's job to optimize recycling of apr_bucket_alloc_t's --
the MPM must ensure that no two threads can ever use the same one at the
same time, for instance. |
4ef58e49c51f8683c0e3a540a34afb0a22e45366 94294 |
|
29-Mar-2002 |
brianp |
Allow variable expansion within in the "var" arg to <!--#echo
and <!--#set, so that people can do things like this:
<!--#echo var="${foo}_${bar}" --> |
59004ab0feba0b23cf50c35c901e051c4965dbc4 94291 |
|
29-Mar-2002 |
brianp |
Replaced my fix for the is_only_below() bug with Cliff's faster
and simpler version.
Submitted by: Cliff Woolley |
82630c4a04be47f39298d3284b2c596244fb509b 94284 |
|
29-Mar-2002 |
brianp |
Fixes for three problems in mod_include:
* The ctx->tag_length computation in find_end_sequence() was a bit
broken in cases where there was a "false alarm" match on a partial
"-->"
* The ap_ssi_get_tag_and_value() function needs to avoid walking off
the end of the string. After debugging this some more, I ended up
using Cliff's original patch.
* Infinite loop in is_only_below() |
5ebb27505c2aabd1332491819a6ba2dcc6af8c48 94276 |
|
29-Mar-2002 |
bnicholes |
Stop the while loop from incrementing twice per iteration before checking for
the NULL terminator. This was causing the while loop to walk off the end of any
string with an odd number of characters. |
aed7748511a45ed550ebb122d068b76e1e81e21e 94254 |
|
28-Mar-2002 |
brianp |
Revert my last fix, which broke more things than it fixed |
f4518658053a22437c628a8351a9e35bbaf50544 94251 |
|
28-Mar-2002 |
brianp |
Don't walk past the end of the tag in ap_ssi_get_tag_and_value()
Discovered by: Cliff Woolley |
8b81084c74de035f48c89bfe5fc63d3e4be3a3c5 94248 |
|
28-Mar-2002 |
stoddard |
ap_run_sub_req does not return apr_status, so we shouldn't be checking
APR_STATUS_IS_EPIPE(). Also, remove the code that assumed the sub_req_lookup_uri
actually served up the content in the quick handler. We now call the quick_handler
in ap_run_sub_req() |
1529f046f1de1b55d17f45a1cbf4fb3d99211ed0 94153 |
|
24-Mar-2002 |
brianp |
Small performance optimization for find_end_sequence(): when we find
the start of a directive, scan through the rest of it in a minimal
loop before popping back out to the main char-at-a-time parser loop |
e0d102c882a7ed34d3eec24b36da49f097066a36 94056 |
|
20-Mar-2002 |
stoddard |
Commit 1 of 2 to:
1. rename ap_rset_content_type to ap_set_content_type
2. reverse the arguments on the call to aligh with ap_set_content_length |
e9dacb49354baa7346837faad335f27caa7fe1ee 94027 |
|
20-Mar-2002 |
stoddard |
First commit to introduce accessor function to set r->content_type.. |
a5a04992e4caa31b2131336d8751448616ba30cf 93983 |
|
17-Mar-2002 |
brianp |
Performance fix for ap_ssi_get_tag_and_value: do a lightweight
scan through the tag value until/unless we reach a backslash
that necessitates the more complicated scanner loop. In cases
where there isn't a backslash in the tag value, this reduces
the overhead of the scan from 5 comparisons per character to 3. |
ac43284ac9675e3f99ec3aadf42e20551dbdae17 93979 |
|
17-Mar-2002 |
brianp |
Another optimization for find_end_sequence: once we're in the
middle of parsing a tag, consume the entire tag in a quick loop,
rather than jumping back to the outer state-machine loop for
each character |
6d888d6b9c0e0c08903e4bbd31d407915d5ad7b0 93978 |
|
17-Mar-2002 |
brianp |
Small performance improvement for find_end_sequence() |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
5e0b43762dc1baf6a668d09b57577749b313d39d 93917 |
|
13-Mar-2002 |
trawick |
fix the remaining sizeof(token.value) bogosity |
548e06e26f5377b2efbb7e0dab20f536e5e24160 93916 |
|
13-Mar-2002 |
trawick |
Fix some mod_include bugs which broke the evaluation of some expressions.
There are a few instances of the same basic problem which are not yet
fixed and which I have marked with /* XXX.*FUBAR*/.
PR: 10108 |
103005439776bb7aeccb95ebf4761ebfef3f9c39 93788 |
|
08-Mar-2002 |
ianh |
new directive SSIUndefinedEcho.
this allows webadmins to change the default '(none)' to something
a bit more presentable (eg <!-- undef -->)
PR:
Obtained from: Rex (the hack he had to fix this was so ugly I was forced to do this)
Submitted by:
Reviewed by: |
1f863242c3901a633082bab8a34e8cb7422ab421 93756 |
|
07-Mar-2002 |
jerenkrantz |
As hinted on dev@httpd, change filter naming schemes to match our
expectations of their usage.
The reason that we should make this change now is that we have changed
the implied meaning of AP_FTYPE_HTTP_HEADER - some users of this should
be PROTOCOL while others should be CONTENT_SET. In order to clarify it,
toss all of the bogus names and force the filter writers to make sure
they understand what they are doing.
CONTENT_SET is new (horrible name - change if you have better idea), but
it indicates that it should run between RESOURCE and PROTOCOL.
mod_deflate is the ideal CONTENT_SET filter.
The changed type names are:
CONTENT is now RESOURCE.
HTTP_HEADER is now PROTOCOL. However, most filters that used HTTP_HEADER
may want CONTENT_SET. (Only things like POP and HTTP belong as PROTOCOL.)
MMN bump since all filters need to be recompiled due to filter reordering. |
88aa2aa192b60ddbe8b0f7062df066edcdbfda93 93650 |
|
01-Mar-2002 |
jwoolley |
Use the new APR_BRIGADE_PREPEND() macro |
975f1dd40035607cc5f408439c4ea1457528590d 93557 |
|
24-Feb-2002 |
brianp |
Fix for the code that handles SSI tokens that span multiple
buckets: if a brigade containing an incomplete "<!--#" token
has been set aside in ctx->ssi_tag_brigade, we need to retrieve
and output the contents of that brigade if the next bucket (in
the next brigade) doesn't actually complete the "<!--#".
As part of this commit, I've commented out the recent changes
to detect flush buckets in the brigade, due to segfaults. (I
think the fix may be to add some checks for sentinels and EOS
when advancing to the next bucket after the flush bucket.) |
3e5f9fcdde8f12d869eda0699603edf0f0d51752 93556 |
|
24-Feb-2002 |
ianh |
notes need to be 'set' at the main requests pool
not the 'sub-request' as notes live in the parent's request
lifetime.
PR:
Obtained from:
Submitted by:
Reviewed by: |
71d0a4ed0b2d20444f64a938ed2f11b372408f30 93555 |
|
24-Feb-2002 |
ianh |
baby steps
this fixes the case where we have a SSI start tag split up
over multiple buckets.
BTW
HTTPD-test is failing.
but it was failing on 2.0.32 version of mod-include as well
PR:
Obtained from:
Submitted by: Brian Pane
Reviewed by: Ian Holsman |
83ca150ef902e9692972aa923e893bc6406d20f1 93553 |
|
23-Feb-2002 |
ianh |
make it work with flushes
make the false alarm not as generic
PR:
Obtained from:
Submitted by:
Reviewed by: Ian, Brian, Justin |
095071bbd0b3ccccd6883edc7cd10f13cac71160 93532 |
|
21-Feb-2002 |
ianh |
fix problem where a unmatched tag was not sent if it was at the
end of a bucket
Obtained from: Alla Teper noticed it
Submitted by:
Reviewed by: Cliff/Justin |
cbd8d35ca8d9780f1081f30ebfe4abda44cab7eb 92956 |
|
21-Jan-2002 |
ianh |
These changes are to allow caching of subrequests via a quick_handler.
* Change SUBREQ_CORE so that it is a HTTP_HEADER (20) filter instead of a content filter (10)
this allows subrequests to add content filters properly
* Change subreq handling of 'handle-include' so that it splits/passes the brigade before the subreq
is created. (This allows quick_handler to push content back from this phase) |
75eee56d2eaac9c27d32fc46b90bb6b1eac85359 92914 |
|
18-Jan-2002 |
trawick |
Fix a segfault in mod_include which was found by Sander Striker using
an APR_POOL_DEBUG/ElectricFence build. |
f570709760ee22227aa8dc7366a85e11ec99cfc9 92839 |
|
13-Jan-2002 |
brianp |
Removed the creation of a temporary pool in the expression parsing
code. Now that the code no longer allocs huge buffers (based on the
last commit), there's no need to incur the overhead of creating a
temporary pool just to clean up the storage quickly. This saves
a lot of space (because the temp pool used 8KB) and a small amount
of processing time.
As a side-effect of this change, we don't need the gotos any longer. |
34d7c69235d0bc7ac9e2f121c4890c309bb39d20 92838 |
|
13-Jan-2002 |
brianp |
Allocate only as much data as we need to hold token values in the
"<!--#if" processing code, rather always allocating an 8KB structure |
ac76e9cf90bb5f3d1d9a245a0781a797f00b165c 92748 |
|
06-Jan-2002 |
brianp |
Cleaned up a couple of ap_ssi_parse_string calls that I missed
in the last commit |
7f7ba3f0537003a359c42170aee14a101d7fe917 92747 |
|
06-Jan-2002 |
brianp |
Eliminated various large (8KB) string buffers from the stack in
mod_include by adding support for a power-of-two pool-based allocator
in ap_ssi_parse_string(). (The default operation of this function
is backward-compatible, to support the other modules that call it.)
This change should help reduce memory usage for servers delivering
shtml pages. |
e0d709462e654322f0fa9dad28682cf63bcf8759 92683 |
|
31-Dec-2001 |
wrowe |
Saw this bug several hours ago, but it slipped my mind. We no longer
skip over the leading '/' character, since the token_re already strips
the / delimiters. |
ffa44425004f3f2425e08ab907c67429664da02a 92682 |
|
31-Dec-2001 |
wrowe |
Return the correct $n result (assign the val, not the var!) |
da56a2fee56858b4005bd37448e2cb083b54fdf8 92678 |
|
31-Dec-2001 |
wrowe |
To provide more flexibility in handling quotes, allow the backtick quote
for SSI tag arguments (e.g. <!--#echo val=`foo` -->). This helps with
arguments containing both single and double quotes. |
e85d1bc5205a1b1299e9dcffd4df22f8f8bbe8cd 92677 |
|
31-Dec-2001 |
wrowe |
We never test for success in memory allocation |
c6a9d49433c9ba5b18b26c3d764f1bbcb9746090 92676 |
|
31-Dec-2001 |
wrowe |
Ever tried to extract some value of QUERY_STRING from within SSI?
Now you can :) Provides $0..$9 results for any regex evaluation,
and strengthens the expr parser for regex expressions. |
51be7fc538641ed7cb22e959eb31629f7183f70f 92660 |
|
30-Dec-2001 |
ianh |
allow mod_include to handle different start/end tags instead of the default
<!-- --> ones.
PR:
Obtained from:
Submitted by:
Reviewed by: |
2fa38d4c4740115a965238309cad614b8ce7bd27 92654 |
|
30-Dec-2001 |
brianp |
Use r->content_type instead of r->handler to screen out non-html
requests when doing the xbithack check (thanks to wrowe for the
suggestion) |
a30a3749a3593635fa30e69428ec42aa2d708dd7 92652 |
|
29-Dec-2001 |
brianp |
Fix to make xbithack work again |
e119449ea4794451d17c113dadd14e59823c634d 92642 |
|
28-Dec-2001 |
wrowe |
Improvements suggested by Brian Pane, first assure all OS's get to deal
with handler 'server-parsed', do the xbithack bit tests before testing
it's string values (protected against a null point).
And make it [perhaps] more legible. |
b3f07c5b499a1eb94f0b73e9220541a75ec87cc0 92640 |
|
28-Dec-2001 |
wrowe |
Context mustn't be transformed in the insert_filters hook, it merely
provides a point to insert filters already determined. We can't wait
for the insert_filters phase to 'redetermine' such things.
Everything we are doing here can reliably occur in the fixup phase,
after the types phase has completed. |
97b2451ce8e896e30c696d01ad11ef8d7c815881 92639 |
|
28-Dec-2001 |
wrowe |
Another example, wherein our example in code/conf doesn't match our
recommended practices |
0d628dd174dd6de13463b10d2599f6cac24e9fe8 92604 |
|
26-Dec-2001 |
brianp |
Rearranged the code in mod_include's BNDM string-search function
for faster execution.
This new code short-circuits out of the inner scanning loop
after a single comparison when it hits a character not in the
"<!--#" pattern. Compared to the previous code, this version
does more work for characters in the pattern and less work for
characters not in the pattern. In practice, the net result
seems to be a speedup for typical shtml files, where characters
in the pattern are less common than characters not in the pattern. |
93bb0ef3e7e11ddaa69377ac77157b029fa3645d 92496 |
|
16-Dec-2001 |
brianp |
cleaned up bucket types and removed the extraneous clearing of a buffer |
c59dadd8ea5be2f6094505bb5e74aa04ced05f78 92495 |
|
16-Dec-2001 |
brianp |
Removed the comment suggesting the use of apr_table_overlap()
in add_include_vars() (because I just tried it, and it made the
function slower) |
92180260750b3b908c30a03d77bb47b9d47536a2 92489 |
|
15-Dec-2001 |
brianp |
Fixed the logic for detecting sentinel or EOS in send_parsed_content |
575c282719040a1614cb5185e61fe4e66d337f1d 92488 |
|
15-Dec-2001 |
brianp |
Fix for segfault that happened upon reaching EOS in an
intermediate SSI parsing state
Submitted by: Justin Erenkrantz |
69a92d756d879367994763ac2d87392dfc3766f3 92391 |
|
08-Dec-2001 |
brianp |
Switched from heap bucket to pool bucket for SSI echo directive |
bcba84dfeb51128c184b63553a7ec599acd6116f 92360 |
|
07-Dec-2001 |
brianp |
updated some comments to accurately reflect the current code |
c815e1cfb2ec4db2e1a94fafd77de045d7fd93db 92358 |
|
07-Dec-2001 |
brianp |
When checking for "file" or "virtual" as an argument to
"<!--#", check for "virtual" first. That's the more likely
case (assuming that people follow the recommendation in
the mod_include documentation that "virtual" be used in
preference to "file"), so by checking for "virtual" first
we can short-circuit out of the conditional after one
strcmp instead of two. |
0f6deff8fa9ad63fc576e8d91efc1d9afd068ecc 92286 |
|
02-Dec-2001 |
brianp |
Added code to ap_ssi_get_tag_and_value() to avoid converting
SSI tags to lowercase when they're already lowercase (in my
experience, this special case happens often enough to be
worth optimizing) |
450fd97bdb54ac69e2cb552f034697a10868be3c 92284 |
|
02-Dec-2001 |
brianp |
Added faster logic for decodehtml to handle the special case
where the string being decoded doesn't have any ampersands
in it (e.g., because it's the value for an 'include virtual=...') |
812e019c7736939f79a929d1f1e8f4e70efc5e31 92283 |
|
02-Dec-2001 |
brianp |
Exclude the terminating null byte from the length of
strings passed to apr_hash_get/apr_hash_set (this matches
the convention used throughout the rest of the httpd,
and it saves a small amount of processing) |
51ced3b28ef430a96586284d4320f7dbdaf7225e 92275 |
|
01-Dec-2001 |
brianp |
Fix the handling of SSI directives in which the ">" of the
terminating "-->" is the last byte in a file (previously,
the output of the directive was lost in this case). |
9f794fbe9d98f54c558879173cce489124617c90 92163 |
|
24-Nov-2001 |
brianp |
short-circuit out of xbithack_handler immediately if xbithack
isn't enabled, and use strcmp instead of ap_strcmp_match for
comparing against a non-wildcard pattern |
9d0665da83d1e22c0ea0e5f6f940f70f75bf5237 92144 |
|
23-Nov-2001 |
ianh |
Modify post_config hook so that it can return a error,
causing the server not to start.
previous method was to call exit(1) which would not fail
gracefully
PR:
Obtained from:
Submitted by:
Reviewed by: (Idea only Jeff Trawick) |
e98a7a7acc2861a0987318b2580872d2c8ca1fe2 92131 |
|
22-Nov-2001 |
brianp |
fix for a segfault that occurred when mod_include was used to deliver files shorter than 5 bytes |
95ca1a6ff23adde7ae9cbbec7b6754d9aecacc2d 92046 |
|
20-Nov-2001 |
brianp |
optimized away some pointer arithmetic in the inner loop of the BNDM string-search function |
6f4c27ba6e152792f3729069e8d8313ebc87cc60 92040 |
|
19-Nov-2001 |
jwoolley |
Fixed the behavior of the XBitHack directive.
PR: 8804
Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp>, Cliff Woolley |
ba00c3b7c20f00ce631b89ae3b1cd3bae8d1b165 91963 |
|
15-Nov-2001 |
rbb |
Fix a file descriptor leak in mod_include. When we include a
file, we use a sub-request, but we didn't destroy the sub-request
immediately, instead we waited until the original request was
done. This patch closes the sub-request as soon as the data is
done being generated.
This passes all tests in the test suite.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ryan Bloom and Cliff Woolley |
17bdb8862482dff763afd4d86a58de533afff4ca 91866 |
|
12-Nov-2001 |
jwoolley |
Remove the returned-length "w" parameter from apr_bucket_heap_create()
and apr_bucket_heap_make(). It was useless, since the length is invariant
from the length passed in and from the resulting bucket's b->length. This
takes care of a long-standing issue first brought up in February and
discussed on the dev@apr list. (Issue #2 from the "Bucket API Cleanup
Issues" thread.)
See http://marc.theaimsgroup.com/?l=apr-dev&m=98324983126666&w=2
Reviewed by: Ryan Bloom (concept) |
d4f351074a8f7af5e41aa0a70410816436608e3d 91860 |
|
11-Nov-2001 |
ianh |
This patch changes the apr_table_elts macro so that it provides
access to the internals of an apr_table_t via a const pointer
instead of the current non-const pointer.
Submitted by: Brian Pane <BPane@pacbell.net>
Reviewed by: Ian Holsman |
7f1533cc21a93c0744bd40e697ba610a5b1cb68f 91859 |
|
11-Nov-2001 |
ianh |
This patch zero-fills just the integer and pointer fields in
the structure, plus the first byte of each of the string buffers.
This updated version of the patch doesn't allocate space for
the error_str and time_str buffers in the mod_include filter
context until/unless they're actually needed.
--Brian
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Ian Holsman |
fe66541c73f5ec94a5a83cf67195cb7f05ccd0a6 91081 |
|
19-Sep-2001 |
jerenkrantz |
Oftentimes, I make no sense whatsoever.
(Clean up comment, really...) |
8e5842bc05146bb5c171e53b00b24063d17c666c 91080 |
|
19-Sep-2001 |
jerenkrantz |
Fix case where an included file may change but the shtml file has not -
since we returned Last-Modified/ETag headers, we said that it was possibly
cacheable. Wrong.
See RFC 2616 13.3.4 for more details (these are SHOULD/MAY clauses, so I
think we can discard them when we are dealing with dynamic data).
(Justin cleaned up the comment to cite RFC 2616.)
Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz, Aaron Bannert, Brian Pane |
1627792f516dc22cf12ac193cc48441d0a3701da 91051 |
|
17-Sep-2001 |
jerenkrantz |
Change the type to be consistent with wrowe's changes. |
8204f955c6ec6281031320ec15ccf8f1531ee3ca 91050 |
|
17-Sep-2001 |
wrowe |
Nothing complains when I change these ints for consistency to apr_size_t. |
5915dc3ebb03935b18b0d14088278d22eefe3553 90977 |
|
10-Sep-2001 |
wrowe |
apr_filepath_merge includes APR_FILEPATH_SECURE_ROOT tests that can
easily (and cross-platform, safely) assure a path is within a given root. |
f7e94f9555c0632e8a290a7e76d778e8c7daf425 90949 |
|
07-Sep-2001 |
jerenkrantz |
Fix error in Netware-specific code.
(This really should be an APR function - if it isn't already...)
Now I know why my editor was thinking this file was completed wacked
w.r.t. braces. |
f00d1e76bae896c2f6a520eec69b1d0d802d4108 90940 |
|
07-Sep-2001 |
jerenkrantz |
Make find_start_sequence use the BNDM search algorithm. We handle
edge cases via the old slow mechanism.
Previously, find_start_sequence would be responsible for ~25% of the
usr CPU time in tests (as performed by Ian). No more. |
fc9e11c98ca76d8b1a4fedfced2a04e543162535 90887 |
|
04-Sep-2001 |
jwoolley |
silence compiler warnings (these weren't really bugs) |
8173eb0f84c2dd1f08802aadc90731cc89ba5c0e 90885 |
|
04-Sep-2001 |
jerenkrantz |
Fix uninitialized variable warning. (This was a bug.)
Submitted by: Cliff's compiler (warning) and Brian Pane (fix)
Reviewed by: Justin Erenkrantz |
db4293b97cc224d79164c1c092b0267af5d883c5 90874 |
|
02-Sep-2001 |
jerenkrantz |
**NO CODE CHANGES**
This is a reformat commit *ONLY*
Please drive on through.
(If I have to work with this file any more, I want it in our style...) |
30b9959208c26420c95d176e457ccc6b5f725194 90873 |
|
02-Sep-2001 |
jerenkrantz |
- Remove extra include_module line - dunno how that got there.
- make lazy_eval_sentinel a const
- create #define for &lazy_eval_sentinel (LAZY_VALUE)
- create get_include_var function (get, check, get real value if lazy)
- cleanup the printenv call to be a bit more streamlined (can't use
get_include_var here since it is iterating through the table here -
well, you could do that, but I won't...)
Submitted by: Greg Stein (concept)
Reviewed by: Justin Erenkrantz |
7c19ce86bbd72bba1d018522250f5f315ffbc0af 90872 |
|
02-Sep-2001 |
jerenkrantz |
Make mod_include do lazy evaluation of potentially expensive to
compute variables.
Tested with httpd-test's printenv.shtml.
(Justin threw in one or two unrelated formatting nits)
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz |
e099672a13ea4ff4a11f130406f1baecba5949ba 90869 |
|
02-Sep-2001 |
jerenkrantz |
Make mod_include check for BYTE_COUNT_THRESHOLD on a per-bucket basis
rather than on a per-character basis. A significant amount of time
was spent checking the limit. A better place to check for the threshold
is when we read the bucket in not as we read each character in the bucket.
If a bucket manages to be 200MB, it is not this code's problem as it
is a mere filter.
I ran this with the mod_include stuff in httpd-test and it looks good
from here.
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz, Ryan Bloom, Greg Stein, Cliff Woolley,
Paul Reder, etc, etc, etc... |
441bd066858500e75e4f63ef149120bcf523de58 90825 |
|
30-Aug-2001 |
jerenkrantz |
Fix a segfault with mod_include when r->path_info is not set
(which is the case with mod_proxy).
My only question about this is whether we should place some value
(such as <UNKNOWN>) when path_info isn't set.
Submitted by: Ian Holsman <ianh@cnet.com>
Reviewed by: Justin Erenkrantz |
4d003677925ceb0abefb9c95355b4c9e9e502899 90735 |
|
27-Aug-2001 |
rederpj |
Moved split_and_pass_pretag_buckets back to being a
macro at Ryans's request. Removed the return from it
by setting and returning a return code instead. Updated
the code to check the return code from teh macro and
do the right thing. |
78e8198247420a3efeb21e38b42c423e5863cbb0 90728 |
|
27-Aug-2001 |
jwoolley |
The consensus now is that mod_include should just butt out of any decisions
about what to do with different request methods. It's true that mod_include
in 1.3.x did not allow POST, but back then it was a handler. Now it's a
filter and can be used to filter the output of dynamically generated responses,
even ones resulting from a POST request. So if mod_include is in the filter
stack, it should just blindly parse the brigade regardless of request method.
This still fixes the security problem, it just fixes it by being more flexible
rather than less so. |
314b1f3fac7a0b556146ef055f37df00020604d0 90668 |
|
26-Aug-2001 |
jwoolley |
Fix a security problem which would allow an SSI document
to be passed to the client unparsed.
Reported by: Brian Pane |
a906160166014e14adc01c87a956d89de0d79918 90655 |
|
25-Aug-2001 |
rbb |
Add the ability for mod_include to add the INCLUDES filter
if the file is configured for the server-parsed handler.
This makes the configuration for .shtml files much easier
to understand, and allows mod_include to honor Apache 1.3
config files. Based on Doug MacEachern's patch to PHP
to do the same thing. |
59e89a4eab278c2d104ecc24c00067b6d1d1941a 90624 |
|
24-Aug-2001 |
dougm |
fix bogus include recursion error when q->uri and rr->uri are both:
"INTERNALLY GENERATED file-relative req"
PR:
Obtained from:
Submitted by:
Reviewed by: |
93780c0e38edba46c1be32fd4c31c344c0a57286 90616 |
|
24-Aug-2001 |
jwoolley |
Sanitize all the wacky indentation in this block prior to commiting
the real fix. No functional change. |
a42a25f0b63e4753c61c3e9dc6f9050ff610ceb4 90600 |
|
24-Aug-2001 |
trawick |
fix what would seem to be a serious problem in
split_and_pass_pretag_buckets(): the retcode is not
specified on one of the paths |
53b8cdb3621b11b897438d8990d20e0b78f0d4b7 90554 |
|
23-Aug-2001 |
rederpj |
Fix for mod_include. Ryan's patch to check error
codes put a return in the wrong place. Also, the
include handler return code wasn't being checked.
I don't like macros with returns, so I converted
SPLIT_AND_PASS_PRETAG_BUCKETS into a function. |
8be190a68d8a4eafe1965d7ed53d9f56e4fea77b 90553 |
|
23-Aug-2001 |
gregames |
whoops! replace two post 2.0.24 fixes I accidently wiped out yesterday.
Reported by: Jeff Trawick, Paul Reder |
374e2f2d7ee8274b53fddb0d4e3270105377b868 90519 |
|
23-Aug-2001 |
gregames |
get rid of nuisance log messages due to subrequests failing with EPIPE |
d0af34e0d69afb8195eee403c60357d59ac046e1 90486 |
|
22-Aug-2001 |
trawick |
Fix a segfault in mod_include when the original request has no
associated filename (e.g., we're filtering the error document for
a bad URI).
Reported by: Joshua Slive |
7a027a168069a89ca0946e04294f5130d9cbe3b8 90329 |
|
18-Aug-2001 |
rederpj |
Fix a minor issue with Jeff Trawick's mod_include
patch. Without this patch, the code will just allocate
more bytes in get_combined_directive than are needed. |
dd696f668578e668205f232e0787a12df7f0aad0 90303 |
|
17-Aug-2001 |
trawick |
Fix a problem in mod_include when we reached the BYTE_COUNT_THRESHOLD
after parsing the first part of the tag. We could get errors like
[error] [client 127.0.0.1] unknown directive "<!" in parsed doc filename |
2ec09ac3fb45b70cafd163b51784a8c7b92974ec 90302 |
|
17-Aug-2001 |
trawick |
we're only going to re-scan the directive when we're in
PARSE_DIRECTIVE state, so only reset directive_length when
in that state |
e36fc80faab0b76f0e4e9e43bbbe9be6cca53298 90295 |
|
17-Aug-2001 |
trawick |
Fix a problem parsing tags.
We're in find_end_sequence() walking over the directive and the rest
of the tag but we stop parsing so we don't walk over too much storage
(e.g., mmap) at once). When we resume later, ctx->directive_length
has the value it had when we bailed out, so directive_length is wrong
and we hit errors like:
[Fri Aug 17 11:12:06 2001] [error] [client 127.0.0.1] unknown directiv
e "include virt" in parsed doc /home/trawick/apacheinst/htdocs/manual/
mod/mod_include.html |
48d2edbfb84e5559b5da0f8d614ccab805cc67a8 90090 |
|
11-Aug-2001 |
rbb |
Fix the new method code. We need to cast 1 to an apr_int64_t or it will
be treated as a 32-bit integer, and it will wrap after being shifted
32 times.
Submitted by: Cody Sherr <csherr@covalent.net> and
Ryan Morgan <rmorgan@covalent.net> |
ff2fef0d709ee06646b3462cd3ef39648a54c7f7 89980 |
|
07-Aug-2001 |
jwoolley |
Fixed an error in ap_ssi_get_tag_and_value(). It was not placing the
null terminator in the right spot for the tag_val if the value contained
backslashes. This caused #if, #elif, and #else expressions with backslashes
to be incorrectly evaluated. |
ff4f536ee2bab7f642400dd50caedbfbae3e03df 89876 |
|
02-Aug-2001 |
rbb |
I forgot to catch all the other return calls in this function, so this
cleans up the warnings. Thanks OtherBill for beating me up about this.
:-) |
e49758465fbf67f29f9aeda996d09f7cc6fa9fe5 89872 |
|
02-Aug-2001 |
rbb |
Add a handler to mod_includes.c. This handler is designed to
implement the XbitHack directive. This can't be done with a
fixup, because we need to check the content-type, which is
only available in the handler phase.
PR: 7751 |
81e5d74ef38fbf76853e1fbdd95c117e130e473f 89870 |
|
02-Aug-2001 |
rbb |
Make the includes filter check return codes from filters lower in
the filter chain. If a lower level filter returns an error, then
the request needs to stop immediately. This allows mod_include to
stop parsing data once a lower filter recognizes an error.
PR: 8102 |
3084ccb696461ceb2fc4fbe76e302640eaac6a18 89731 |
|
26-Jul-2001 |
wrowe |
That's it. There are no further emits for signedness or size conversion
in MSVC 5.x. Enough for 2.0.22, I'll revisit under -w4 (msvc's -wall)
and attack the other modules in 2.0.23-dev. |
653902eb0cf2fa09cbfc4582bfbb68b0f4ed1a81 89713 |
|
25-Jul-2001 |
wrowe |
Change over to apr_strfsize() for apr_off_t file size formatting. |
47f6571afca650ad99323a8deb10071bab038f24 89654 |
|
23-Jul-2001 |
jwoolley |
The bucket should be created with the size of the data NOT including a null
terminator as its length. Otherwise, the bucket length value is wrong (too big
by one). |
67b64e7004ec3f880b768e0ecc0c4fcb46c92e56 89652 |
|
23-Jul-2001 |
trawick |
fix a typo (duplicate return statement)
Submitted by: Justin Erenkrantz |
afab3e893c3fecabf2e3cac4e37ada58db984cea 89651 |
|
23-Jul-2001 |
rbb |
Fix a cosmetic problem with mod_include. Non-existant SSI vars
used to appear as '(none', without the closing paren.
Submitted by: G�nter Knauf <eflash@gmx.net> |
9ce0a03f13db4815dd3e554409d672caa1a4671d 89362 |
|
13-Jun-2001 |
rbb |
Add a pool to the ap_save_brigade prototype. This removes a todo from
the comments that is really necessary before the setaside stuff will
work properly. |
4955f2b4ca045ac2c025fff3a46c2d901933d1e4 89274 |
|
06-Jun-2001 |
trawick |
filters should return APR status codes |
c0ae62021062bd9e2434c64db6763d22c703d48d 88909 |
|
22-Apr-2001 |
jwoolley |
Revert about half of the last commit because of an oversight on my part
that broke it. Unfortunately, fixing the oversight "the right way" is
almost as ugly as the original code; it's easier to just go back to the way
it was, at least for now.
The problem is that the original code would delete buckets from foo through
bar in the brigade, and the patched code deletes *everything* up through
bar, which is bad. I could have fixed it by doing two splits, but that
introduces too many palloc's for my taste. It's also fixable with RING macros,
but I refuse to start using RING macros directly on brigades. The best
solution would be if there were a brigade equivalent to a RING_UNSPLICE/
RING_INSERT_HEAD sequence (this sequence is also used interally by
apr_brigade_split(), btw), something like this:
APR_BRIGADE_TRANSFER_BUCKETS(oldbrigade,newbrigade,startbucket,endbucket);
Absent that, the affected parts of the patch are hereby reverted (grumble,
grumble). If people liek the APR_BRIGADE_TRANSFER_BUCKETS() idea, I'll
implement that and repatch mod_include later. |
38a4fbdc77aba93aba286e5ba2316d575430b45b 88906 |
|
20-Apr-2001 |
jwoolley |
Change mod_include to use the latest bucket API tricks. This gets
rid of some obscure while loop magic that had to be done before,
making mod_include easier to read and a better example for future
filter writers.
There should be no semantic changes in this patch... just a 1-to-1
mapping from while loops to bucket API calls that do the same thing.
Reviewed by: Paul J. Reder |
e08a1745d191d666759873a50edcc520ca273e12 88785 |
|
10-Apr-2001 |
wrowe |
change include_handler to include_handler_fn_t, and clean up a nasty
explicit cast that could float from the include_handler_fn_t declaration. |
33404444ac325fa222785ca5f378a242c78da0ae 88782 |
|
10-Apr-2001 |
wrowe |
We seem to use fn_t *fn throughout the rest of apache, so normalize this
syntax for mod_include's include_handler(_t) |
27338fc39af80f2f0e4a8dbdc90c8a8179a5b2e4 88477 |
|
08-Mar-2001 |
rbb |
Always clear the C-L if we are going to try to parse the file. It is
impossible for us to determine if there is going to be an SSI tag in the
file until we have actually scanned it all. By that time, it is likely
that the first chunk of data, and the headers have been sent to the client,
and it is too late to clear the C-L. If we are parsing the file, we have
to just assume we are going to change the content. |
694370e81b958358b0ecd33ca224d38ce038625a 88430 |
|
02-Mar-2001 |
trawick |
get rid of unused variable b_copy in function handle_echo()
PR: 6980 |
24703f33a2517cae9e826f857243933d3351bf41 88428 |
|
02-Mar-2001 |
trawick |
Use the proper enum for the block/non-block parameter to apr_bucket_read().
A couple of these changed in meaning (e.g., 1->APR_BLOCK_READ).
PR: 6980 |
b42a7e46e4f80282bd27e96d43c9510b14ccb9aa 88417 |
|
02-Mar-2001 |
rbb |
Modify mod_include to send blocks of data no larger than 9k.
Without this, mod_include will wait until the whole file is parsed,
or the first tag is found to send any data to the client.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com> |
dfd4950edac888e671b96f62ff5382b7cb350d48 88346 |
|
26-Feb-2001 |
rbb |
Add config directives to override the DEFAULT_ERROR_MSG and
DEFAULT_TIME_FORMAT.
PR: 6193
Submitted by: Dan Rench <drench@xnet.com>
Reviewed by: Ryan Bloom |
4bb9b1cc4774ae9bf0a9cf44128d761341eff8ab 88337 |
|
26-Feb-2001 |
jwoolley |
Simplify by using apr_bucket_delete(e) where possible.
(Oh, plus one tiny little loop simplification.) |
138c8f7cb8254e035c6f45288e3909cd9c21be5c 88189 |
|
16-Feb-2001 |
martin |
Rename the module structures so that the exported symbol matches
the file name, and it is easier to automate the installation
process (generating LoadModule directives from the module filenames).
Next step is to remove the 4th argument to the APACHE_MODULE macro
completely and require people to use the matching names, and to
reduce the LoadModule directive to 1 argument.... Objections? |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
024cd9589e52cf11ce765dfddb5b5f0c6e421a48 88061 |
|
10-Feb-2001 |
gstein |
*) continued header revamping
*) torch some headers (and some libs) from the autoconf stuff |
1b21d7b3d97def358b2e923655edeb16613a1c31 88060 |
|
10-Feb-2001 |
gstein |
Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes |
066877f1a045103acfdd376d48cdd473c33f409b 88019 |
|
08-Feb-2001 |
dougm |
renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by: |
2cfa4a3d464d1ce4d6eee58ea899501ba78957a0 87991 |
|
06-Feb-2001 |
trawick |
move the instantiation of includes_module out of mod_include.h |
445997e06464e7625c7f0e22917f8f2d9876cfff 87984 |
|
05-Feb-2001 |
rbb |
Move the logic for creating CGI processes from mod_include to mod_cgi(d).
This removes a good deal of duplicate logic for creating CGI scripts. |
f54da7877f9e092465df38bfda142f3e71dbb7aa 87933 |
|
31-Jan-2001 |
wrowe |
Eliminate all assumptions that finfo.protection reflects the existance
or absense of a file. finfo.filetype is defined as 0 if APR_NOFILE,
or a non-zero value if the file could be apr_stat()'ed. |
5ae78608d6554d6cb7a93a34e10a6b90374beee0 87907 |
|
29-Jan-2001 |
trawick |
fix gcc warning
mod_include.c: In function `find_file':
mod_include.c:1281: warning: suggest parentheses around assignment used as truth value |
c9dafaafc2650994e47f88f5239f643c97ec4cb3 87903 |
|
29-Jan-2001 |
wrowe |
*) Adopt apr features to simplify mod_includes. This changes the
behavior of the USER_NAME variable, unknown uid's are now reported
as USER_NAME="<unknown>" rather than the old user#000 result.
WinNT now resolves USER_NAME on NTFS volumes. [William Rowe]
** Also fixes yet another stat result, allowing APR_INCOMPLETE |
6f984345bbfa9342dde1f2b7b8c35b7987d078af 87760 |
|
20-Jan-2001 |
wrowe |
The changes required for the APR_FINFO_wanted argument to
apr_stat/lstat/getfileinfo. These are -NOT- optimal, they
are simply the required changes to get the server working.
The size of the patch is a warning about how we need to
really look at what we are trying to accomplish with all
of these stat/lstat calls. |
4b13b6bcdcfae61d3c58cc2569757651f28f2bbf 87754 |
|
20-Jan-2001 |
rbb |
Remove ap_chdir_file. This function is not thread-safe, and nobody
is currently using it. The proper way to do this, is to use the
apr_create_process API. |
b980ad7fdc218b4855cde9f75a747527f50c554d 87731 |
|
19-Jan-2001 |
wrowe |
The big change. This is part 3 of the apr-util symbols rename, please
see the first commit of srclib/apr-util/include (cvs apr-util/include)
for the quick glance at symbols changed. |
73e8b26287de5c06fa470d36162e103dbac9c7e5 87697 |
|
17-Jan-2001 |
wrowe |
Provide apr_pool_t arg to register_hooks, since anything they do in that
step -must- be done with a pool that will not outlive the cmd pool, from
which they may have been dynamically loaded. |
f88d837d91fe0e15703c926c6a866012025b7cea 87630 |
|
09-Jan-2001 |
trawick |
get rid of some invalid errno references; use the apr_status_t instead |
e95f5a6ebefb83d0e8a82cbc4db7d354957a817d 87604 |
|
07-Jan-2001 |
ben |
Make handlers use hooks. |
b34e9b99cf7293b8b50c5b08313f9bc894af9c16 87584 |
|
04-Jan-2001 |
trawick |
Get rid of some warnings on Tru64 and OS/390. void * isn't compatible
with function pointers. |
f6e9f5600e77b78fb013bb543d364135961639d1 87241 |
|
07-Dec-2000 |
rbb |
Make mod_include use a hash table to associate directive tags with
functions. This allows modules to implement their own SSI tags easily.
The idea is simple enough, a module can insert it's own tag and function
combination into a hash table provided by mod_include. While mod_include
parses an SSI file, when it encounters a tag in the file, it does a
hash lookup to find the function that implements that tag, and passes
all of the relevant data to the function. That function is then
responsible for processing the tag and handing the remaining data back
to mod_include for further processing.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Ryan Bloom |
8bf593a18ff01af22d268a48294d1a1d0aa5d9d2 87113 |
|
29-Nov-2000 |
rbb |
First step towards extracting the SSI handling from mod_include so that
it is extensible by modules
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Ryan Bloom |
87e9aee98265a06128c8ae448967fe98e271cce0 87104 |
|
28-Nov-2000 |
trawick |
Fix some lvalue casts so that we can compile with xlc on AIX.
Submitted by: "Victor J. Orlikowski" <v.j.orlikowski@gte.net>
Reviewed by: Jeff Trawick |
23801cf373ddaff5a5ba7692d2637d75bdffdc4b 87099 |
|
28-Nov-2000 |
trawick |
Change some apr_ssize_t uses to apr_size_t.
Submitted by: Victor J. Orlikowski
Reviewed by: Jeff Trawick |
cd36eaa1f276d94ef45e8665cc701ac1d5fc5ba3 87094 |
|
27-Nov-2000 |
trawick |
fix a bunch of apr_ssize_t/apr_size_t discrepancies |
cccd31fa4a72fe23cc3249c06db181b274a55a69 87080 |
|
26-Nov-2000 |
gstein |
*) Compensate for recent changes in the APR headers. Specifically, some
files need to specifically include stdio.h, or a particular apr_*.h
header.
*) Adjust callers of apr_create_process() to deal with the extra "const"
*) Add "const" to args of ap_os_create_privileged_process() |
85bea52867bd1a8c81080ba415b5cd5b771ce5f7 87076 |
|
23-Nov-2000 |
gstein |
add the "next filter" parameter to the rest of the ap_sub_req_* calls. |
18343797fadabacf01280b38ea7688690d12aec0 87067 |
|
22-Nov-2000 |
rbb |
A complete re-write of mod_include. This has served the entire manual
now. This makes mod_include a filter that uses buckets directly.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
Reviewed by: Ryan Bloom |
446b877d2ab69d9bbcd9152a2d54814f05f1c00b 86915 |
|
10-Nov-2000 |
rbb |
Fix a lot of the fallback from the apr_ssize_t to apr_size_t change
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net> |
e276c9cfe954b78e045baa94abb7a9def722fe1e 86737 |
|
24-Oct-2000 |
rbb |
Fix mod_include to serve the FAQ correctly. The problem was a couple of
bugs in get_tag. This also allows mod_include to save buckets with partial
tags in them.
Submitted by: Ryan Bloom and David Reid |
9d4ed8d865e29fdfe0e159e95eaa072a7242defb 86731 |
|
24-Oct-2000 |
wrowe |
Get everything working with suexec patches again. |
39813b8983b16dce75194e7b70184fd68743db90 86712 |
|
23-Oct-2000 |
manoj |
Add back suexec support. |
fc4174a17c84f06acfbd39b69734ee305e570ffb 86656 |
|
19-Oct-2000 |
rbb |
Get mod_include working again. This still needs to be re-written, but
at least now we are serving SHTML files again.
PR: 6641 |
3d96ee83babeec32482c9082c9426340cee8c44d 86609 |
|
16-Oct-2000 |
wrowe |
Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols
for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)
and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.
All _VAR_ flavors changes to _DATA to be absolutely clear.
Thank you Greg, for the most obvious suggestion. |
50e59a535cafd083838a173aedf9cfa6917d016d 86608 |
|
16-Oct-2000 |
wrowe |
Cleaning up a _Security_ concern - Please Review Carefully |
a368d1ad6bc200b13dda026a14fa4ad8f82716cb 86597 |
|
15-Oct-2000 |
rbb |
Stop using the index into the array for the bucket type. Now we just use
a pointer to a static structure. The ap_foo_type functions have also been
replaced with simple macro calls. I am going to replace the
ap_bucket_(read|split|setaside|destroy) functions with macros soon.
Reviewed by: Will Rowe |
429d0fa129ee2558bd1d01a1abd4e9375e5d67e8 86575 |
|
13-Oct-2000 |
rbb |
Remove all function pointers from the ap_bucket type. These function
pointers are replaced with a global table that allows modules to register
their bucket types. Those bucket types are then allowed to be used in
the server processing. This also required removing all direct calls to
those functions. The ap_bucket type has an index into an array, so in
each ap_bucket_* function, we use that index to find the correct set of
functions. |
bc389b97f2f73205e1b1b1a076e76b820267f361 86400 |
|
05-Oct-2000 |
trawick |
Get rid of much of the old implementation of translating the
charset of response bodies.
ap_checkconv() is removed, except for in os/bs2000 and os/tpf.
(Anything there is questionable for 2.0 anyway.) |
1f89ef1594d8a552f81e775be55cb9baeab32b77 86283 |
|
22-Sep-2000 |
trawick |
mod_include now tweaks the subrequest output filter chain so that
only *subsequent* filters from the original request are inherited.
Previously, *all* filters from the original request were inherited.
Currently, any filter which runs a subrequest should do the same
thing (though a cleaner interface may be appropriate.)
With this change, subrequests are properly filtered much more often. |
c8cac96ffeeb64c1765fce44b24c1bfa891b8b19 86279 |
|
21-Sep-2000 |
trawick |
Get the call to find_string() out of a loop. find_string() loops
across the buckets internally. This gets rid of a compile warning
but doesn't change the behavior.
Inspired by: "Victor J. Orlikowski" <v.j.orlikowski@gte.net> |
ffb33d5056f6b93558cd032b24fcd250313180f3 86270 |
|
20-Sep-2000 |
trawick |
Fix the prior fix to the usage of ap_brigade_split()... The caller of
send_parsed_content() needs to see the new brigade representing the
rest of the content. |
f1bbad3b2e13dc11fded7f6c86a733bc1fd0ed58 86266 |
|
20-Sep-2000 |
trawick |
Fix mixup in call to ap_brigade_split(). |
02373b972441900cc02cd0c326c62e3b12ea0612 86252 |
|
19-Sep-2000 |
rbb |
Cleanup the brigade split in mod_include. It turns out that we have had
a brigade split function for quite some time. |
1296b2d30150ccb4ae9f6d690846b4e8f8571fd2 86251 |
|
19-Sep-2000 |
rbb |
tart getting things setup for input filtering. All this basically does
is add part of the infrastructure. Namely:
1) filter list in the conn_rec, which is where the input filter list
must live
2) Split the register_filter into multiple functions, one to register
input filters the other to register output filters.
3) Modify existing modules so they still work. |
0dd3f3b147feabaa0c36a1abd60a1b55bd315027 86242 |
|
17-Sep-2000 |
rbb |
If a bucket is split at the first or last character, then we should get
a zero length bucket and a bucket containing the original text. Later
filters will either throw away the zero length bucket, or they will just
ignore it. The problem is that if we return an error in those conditions,
then all filters need special logic whenever they are going to split a
bucket. By always splitting, only a few selected buckets need the special
logic to deal with zero-length buckets. This also fixes mod_include to not
have the special logic around it's split call. |
e350972f92b4f6d8a1b9e177bffa14b05345eacd 86239 |
|
15-Sep-2000 |
trawick |
Handle a tag that appears at the start of a bucket.
Get rid of an endless loop (waiting for dptr2 to become NULL instead of
AP_BRIGADE_SENTINEL()).
Add to a to-do comment. |
f6b9fb1159d1af7d615ccfe99c0f6840bbf014b7 86229 |
|
14-Sep-2000 |
trawick |
Fix the types of the variables passed as the len parm to bucket->read()
(in various places).
In ab, change the declaration of argv so that it can be passed into
apr_initopt() without warning.
Submitted by: Victor J. Orlikowski <v.j.orlikowski@gte.net>
Reviewed and modified slightly by: Jeff Trawick |
fcc991411813d0ceaca4a76675f771e1f06617cd 86228 |
|
14-Sep-2000 |
trawick |
In find_string(), handle eos and end-of-pipe conditions.
In get_tag(), add an XXX comment pointing out a discrepancy in the
behavior pre- and post-bucketization.
In include_cmd(), don't destroy a brigade just handed off to the next
filter. Subsequent filters will take care of that soon enough.
Fix some compile warnings (mostly removing unused variables). |
84d7dd7fcd501c15cf98de1646b83642f315f5a2 86216 |
|
13-Sep-2000 |
rbb |
Fix a stupid typo. I wanted to register the filter, but I didn't want to
add it. I accidentally deleted the wrong line before I committed last
night. |
47d7b9019e57fbf3eaa4d2b19bbbcce087dd8389 86211 |
|
13-Sep-2000 |
rbb |
First pass at mod_include as a filter. This is at an incredibly alpha
stage, but it should compile for everybody now. I have experienced a few
seg faults that I haven't been able to track down yet, but it should
compile on all platforms, which is better than before this patch. |
443f96ac390c06ca4fa763d3bfcfbc8f757bd756 86136 |
|
23-Aug-2000 |
rbb |
Remove IOLs from Apache. They are no longer necessary, now that we have
filtering beginning to work. There is a hack that has been repeated
through this patch, we morph a pipe into a socket, and put the socket
into the BUFF. Everytime we do that, we are working with a pipe from
a CGI, and we should be creating a pipe bucket and passing that bucket
back. Because we don't actually have pipe buckets yet, we are using this
hack. When we get pipe buckets, this will be fixed. |
71ae70b321b6e872938934bbf569c5787962aca3 86020 |
|
07-Aug-2000 |
trawick |
A few more (last?) ap_xlate->apr_xlate changes covering stuff not completely
handled in the big apr rename last week. |
10a4cdd68ef1ca0e54af296fe1d08ac00150c90b 86008 |
|
06-Aug-2000 |
wrowe |
Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...
see src/lib/apr/apr_compat.h for most details.
Also a few minor nits to get Win32 to build.
PR:
Obtained from:
Submitted by:
Reviewed by: |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
829bc6b670c7be394ccd33886add7ac39e276976 85928 |
|
29-Jul-2000 |
trawick |
Change the storage allocation mechanism for ap_proc_t structures
passed to ap_note_subprocess() by mod_rewrite and mod_include. The
storage needs to last as long as the pool passed to
ap_note_subprocess(), so autodata won't work.
The mod_rewrite change wasn't tested. A normal build with mod_rewrite
on Linux currently results in the link failing due to unresolved
references to dbm_*. |
53d96a3fd27f747396b3258047f889ab1179d1d0 85888 |
|
26-Jul-2000 |
dgaudet |
- fix POOL_DEBUG ... restored the ap_pool_joins that dreid removed.
- removed the apr_abort foo since every caller was passing it NULL anyway;
and this is debugging code, so i don't have any qualms about using
stderr or abort(). |
b6055b7832a0e4d0818416252fff5925aaebae4b 85867 |
|
21-Jul-2000 |
rbb |
Move all APR functions related to strings to their own directory, and
create a new header for those functions. This is the first step to
removing the apr/lib directory completely, and moving those files/functions
to descriptive directories. |
9cb787a8a3d06704ab9c51ffd51525b364151182 85860 |
|
18-Jul-2000 |
trawick |
Fix some bad ap_log_error() invocations. Comment on a bad
ap_log_rerror() invocation.
Almost all of this is in code never compiled. |
44d275fe4ce94e3b2d73614b1930a2e43e6fba8f 85774 |
|
06-Jul-2000 |
stoddard |
Eliminate a couple of compiler warnings. I don't like casts but these
seem safe. |
d41217398f0e1031adbb6f5bd37f45737c805def 85723 |
|
28-Jun-2000 |
trawick |
Include strings.h for strcasecmp(), strncasecmp(), and bzero().
Include time.h for time().
This removes a bunch of compiler warnings with gcc -Wall on AIX.
Submitted by: Jeff Trawick, Victor Orlikowski |
ebe70c2684539a5fb2d899241d1601710dfa38a4 85607 |
|
18-Jun-2000 |
trawick |
Use the new command-handler initializer macros in a few more modules,
cleaning up the resulting warnings. |
66d349e02d1a5a599a01c977d2c5b0009181f7de 85599 |
|
17-Jun-2000 |
ben |
More consification, correct command initialisation. |
97d1c0756ebea92a6ffcd0d88359311c59740dbc 85594 |
|
17-Jun-2000 |
dreid |
ap_pool_join is a debugging function so remove it. |
48d7c43629323c8d5ee9f7bd0d194de0a376b391 85558 |
|
13-Jun-2000 |
rbb |
Protect system header files with the appropriate macros. |
6a07be8f4d69cf6936e340975cf8ec25c01774b9 85535 |
|
12-Jun-2000 |
rbb |
Remove the final vestiges of stat.h from Apache 2.0. All calls are now to
ap_stat. This also adds the new function ap_lstat(). This function is
analogous to lstat. |
818ad8d5e5ba620e403412b947a26d578f653eed 85514 |
|
11-Jun-2000 |
ben |
Do printf formatting properly. |
6f142cc00c8d58eea47ebef4a0ca748a40da90b5 85506 |
|
10-Jun-2000 |
trawick |
cast ap_snprintf() argument to the type expected by the format string
(to fix gcc warning on FreeBSD) |
b1476ba063e6d9577cd86db3db5dd98ff6bc78b9 85449 |
|
06-Jun-2000 |
rbb |
Add the resource limiting code back to Apache 2.0. This only works on
Unix because I can't find any other platforms with rlimit. If there are
other platforms that need this code, then some of the code needs to move.
This has just barely been tested, so it could probably use some good
testing. |
e68becff3c3ddc18723c9799b8cc2e6e9c3dbd66 85318 |
|
28-May-2000 |
wrowe |
PR:
Obtained from:
Submitted by:
Reviewed by:
Reverse out all _EXPORT_VAR changes back to their original _VAR_EXPORT
names for linkage (API_, CORE_, and MODULE_). |
30c289e6bc6d28d210b21edd800ab2cfc78a8381 85309 |
|
27-May-2000 |
wrowe |
This patch corrects the issues from the AP_EXPORT and linkage
specification arguments to the ap_hooks.h declarations. As with
the APR_ and AP_ patches, API_VAR_EXPORT becomes API_EXPORT_VAR,
and MODULE_VAR_EXPORT becomes MODULE_EXPORT_VAR.
I will be happy to revert the inclusion of ap_config.h from
httpd.h if this bothers anyone. More individual modules need
to be patched if we do so.
The API_EXPORTs all moved into central storage in the ap_config.h
header. Without WIN32 or API_STATIC compile time declarations,
these macros remain no-ops.
This patch also moves the following data from http_main to http_config:
const char *ap_server_argv0;
const char *ap_server_root;
ap_array_header_t *ap_server_pre_read_config;
ap_array_header_t *ap_server_post_read_config;
ap_array_header_t *ap_server_config_defines;
And the following variables had already moved into ap_hooks.c:
ap_pool_t *g_pHookPool; (initialized now in http_config)
int g_bDebugHooks; (out of http_config)
const char *g_szCurrentHookName; (out of http_config)
The changes to http_main.c are in preparation for that module to
move out to a seperate .exe for win32. Other platforms will be
unaffected, outside of these changes. |
f5d913e797a32274e105222016bd67617bf224a0 85285 |
|
24-May-2000 |
rbb |
Rename stdin, stdout, stderr from new ap_proc_t to in, out, and err because
Windows was having problems with the original names. |
984d71a5392cf20a428ca89bd0464611bb3db6a9 85279 |
|
23-May-2000 |
rbb |
Convert ap_proc_t to a complete type. This lets us access the pid directly.
Only the prefork MPM has been ported so far, the rest of the Unix MPM's are
coming later today. |
dd35ca20f76a5feada41afa296e1018d22de3805 85274 |
|
23-May-2000 |
bjh |
Turn on buffered I/O in mod_include for reading the input file. |
85482525adee8e37838e0a5fca66e740a7fb5c2e 85232 |
|
16-May-2000 |
stoddard |
Update a couple of modules to use ap_stat() rather than stat().
PR:
Obtained from:
Submitted by:
Reviewed by: |
178381ebc820fb4c429aa000240cc8ec42c99c58 85222 |
|
16-May-2000 |
trawick |
mod_include:
. APR-ize some EBCDIC logic that translates char-by-char
. use the buff option BO_WXLATE to store a translation handle
instead of the old logic to turn on the B_EBCDIC2ASCII flag |
404e2e1f8ad30c2d996f5fb6b3a9a4a4a14a004b 84963 |
|
14-Apr-2000 |
rbb |
Change ap_context_t to ap_pool_t. This compiles, runs, and serves pages
on Linux, but probably breaks somewhere. |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
7463de0c603f07c9e1820e812d2f1a73661843e6 84842 |
|
27-Mar-2000 |
rbb |
Backout layered I/O changes. |
97c0c3f13de0b6189a71a53df005c8b38074c869 84837 |
|
25-Mar-2000 |
rbb |
Enabled layered I/O. Docs are forthcoming. |
0c17e19b2f9ebb28c25f9efa6cd58d257e1ad728 84769 |
|
15-Mar-2000 |
dreid |
Jeff's couple of small corrections.
Submitted by: Jeff Trawick <trawick@ibm.net> |
3a9bc6532fbe8439fc748d8ffedb87415904d16a 84751 |
|
13-Mar-2000 |
jim |
Backport the CSS security fixes to Apache 2.0a. Or is that forward
port? My sense of direction is all confused.
PR:
Obtained from:
Submitted by:
Reviewed by: |
64185f9824e42f21ca7b9ae6c004484215c031a7 84725 |
|
10-Mar-2000 |
rbb |
Fix all the License issues. Including:
s/Apache Group/Apache Software Foundation/
s/1999/2000/
s/Sascha's license/ASF license |
9625528fcf4fa27288f3be080a1979c8ef60d7df 84497 |
|
19-Jan-2000 |
rbb |
Manoj has been pushing for this for a while, but I've been too dense
to understand that he was right. :-) Basically, this makes the modules
use ap_config to test for header file inclusion. This method is not to
be used for larger modules that run autoconf theirselves. Including
ap_config is only valid for modules which rely on Apache to do their
configuration. Currently, this is only the core modules. |
9274c5e05fbb6b9890099c0c20aa35d747d42be1 84494 |
|
19-Jan-2000 |
stoddard |
Fix compile break on Windows and update to use ap_stat() |
8f3ec4772d2aeb347cf40e87c77627bb784dd018 84492 |
|
19-Jan-2000 |
rbb |
This is a huge change to the configure system. Basically, this name space
protects most, if not all, of the Apache macros. This has been tested on
Linux using all of the Unix MPM's. The biggest push was that Apache's
httpd.h header file can no longer include the ap_config.h file. Most of the
other files include this themselves now.
Submitted by: Ryan Bloom and Manoj Kasichainula |
6db54801798f6021bb464de7b3fdcc9dc3150f7b 84413 |
|
09-Jan-2000 |
dgaudet |
time overhaul:
- ap_time_t is a 64-bit scalar, microseconds since epoch
- ap_exploded_time_t corresponds to struct tm with a few extras
probably broken on anything except linux. |
96daa00aabce796ace71946056cda94d68ef6a77 84400 |
|
06-Jan-2000 |
rbb |
Next pass at the time functions. This defines an ap_ansi_time_t which has
a specific format (seconds since 0:00:00 Jan 1, 1970). I also renamed the
(get|set)_curtime functions to (get|set)ansitime. This should make more
sense, and be a bit more intuitive. |
d96aa158770d3f83cb59cf0f2f7402e175f7dfcc 84397 |
|
06-Jan-2000 |
rbb |
Separate the stat structure from the file structure and use ap_stat and
ap_getfileinfo in apache. |
9ede6357edc9aff1fb2f7edebefab473673298aa 84393 |
|
04-Jan-2000 |
rbb |
Initialize all ap_file_t's to NULL. This allows ap_open and ap_stat to
work together without causing memory leaks. |
44c46ef733836b32585d135d2d90856e7cfd9929 84338 |
|
20-Dec-1999 |
rbb |
First step in getting Apache to use APR's time libraries. This gets a good
number of them, but I think there are more time values still in the Apache
code. This works under Linux, but has not been tested anywhere else. |
23cfa61aaed581f103070c8733a493b31f990f9b 84309 |
|
16-Dec-1999 |
rbb |
After a few hours of thorough testing, this patch makes CGI's through SSI's
work properly on Linux. We will be testing this change on Win32 momentarily,
but because we are relying on APR for the dirty work, I have no fears. :-) |
14552184cfa95bd49b274b434390cc5195e8375c 84306 |
|
16-Dec-1999 |
rbb |
Fix mod_include so it works. Both people came up with very similar patches at
about the same time. Since the work was duplicated, I am putting both names
on the patch.
Submitted by: Allan Edwards and Paul Reder
Reviewed by: Ryan Bloom |
99b130dd1f797c0acf3ffa960b3c9acefd29f0fc 84288 |
|
13-Dec-1999 |
rbb |
Get rid of more platform dependant code. |
a952e0c6ece342d88f2bc04e20dcfc563398eed3 84215 |
|
02-Dec-1999 |
rbb |
We may not always want to make the pipes between processes non-blocking.
This patch allows us to set if both sides of the pipes are nonblocking,
both sides are blocking, just the parent side blocks, or just the child
side blocks for all three of the pipes created during create_process. I
have also modified Apache to take advantage of this change. |
407cde44becba3694e7c3d81ac99b5d86f4b03a9 84135 |
|
19-Nov-1999 |
rbb |
Finish the conversion from fprintf(stderr -> ap_log_err. |
e8d9dd6a2f39d9c1a647b0b513de84e39e2235eb 84084 |
|
01-Nov-1999 |
bjh |
First hack at getting mod_include to work. Everything seems to work ok but
error handling probably needs some work. |
b79b743d4cff02d6a830bb7118826a2fd608742a 84023 |
|
22-Oct-1999 |
martin |
I am not claiming that the modules work now, but at least the parameter lists
are prepared for the updated ap_log_rerror() format. BTW: What is APLOG_NOERROR
for now that we have an explicit error code? This is still WIP! |
b4c8a80f7dbfc9b56dbe03bdc28f0b5eb5f23697 83852 |
|
31-Aug-1999 |
rbb |
Changed pools to contexts. Tested with prefork and pthread mpm's. I'll
check this out tomorrow and make sure everything was checked in correctly. |
33098ea43d4392be70012a7c45a16639abb12439 83791 |
|
26-Aug-1999 |
fielding |
TODO: changing directory should be handled by CreateProcess
Submitted by: Dean Gaudet |
19c2bd3fc0a44f0ed4eaa7b4158f3917e9c5f988 83788 |
|
26-Aug-1999 |
fielding |
Remove timeouts as part of pthreads changes.
Submitted by: Bill Stoddard |
b859b5654eeba0b8995b7a46975121029cceda78 83786 |
|
26-Aug-1999 |
fielding |
Start to implement module-defined hooks that are a) fast and b) typesafe.
Replace pre_connection module call with a register_hook call and
implement pre_connection as a hook. The intent is that these hooks will
be extended to allow Apache to be multi-protocol, and also to allow the
calling order to be specified on a per-hook/per-module basis. [Ben Laurie]
Port a bunch of modules to the new module structure.
["Michael H. Voase" <mvoase@midcoast.com.au>]
Submitted by: Ben Laurie |
0f081398cf0eef8cc7c66a535d450110a92dc8ae 83751 |
|
24-Aug-1999 |
fielding |
Apache 1.3.9 baseline for the Apache 2.0 repository.
Obtained from: Apache 1.3.9 (minus unused files), tag APACHE_1_3_9
Submitted by: Apache Group |