92942d9ecac5ea25c5cac6c2518fe97a51170c59 1621806 |
|
01-Sep-2014 |
jailletc36 |
Silent some cppcheck warnings. |
58c74a790988c0c63b08d15f9af6908b36f3efd8 1546860 |
|
01-Dec-2013 |
jailletc36 |
Fix missing spaces in messages |
75b4c883b2ef72e0104b8b206f3408dbd1d36768 1452128 |
|
03-Mar-2013 |
jailletc36 |
Remove useless tests.
Turn
if (*x && apr_isspace(*x))
into
if (apr_isspace(*x)) |
5e657cb2e8af81202f9cb47de03fa9db5f0f22b9 1398478 |
|
15-Oct-2012 |
jailletc36 |
ccpcheck: duplicateExpression - 'vary_by_language' is tested twice |
7025945569c7fbb49f2e64e0d26f861d22a54675 1349905 |
|
13-Jun-2012 |
jorton |
SECURITY: CVE-2012-2687 (cve.mitre.org):
mod_negotiation: Escape filenames in variant list to prevent an
possible XSS for a site where untrusted users can upload files to a
location with MultiViews enabled.
* modules/mappers/mod_negotiation.c (make_variant_list): Escape
filenames in variant list.
Submitted by: Niels Heinen <heinenn google.com> |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
307030fbc813deea9053a42ce0159a3c36f8e350 1206330 |
|
25-Nov-2011 |
minfrin |
Remove unused variable. |
a21c1f8966d0992bc8deefe444f751cb3ef4e7e3 1205423 |
|
23-Nov-2011 |
jim |
Use ap_pass_brigade_fchk() |
65a3d0376e10cbe9f7563f43897d2555f58b6610 1205274 |
|
23-Nov-2011 |
covener |
mod_negotiation: don't return non-AP_FILTER_ERROR filter return values
to ap_run_handler() when sending a body directly from a type-map. |
af7cd2711a9737c0a2aa1b8475455a7dd8ce6113 1166663 |
|
08-Sep-2011 |
covener |
refactor to pull setting of Accept-Ranges header into http_protocol.c which
had been copied to other handlers. |
93d757f10e0823af718075b34363970c4af0e6cd 1147557 |
|
17-Jul-2011 |
sf |
Fix parsing of Content-Length in type maps
PR: 42203
Submitted by: Nagae Hidetake <nagae eagan jp> |
4fca72b7b53b5419325e06837c98266148111b52 1098162 |
|
30-Apr-2011 |
trawick |
fix some dead assignments found by the clang analyzer |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
4ac05f9625e37cc421f4ea548422827b4de163d7 915407 |
|
23-Feb-2010 |
niq |
mod_negotiation: Preserve query string over multiviews negotiation.
PR 33112
Joergen Thomsen |
89691c9bd17f5f53fa0aa8d3fe2e1faee5a5d984 752812 |
|
12-Mar-2009 |
rpluem |
* Escape pathes of filenames in 406 responses to avoid HTML injections and
HTTP response splitting.
PR: 46837
Submitted by: Geoff Keating <geoffk apple.com>
Reviewed by: rpluem |
cf8d02ea0c91653917b044529f3133c5a1bb9200 739382 |
|
30-Jan-2009 |
fielding |
Disabled DefaultType directive and removed ap_default_type()
from core. We now exclude Content-Type from responses for which
a media type has not been configured via mime.types, AddType,
ForceType, or some other mechanism. MMN major bump to NZ time.
PR: 13986 |
2ee41490aef922e4db0e4eff8f90a326ebaa1943 667277 |
|
13-Jun-2008 |
jim |
more tab cleanups |
433dcb1fbaae82d36634f5120bff71a04296904d 620133 |
|
09-Feb-2008 |
dirkx |
Sub-requests are created and used with two purposes; sometimes
simply to 'see' what a request would do; as to fill out an SSI,
validate access or similar - and is then discarded. And sometimes
as the precursor to becoming the actual request; e.g. when mod_dir
checks if an /index.html can be served for a '/'.
In the latter case it is important to preserve the output filters
'for real'; whereas in the first case they have to be reset to
purely the minimal proto filters (if at all). This patch instates
the output filters in 3 cases where sub-requests are/may in fact
be used as the real request later on.
This is a relatively risky change (which should not be back-ported
without further discussion) and may break caches in combination
with internal redirects/vary/negotiation in subtle ways.
See the thread starting at [1] and in particular the general
concerns of rpluem at [2] with respect to sub requests
and (fast_)internal redirects possibly needing a more
thorough overhaul.
1: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/ajax/%3c335D1A4B-25E2-4FF1-8CDF-5010A7FBD293@webweaving.org%3e
2: http://mail-archives.apache.org/mod_mbox/httpd-dev/200802.mbox/%3c47ACE1D4.4060702@apache.org%3e |
9fcea5d26cbaf4df156b83df3aeecd2896a412fd 565671 |
|
14-Aug-2007 |
niq |
mod_negotiation: preserve Query String in resolving a type map
PR 33112. Report with patch by Jørgen Thomsen.
Attention called to it by Per Jessen. |
842ae4bd224140319ae7feec1872b93dfd491143 420983 |
|
11-Jul-2006 |
fielding |
update license header text |
0c9166d0186cf0e1ad397025f730ae6967f44ce6 414238 |
|
14-Jun-2006 |
jorton |
* server/core.c (default_handler): Use apr_brigade_insert_file() to
append the file to the brigade.
* server/protocol.c (ap_send_fd),
modules/proxy/mod_proxy_http.c (spool_reqbody_cl),
modules/cache/mod_mem_cache.c (recall_body),
modules/cache/mod_disk_cache.c (recall_body),
modules/mappers/mod_negotiation.c (handle_map_file),
modules/generators/mod_asis.c (asis_handler),
modules/dav/fs/repos.c [DEBUG_GET_HANDLER] (dav_fs_deliver),
modules/arch/win32/mod_isapi.c (ServerSupportFunction): Likewise. |
3d81f57512275ca06a60a9bcbd23c1f8b429fdf2 395228 |
|
19-Apr-2006 |
colm |
Update the copyright year in all .c, .h and .xml files |
31a1560371999451c1da1a6db79aae0bf4bb1b0f 345686 |
|
19-Nov-2005 |
rpluem |
* Minor performance tweak by reusing already calculated strlen in get_body.
Submitted by: Christophe Jaillet <christophe.jaillet wanadoo.fr>
Reviewed by: Ruediger Pluem |
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 |
2a90918318af50d5712ae7159e5625476332c184 219879 |
|
20-Jul-2005 |
pquerna |
Check an alternative return value for when a file or directory does not exist. Previously this would return a forbidden on the documentation website for any URL ending in .html. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
17f7d1aa94da111172fdb7f242597b9cbfad160c 103769 |
|
25-May-2004 |
nd |
parse content-length correctly using apr_strtoff function |
a6c9ecda9cdb7010796afc17d869af08455f4738 103768 |
|
25-May-2004 |
nd |
save some cycles |
6b3b2dc5b91f813df6a8d87fbc38614018ec3163 103419 |
|
17-Apr-2004 |
nd |
don't return forbidden, if the file was just not found. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
52f13df58bab77959915d669d156f89c3f1aa7ed 102572 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
ce9621257ef9e54c1bbe5ad8a5f445a1f211c2dc 102525 |
|
06-Feb-2004 |
nd |
apply Apache License, Version 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
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 |
4aaa8ab0d28c8005478587e2237634285c005eba 99709 |
|
05-May-2003 |
nd |
make sure, the preferred language gets its chance, even when it's not
listed in browser's accept-language list. |
764315969cef40e50cdc6a5e9638454e10c1c06e 98964 |
|
11-Mar-2003 |
nd |
mod_negotiation: quality values are now parsed independent from
the current locale. level values are now really parsed as integers.
PR: 17564
Reviewed by: Dirk-Willem van Gulik |
b92cba59a0890be43b14aaf1ce30606140be9593 98871 |
|
02-Mar-2003 |
nd |
Extend mod_negotiation to evaluate the environment variables
no-gzip and gzip-only-text/html the same way as mod_deflate does.
(it drops all non-identity encodings, not only gzip) |
5d3c156ad56563a72270a1749b6de9fc925c21ec 98867 |
|
01-Mar-2003 |
nd |
fix style and WS issues. No code changes. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
031acbd88cdb9051f474a38ef67ca403cb7039b3 98512 |
|
28-Jan-2003 |
nd |
Introduce "prefer-language" environment variable,
which allows to influence the negotiation process on request basis
to prefer a certain language, e.g.:
SetEnvIf Request_URI ^/manual/foo/ prefer-language=foo |
4a164d37164a1bc42162ceb1dd0b852517449cdb 97648 |
|
25-Nov-2002 |
wrowe |
Set the appropriate mime response headers for negotated type-map
Body: responses.
wrowe's review;
My earlier concern doesn't apply. Type maps have always required the
author to be explicit in all header fields to be negotiated; if the
headers aren't given in the type map file the resulting redirect
(for non-body maps) is broken anyways. As to my other concern, the
charset should only exist if the Content-Type was given.
Submitted by: Andr� Malo <nd@perlig.de> |
d3aeeade7cbd7b98671f11b6aefd39cbbb0b4bb9 97562 |
|
18-Nov-2002 |
trawick |
use memcpy() instead of strncpy() since strncpy() is more expensive but
none of its extra function is needed |
21e5fde3445b6418834f449958b0fb8367426ae8 96334 |
|
09-Aug-2002 |
trawick |
don't lose const looking for that '/' |
39dde7f4cd79d701cc14e5beac8ea528bc58d038 96327 |
|
09-Aug-2002 |
wrowe |
Security rollup for 2.0.40 release. Tag and roll baby. |
cba1beeab00aa7d89ccd51fa18bb2b0f5d3a07d0 96299 |
|
03-Aug-2002 |
wrowe |
catch up with the apr_atoll -> apr_atoi64 rename |
c51f2b89da23e3371959a74808dee1792d96f5c1 96179 |
|
24-Jul-2002 |
wsanchez |
Replace atol() calls which should return long long with apr_atoll() calls.
Submitted by: Shantonu Sen <ssen@apple.com> |
58fd79b56eb624bf011772994e9761d3c2e228c1 95993 |
|
10-Jul-2002 |
orlikowski |
Continue the Bill Rowe apr_size_t crusade. |
1cde33c7e2019830f8fb3224e01649305583916e 95150 |
|
17-May-2002 |
trawick |
stop using APLOG_NOERRNO in calls to ap_log_[pr]error() |
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. |
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.. |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
4d31e7fb344861855f22bad2cbe9971e33d6764e 93854 |
|
12-Mar-2002 |
striker |
Resolve the issue Jeff pointed out in his recently added comment. That
is, prevent a possible segfault or finding a tag in reused memory. |
acbdd2dae7bde98990ed3f8ef29e1bf9350bdb9e 93853 |
|
12-Mar-2002 |
trawick |
add a comment to point out a potential segfault
tweak an existing comment to make it a little more clear |
ddbbea45495e11cbd465f4373f000d88420cef40 93383 |
|
13-Feb-2002 |
wrowe |
Address the issue raised on list that users with a LanguagePriority
directive alone expect 'ForceLanguagePriority Prefer' behavior even
if that directive is omitted. |
3d303ca187ae3753a81b04a82e67a18f65195342 93080 |
|
29-Jan-2002 |
wrowe |
Many of our platform's apr_dir_read() aren't returning APR_FINFO_TYPE,
so we will take the long way through (and the long way for LNK's as well.) |
b0214ef8449905f42e121103c9e502845a18f40c 93062 |
|
28-Jan-2002 |
gregames |
backing out fix for missing path info and query string. wrowe beat me to
it. |
d157f90514f4162ca76a3ac7e589cfcb6bb33c5e 93061 |
|
28-Jan-2002 |
gregames |
handle_multi: pass along the original path info and query string if
we redirect due to negotiation
pointed out by: Bill Rowe
also, clarify what some code in handle_map_file is doing |
e6bfe4151ec394cc5c1715efbbfcce44266830d9 93046 |
|
27-Jan-2002 |
wrowe |
Shortcut where the resource has no language [discovered with no
DefaultLanguage in cgi-bin, resolving Greg Ames' observations, we
had a lurking segfault.]
This begs the question, what exactly did the fn do with no language
in terms of serving content back in 1.3. Should be reviewed. |
3cd826b00280881e5a2f03d8ec1f8d55802b93de 93045 |
|
27-Jan-2002 |
wrowe |
Which PR? I can't count them all. Get QUERY_STRING and PATH_INFO
working again. Also rounds out our fix to work around negotiated
directories which Greg Ames fixed; this addition in request.c simply
shortcuts all further processing. |
8df0e180e83b3135acc7261de293c138731ca25f 92696 |
|
01-Jan-2002 |
wrowe |
Need a null language_priority array for an either/or choice in the
conf merge. This does so. The merges should be significantly quicker. |
5c2600a36b3e58b821885c7caefa5a1ae2a0eff4 92695 |
|
01-Jan-2002 |
wrowe |
Thanks Mr. Trawick, backtraces can be very enlightening.
This fixes two bugs, the segfault when researching index numbers,
and another. We don't hint anywhere that LanguagePriority is a
cumulative setting, in fact the syntax doesn't suggest so either.
Merges are always slow, there is no reason to make this even slower.
So the patch has the LanguagePriority directive override any existing
LanguagePriority list from an earlier container. |
1dc767240d1c14bbaf9aee58c8dbb93a8bc3a6c8 92664 |
|
30-Dec-2001 |
trawick |
get rid of an unused variable |
ba18dfd6b2bc99b1673483e94c592fa89b2a0ca2 92655 |
|
30-Dec-2001 |
wrowe |
Introduce the ForceLanguagePriority options;
Prefer will circumvent a Multiple Choices by electing the first matching
language from the LanaguagePriority list.
Fallback will circumvent a None Acceptable by electing the first
language found from the LanaguagePriority list.
This breaks [expectedly] the negotiation tests. They need review.
My test results will be posted to dev. |
8edd6d4ba5e7c236ab4b401607099e18cc4d94c8 92445 |
|
13-Dec-2001 |
aaron |
Modified for clarity. |
68f0e394246eba4bee73068632a54c9e29b003d3 91253 |
|
03-Oct-2001 |
trawick |
rename variable "except" to avoid colliding with a macro of the
same name on Tru64 |
c35ba8c250ddb008aab6c48284ad870e98f12f4c 91249 |
|
03-Oct-2001 |
wrowe |
Fix a mismatching issue, where index.html.foo.en had recognized .html and
.en components, and exceptions index and foo. This patch will ignore the
'missing' exception html from the request, and go on to test the exception
foo in the list.
This does -not- imply that a request for index.foo will succeed, in the
example above. The pattern match tests index.foo[.*] so we wouldn't find
index.html.foo.anything. The pattern matching proposed at one time by
Francis Daly would allow index.foo to succeed as well [although many to
many matching is dangerous, see comments in this patch.] |
798c7c11dc2fe3b08e591e9c76fc1a84857f2cd4 91078 |
|
19-Sep-2001 |
jerenkrantz |
This patch eliminates the wasteful run-time conversion of method names from
strings to numbers in places where the methods are known at compile
time.
(Justin fixed the va_end() call to be correct.)
Submitted by: Brian Pane <bpane@pacbell.net>
Reviewed by: Justin Erenkrantz |
83f77405c6a4be98134484ffe101f3fe3b131222 90812 |
|
30-Aug-2001 |
trawick |
After committing Brian Havard's fix to Unix file_io yesterday,
we seem to be reading/seeking .var files fine on Unix even with
buffering turned on.
wrowe reports that they're working on Win32 also. |
3597db5fcd0a7606a86a1a265920d3702f371753 90754 |
|
28-Aug-2001 |
wrowe |
This small patch I committed last week broke the transparent negotiation
behavior. I hope this is now settled. |
ac06e54654494445fd3d39e90bd23b436b4f84cc 90684 |
|
26-Aug-2001 |
wrowe |
Eliminate proxy: (and all other 'special') processing from the
ap_directory_walk() phase. Modules that want to use special
walk logic should refer to the mod_proxy map_to_location example,
with it's proxy_walk and proxysection implementation. This makes
either directory_walk flavor much more legible, since that phase
only runs against real <Directory > blocks.
On a technical note, this patch also forces the Directory to be
canonical (unless it is "/" or a regex.) It also allows us to
be more explicit when declaring <Directory > block errors. |
5c824e95a001e72394a1da1020dec293063ad418 90629 |
|
24-Aug-2001 |
trawick |
APR returns APR_EOF, not EOF... |
4cb32c3c34a9f8b4b90e938d0e196a04db0bbbe9 90628 |
|
24-Aug-2001 |
trawick |
temporarily back out the buffering of .var files while folks
have a chance to get APR ungetc working properly on buffered
files |
3900b53f38097406809a0116e77fe8261e0aff4d 90627 |
|
24-Aug-2001 |
trawick |
protect const-ness of variant->file_name by using ap_strchr_c() instead
of strchr() |
db89f11d5627415e0767bdb018663e98b39ed04e 90613 |
|
24-Aug-2001 |
wrowe |
Add the config of the ForceLanguagePriority directive, since we seem
to agree on what it does. My last question is where do I force this
behavior without tons of extra filesystem/cpu consumption? |
2a63bdc65155ca16b8f49e4cbd384bc884748f02 90609 |
|
24-Aug-2001 |
trawick |
buffer .var maps to avoid asking the kernel for one byte at a
time
note that a system trace of .var map processing still shows an
extra read() after we hit EOF the first time; we could make
use of the EOF flag in APR to avoid the read() or play with
mod_negotiation
Suggested by: Marc Slemko |
32b168b9cffa6252e193eb3e1ab696e888a39267 90581 |
|
23-Aug-2001 |
trawick |
please no // in Apache code... it doesn't compile everywhere
a note about why it is commented out would be appropriate too |
d5b973e8df14b51db265bafbd22672780aff3f49 90405 |
|
20-Aug-2001 |
wrowe |
This is the Body:tag\n<Content>*tag\n patch for type map files. If the
content can be served, it sends a file bucket of the type map file
itself, forward spaced to the <Content>, set to the length of <Content>.
<Content> may contain any binary data. The end tag must exist, anything
between the tag and \n is ignored. This version (v.s. the patch sent to
the list) includes error reporting if the end tag cannot be located.
We need to change the etag code to accept an additional argument, so we
can set the cache controls properly. |
e413d1ba374bd866c3f84ea814eef3c0cea8aa3c 89975 |
|
07-Aug-2001 |
wrowe |
A debatable change, to return (an absolute) 404 if some of the extentions
of every matching file isn't decodable by mod_mime, instead of 500.
Adopted 404 as the result, per Roy Fielding. |
442e8c971fe77b5e0b6e5c147bb68e7b30573969 89962 |
|
07-Aug-2001 |
wrowe |
Change the error wording, slightly. |
36a98f9a5e29c40606ccb67f7c0a8dc3b727ece3 89961 |
|
07-Aug-2001 |
wrowe |
Thanks goes to Manoj, while commenting on another issue, for triggering
this idea. If we find files matching (e.g. index.html.bak matches
index.html) but they are rejected because we don't understand them
(e.g. they are a directory, or .bak isn't a mod_mime recognized extension)
then Error 500 out of here, with a note for the system administrator
explaining that index.html matches some files, but their extensions
cannot be grokked. No more (unintentional, or situational) autoindex :) |
6e91c59a079173889d5afe43c89ab625e8419abe 89949 |
|
06-Aug-2001 |
wrowe |
Remove the ->mtime reset back to negotiation, who decided to do this. |
d75e68be11f0349933f41053c9e3c4fdf7f7ea1a 89947 |
|
06-Aug-2001 |
wrowe |
Fix typo from extracting the fast-redirect code |
299509b1b45b2fc814f1d57bf93171439295b25e 89946 |
|
06-Aug-2001 |
wrowe |
The real slim shady finally stood up. This patch segregates the fast
internal redirect logic back into http_request, the next patch will
actually fix it. |
ec0cf36cef3c43fd972abe31a0583b69f38a2ab1 89920 |
|
04-Aug-2001 |
trawick |
minimal changes to get it to compile |
46de853ccb7478106900ae44a039cde3af036963 89919 |
|
04-Aug-2001 |
wrowe |
Subtle variation for security. If the mod_mime file has nothing specific
to say about a given set of file extentions (and has only based the
resolved fields on the default language, encoding and content type)
then tell us we can ignore the result by leaving the exception list
entirely undefined. If mod_mime adds anything (a language, charset, or
whatnot) then proceed to use the file in the Multiviews evaluation,
otherwise mod_negotation will ignore the file found.
This points out a need for a slightly twisted DefaultClientLanguage,
as opposed to creating foo.html.html files. Either that, or introduce
a 'neutral' entity that the user can list (say, .default) for mod_mime
to declare it as a fallback language/encoding/content-type/handler. |
2c36f8e0f0d10035ccebf08864856e50eb6bb238 89912 |
|
04-Aug-2001 |
wrowe |
Solve the major underlying problem of content negotation by passing
mod_negotiation the 'unresolved' parts of the path in a ->notes
array ap-mime-exceptions-list.
If mod_mime is given index.html.bad.en it will add index and bad
to the list (presuming html and en are both defined.)
mod_negotiation will decide if index and bad are it's fault (the
user requested index.html.bad[.*]) or if it's a messed up file
(say .old, .junk, or .bak).
The next patch to allow any-order negotiation should check each
of these list elements, so that asking for index.bad in the prior
example would succeed. Right now that request would fail because
.html was recognized, so it's not in the exceptions list. This
patch uses a simple strcmp to the given name.
Also, this patch allows any mod_mime processed file to be served,
even if the content type cannot be determined (think README.en).
This is crippled by the client expect headers and omitting the
default content type.
PLEASE vet this code carefully. |
9f402e84beae3849cc8841bef1de82a644cd8758 89754 |
|
28-Jul-2001 |
wrowe |
Minor quibble, <li> can and should be a balanced tag |
89cbb0132036aa1bd2bac7dd962a8c43409de0b4 89753 |
|
28-Jul-2001 |
wrowe |
Final pedantic HTML 3.2/4.01 Transitional + XHTML 1.0 Transitional
compliance changes. Note I've left alone the <P> tags, since they
are abused, misused, potentially unsalvageable and certainly more
effort than I care to expend in my quest for brainless end of week
keyboard exercise. |
11a7b0dff22d26770b532c174d1cf2e7b56ec244 89727 |
|
26-Jul-2001 |
wrowe |
Change the length of the content args to apr_off_t identifiers, and fix
mod_negotation to treat a size of -1 and indeterminate, instead of 0. |
52fb01e4e24b6e0cad4ec45f9dc1e700f4911880 89449 |
|
27-Jun-2001 |
wrowe |
Deploy ap_sub_req_lookup_dirent() for the main loop. Note we _really_
need to further optimize this code, there are dozens of perhaps unnecessary
stat calls, and meaningless #ifndef OS2 protections around apr_lstat()'s.
OS2 has lstat (It's simply stat()) so we should pull the os-specific cruft. |
227e0bfd39e7c757d3618c8ada78d80cd1143d32 89381 |
|
18-Jun-2001 |
wrowe |
Allow index.html.en and Index.html.FR to both be considered in negotation
on case insensitive platforms, only. |
ee25ccdf4aa79a7a7f2dfc13fc118f0a343422fc 88794 |
|
10-Apr-2001 |
wrowe |
Toss the float nonsense from c-l, and cast atof as a (float), which I
will argue is a totally appropriate use of a cast :-) |
a6b9ed64fdf548c61de9714e2cfb999ec59d149c 88225 |
|
18-Feb-2001 |
gstein |
*) Introduce "ap_conf_vector_t" type to assist with legibility and provide
some type safety. (unfortunately, our old "void*" is type-safe with the
new one, but over time we should be better)
*) Propagate the new type to all appropriate functions.
*) Random cleaning, whitespace, stylistic nits. |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
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: |
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. |
b31025f6f2c0392dc76eecca7f27faad0b902be0 87873 |
|
27-Jan-2001 |
wrowe |
Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo
calls to avoid ownership and permissions on Win32 when they are not
required, and until they are implemented. |
ac65d432dabe462e98489f8e3946b2537ca9ecf6 87790 |
|
23-Jan-2001 |
wrowe |
Accomodate the change to the apr_read_dir() arguments, and change all
apr_dirfoo() and apr_foodir() commands to apr_dir_foo() to match the
earlier-renamed apr_dir_open(). |
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. |
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. |
ca53a74f4012a45cbad48e940eddf27d866981f9 87617 |
|
09-Jan-2001 |
dougm |
adjust remaining modules to use the new handler hook method (Alan Edwards)
bring back the old handler prototype by reusing r->handler (dougm)
PR:
Obtained from:
Submitted by:
Reviewed by: |
e95f5a6ebefb83d0e8a82cbc4db7d354957a817d 87604 |
|
07-Jan-2001 |
ben |
Make handlers use hooks. |
5dea9095cbfab622c65e5f2f806007aaa7d7761a 87592 |
|
05-Jan-2001 |
rbb |
Stop copying file names that we get from apr_file_t's and apr_dir_t's.
We copy the data when we store it in the structures, we can just return
a pointer from there, and use const data. This puts the onus back on
Apache to copy the data if it needs to modify it. |
2889b8817cc73e10884d1944af191e15dcc6cdd4 87385 |
|
17-Dec-2000 |
rbb |
Rename the apr_opendir symbol to apr_dir_open. This makes more sense,
and the rename was proposed a while ago inside of APR. |
35ac9ab0f4b44ae0bddc257d5411b26f0e8fd4f0 87116 |
|
29-Nov-2000 |
wrowe |
Clean up some compiler warnings (there remain some float=double and
long=double warnings that didn't offer a simple answer at this moment.) |
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() |
59d7dc153347a9f606c5712f0fae7b65e96682d9 87065 |
|
22-Nov-2000 |
rbb |
Allow modules to specify the first module for a sub-request. This allows
modules to not have to muck with the output_filter after it creates the
sub-request. Without this change, modules that create a sub-request have
to manually edit the output_filters, and therefore skip the sub-request
output_filter. If they skip the sub-request output_filter, then we end
up sending multiple EOS buckets to the core_output_filter. |
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. |
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_ |
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. |
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 |
000b67449410515eac43e76ef6667915bfd4d2ab 85686 |
|
24-Jun-2000 |
gstein |
blast the old names for the status codes |
a7c7958541343ede367ceeba3fb76f0d11568556 85639 |
|
20-Jun-2000 |
ben |
Fix warning. |
4f9a74ad7e44b0464f7cf56525a205d788becacb 85627 |
|
20-Jun-2000 |
trawick |
Use the new command-handler initializer macros in some more modules.
Unfortunately, the resulting warnings are *not* all cleaned up. Ten or
so warnings spill over to non-AP_DEBUG builds (but that just means that
there is a bigger pool of folks to resolve them, right?). |
97d1c0756ebea92a6ffcd0d88359311c59740dbc 85594 |
|
17-Jun-2000 |
dreid |
ap_pool_join is a debugging function so remove it. |
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. |
ff72a628571224579194f37cf8db96186ae889a5 85045 |
|
26-Apr-2000 |
dougm |
add AP_ prefix to *HOOK* macros |
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. |
7e9a996b274ba111995d85fa04ba416ef2e81b0d 84933 |
|
07-Apr-2000 |
rbb |
Make the server work without asking for buffered file I/O. This removes
all APR_BUFFERED flags from the server, and it fixes a minor bug in the
ungetchar patch (I forgot a file when comitting). |
8afeb603f3b8a3d778f0ad676bfc0d98726d12ae 84922 |
|
05-Apr-2000 |
ake |
Get mod_negotiation working. We may ultimately need finer granularity
of type_checker hook ordering, but this will get MultiViews working for now. |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
e8473024b09c065e495db650170f3c4abaa43f80 84814 |
|
21-Mar-2000 |
fanf |
Explain the changed syntax of CacheNegotiatedDocs |
b3ca24127ef18d7a7164d38cf560cf7a34bad77b 84766 |
|
14-Mar-2000 |
dgaudet |
+1000 on dirk's change... and add a TODOC: which is the token i used when
doing the initial mpm stuff to indicate required documentation changes. |
9eded25a88aac849a7f8b93275bc3e69fdefdedc 84763 |
|
14-Mar-2000 |
dirkx |
Take my chance and try to sneak in a very nasty change which
will break some backward compatibility but get rid of half a
dozen nasty if-then special cases in any config file parser
or gui. I am _NOT_ going to be offended if anyone rolls this
patch back; or hack's it with a RAW_ARG as to also take the
old config as well.
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. |
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 |
d9f2c22804bcbc9ad07d4ec18fbb8aa7c042dcd0 84416 |
|
10-Jan-2000 |
bjh |
Rework ap_finfo_t to split the file type out of the protection field.
I've taken a stab at the unix implementation but tested only on OS/2. |
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. |
407cde44becba3694e7c3d81ac99b5d86f4b03a9 84135 |
|
19-Nov-1999 |
rbb |
Finish the conversion from fprintf(stderr -> ap_log_err. |
0942697a9b5de44865676345a3828741c827efe6 84007 |
|
20-Oct-1999 |
rbb |
Add a status value to ap_log_error and ap_log_rerror. This allows us to use
apr_status codes in our error logs. The main advantage of this, is portable
error codes. Now, Windows will finally be able to use errno! |
0c9a934def126ac34fd6bfc8d25c5cb763ef126d 83996 |
|
14-Oct-1999 |
rbb |
I missed one function when swapping paramters. This fixes it. I think I
have caught them all this time. I really hope this is the final time I have
to swap parameters. |
fc9b2e8809c305f340d86a789566f8abb1ca8a19 83970 |
|
12-Oct-1999 |
martin |
Remove most of the annoying "re ap_context_t mplement" mis-replacements
by what I think is their real meaning. Guys, I didn't verify all of this,
please have a close look at my "fixes". Thanks. |
70a2c0407879c11b29adc782d1665a0131f30b3f 83937 |
|
07-Oct-1999 |
rbb |
Bring file_io up to the new parameter order for APR. I have decided to do
these on a directory by directory basis for the rest of APR. I hope to
cause fewer problems for other developers by doing it this way. |
7683841e9ca05fde9301f2f74593e2a5b3910012 83928 |
|
04-Oct-1999 |
rbb |
Simple name change. the function ap_gets has been renamed to ap_fgets.
This is more in-line with what the function does, and how it acts, so
it makes sense. |
d936d7dcfc1a35dec2a026d23053f8230301cdff 83927 |
|
04-Oct-1999 |
rbb |
First patch to re-order function parameters. This one gets the low hanging
fruit, and moves most of the result parameters to the first argument.
Future patches in this series will move the rest of the result parameters
to the beginning of the list, and will move the context's to the end of the
list |
b9b4af7933842815bd7da32d1704b88c3d8b1e05 83893 |
|
12-Sep-1999 |
ben |
Use return status instead of character value for EOF. |
ab5581cc78e9d865b0a6ab1404c53347b3276968 83879 |
|
08-Sep-1999 |
rbb |
Remove all of the calls to functions like "ap_popenf". These functions were
moved down to APR, but they are being removed. They are not portable, and
were only moved down for backwards compatability. With this change, they can
be safely removed, which is the next commit on it's way.
Submitted by: Ryan Bloom and Paul Reder |
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. |
fd0edaa8e3d4dd67d0604ccef2e96b071db96643 83770 |
|
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 |