1715880355ef7f574cae2e8f973411b51acedede 1665625 |
|
10-Mar-2015 |
ylavic |
core, modules: like r1657897 but for core and other modules than mod_proxy.
More uses of ap_map_http_request_error() and AP_FILTER_ERROR so that we never
return an HTTP error status from a handler if some filter generated a response
already.
That is, from a handler, either ap_get_brigade() (an input filter) returned
AP_FILTER_ERROR and we must forward it to ap_die(), or ap_pass_brigade() (an
output filter) failed with any status and we must return AP_FILTER_ERROR in
any case for ap_die() to determine whether a response is needed or not. |
9b3073cc691d1b5a38a4068d8dfe69f81335cf6d 1361803 |
|
15-Jul-2012 |
sf |
Code clean up (remove useless memory allocation)
Submitted by: Christophe JAILLET <christophe jaillet wanadoo fr>
PR: 52648 |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
17aeaeb2e4c4cde18ebc5231d959197e3e35e821 1180328 |
|
08-Oct-2011 |
sf |
Downgrade error log messages which accompany a 404 request status from loglevel
error to info.
List thread at
http://mail-archives.apache.org/mod_mbox/httpd-dev/201110.mbox/%3Calpine.DEB.2.00.1110041948280.664@eru.sfritsch.de%3E
PR: 35768 |
533d85911f7e4914ee5f9d5c99a2421f4ab4208a 1147493 |
|
16-Jul-2011 |
sf |
Add more (trace) logging to the ap_scan_script_header*() functions
Add ap_scan_script_header*_ex() functions that take a module index for
logging.
Make mod_cgi, mod_cgid, mod_proxy_fcgi, mod_proxy_scgi, mod_isapi use the
new functions. |
ab172d76c59ec820ae07bbdd4d6f18a38955bfd6 1024463 |
|
20-Oct-2010 |
minfrin |
Avoid unnecessariy initialisation before we test mod_asis's handler name. |
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. |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
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 |
f05787953018140838ad51456c86c965d6a86267 345053 |
|
16-Nov-2005 |
jim |
No functional change: remove "internal" tab spacing/formatting. |
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 |
43c3e6a4b559b76b750c245ee95e2782c15b4296 332305 |
|
10-Nov-2005 |
jim |
No functional change: simple detabbing of indented code. |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
08cecb2a91c86c409dc905266479725e3dbfb19d 102565 |
|
08-Feb-2004 |
nd |
fix copyright dates according to the first check in |
04891cf70e0bfc38bfb027541dc821f04c754ff7 102524 |
|
06-Feb-2004 |
nd |
apply Apache License, 2.0 |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
12901074f5d6b36d08be84d8637b6f2c21e0da26 95151 |
|
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. |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
faaf09615d6b75f4c7611fec269516b718c27ee0 91407 |
|
10-Oct-2001 |
wrowe |
Finish the switch to huge file support |
c26892592d0811edc331bdc264432866379b14fa 91406 |
|
10-Oct-2001 |
wrowe |
Support huge files from mod_asis |
31360b9fcb08b728b4ca0bf80720ebb589ad7ab8 91401 |
|
10-Oct-2001 |
wrowe |
Short of removing the headers filter, this is the best asis can do.
Note that all body replies were entirely broken (thanks for helping
me notice this, Greg :)
Asis still needs patching for huge files. |
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> |
5c5130fbb9d7aa3df3b908a19f1a358f45e25cbe 89747 |
|
27-Jul-2001 |
stoddard |
Replace ap_send_fd invocation with bucket brigade calls. Send an eos down
the chain and let the brigade close the file descriptor when the network
i/o is done. |
6e637532f6b04b48b01aaa1bcfbf9c58492abd2f 89719 |
|
26-Jul-2001 |
wrowe |
Cliff's most sane advise :-) |
d1328db7e306ad19f87239bc97d66d37c520e3b1 89716 |
|
25-Jul-2001 |
wrowe |
Same fix for largefile support as core.c |
ece675882cbb710b9d9ff2574c82cbbc14a56016 89683 |
|
24-Jul-2001 |
wrowe |
Changes to respect the new apr bucket and brigade length types (either
apr_size_t for bucket lengths, or apr_off_t for aggregate brigade lengths.) |
72360798a27566f28e2cbee0e39a0a6e3c3bd729 88390 |
|
28-Feb-2001 |
wrowe |
Goodbye ap_send_http_header |
c9a95767fbf0f5fb0976a06b97a256033925e433 88341 |
|
26-Feb-2001 |
rbb |
Begin to move functions from the http module to the core. The goal is to
have only functions that are HTTP specific in the http directory. |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
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. |
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. |
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. |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
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. |
5265b551dc32f2618e7d72e2744dde6cacf6fb9a 85810 |
|
10-Jul-2000 |
stoddard |
Reimplement ap_send_fd. Eliminate ap_send_fd_length. If APR_HAS_SENDFILE is
defined but ap_sendfile fails with APR_ENOTIMPL, the BUFF implementation
of ap_send_fd will get a shot at serving the request. This fix is
required to get Apache working on 95/98 again and can also be useful on
Unix systems where sendfile is available via a servicepack/fixpack/PTF
on a particular level of the OS (e.g., AIX 4.3.2 base does not include
sendfile but is is available with a PTF).
This fix also reimplements the mod_file_cache sendfile_handler using
ap_send_fd and sets the connection aborted flag if the sendfile fails.
Future modification... Add code to ap_send_fd to hijack any data in the
client BUFF structure and send it along with the sendfile. |
000b67449410515eac43e76ef6667915bfd4d2ab 85686 |
|
24-Jun-2000 |
gstein |
blast the old names for the status codes |
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. |
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). |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
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 |
2d71630471d1c23f0137309e3c3957c633ecbfd6 84531 |
|
28-Jan-2000 |
rbb |
Include ap_config.h before httpd.h, this ensures that AP_USE_HSREGEX is
defined correctly in all C files. |
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 |
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. |
43d2e4ea3512d448b81944bc2eab1fd2700c67ed 84079 |
|
01-Nov-1999 |
bjh |
Fix mod_asis handler name. This was messed up with Ryans accidental
search/replace of "-i" -> " ap_context_t " and the subsequent fix was
slightly out. |
a27217326402f75ecb76527c3119c9808571faf0 84078 |
|
31-Oct-1999 |
bjh |
Eliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
ap_scan_script_header_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. |
6a1dd43c955df435907954a1022191de6f43bbb4 83934 |
|
05-Oct-1999 |
ben |
Use new parameter orders. |
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 |
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 |