e2f3f3a981b845a0f26efacbe145659a63240944 1630971 |
|
10-Oct-2014 |
jailletc36 |
Revert style changes |
2ca35dfe6262e98b832538efffcd67cd0ce1c40d 1629467 |
|
05-Oct-2014 |
jailletc36 |
Style |
7619b51fca6ecf16c28389e52a666e82f3c8d3ef 1601624 |
|
10-Jun-2014 |
ylavic |
Strip useless apr_brigade_cleanup() calls. |
c41be3600a58bd39a76d1215abcdbbd8e9b1c356 1214015 |
|
14-Dec-2011 |
minfrin |
Further clarify the naming of the entity that directly connects to us by
calling that entity a client instead of a peer. |
185aa71728867671e105178b4c66fbc22b65ae26 1209766 |
|
03-Dec-2011 |
sf |
Add lots of unique tags to error log messages |
8269892c0023355f51a3f67be442662aefdc6f92 1206291 |
|
25-Nov-2011 |
minfrin |
Introduce a per connection "peer_ip" and a per request "client_ip" to
distinguish between the raw IP address of the connection and the effective
IP address of the request. |
5bfaaf573bacb45c1cf290ce85ecc676587e8a64 1174751 |
|
23-Sep-2011 |
jim |
Cleanup effort in prep for GA push:
Trim trailing whitespace... no func change |
9bec939825399ac2816ea0d912d2e3c3b2ed91f4 1135153 |
|
13-Jun-2011 |
sf |
Introduce new function ap_get_conn_socket() to access the socket of
a connection |
7184de27ec1d62a83c41cdeac0953ca9fd661e8c 1132781 |
|
06-Jun-2011 |
sf |
Introduce ap_(get|set)_core_module_config() functions/macros and use them
everywhere.
We know that the core module has module_index 0. Therefore we can save
some pointer operations in ap_get_module_config(cv, &core_module) and
ap_set_module_config(cv, &core_module, val). As these are called rather often,
this may actually have some (small) measurable effect. |
36ef8f77bffe75d1aa327882be1b5bdbe2ff567a 951895 |
|
06-Jun-2010 |
sf |
Use the new APLOG_USE_MODULE/AP_DECLARE_MODULE macros everywhere to take
advantage of per-module loglevels |
b0870018de400ab2bec8ddcd102c401900253046 951761 |
|
05-Jun-2010 |
jorton |
* modules/echo/mod_echo.c (process_echo_connection): Use _cleanup
rather than _destroy to clear a brigade which is to be re-used. |
d6e81217d873dc3b87fc4ffa5fbac2fad4191a15 645455 |
|
07-Apr-2008 |
pquerna |
Remove all references to CORE_PRIVATE. |
2db7bac8c6d32ddb851946eeaeed8ded0fbe656a 588036 |
|
24-Oct-2007 |
wrowe |
Two sane reasons to wrap up, timeup, or eof. Quiet down both results
from the error log. |
e46d12b7a404d93e9ed9d09299e98b9431d95800 587772 |
|
24-Oct-2007 |
wrowe |
Enhance mod_echo with an illustration of using the scoreboard for a connection
based protocol, and clean up the event loop and diagnostic messages. |
b931e2cf90d43b0894c2e2927a2a42aca46f277e 452213 |
|
02-Oct-2006 |
rpluem |
* Fix precedence problem.
PR: 40658
Submitted by: Larry Cipriani <lvc lucent.com>
Reviewed by: rpluem |
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 |
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 |
08cb74ca432a8c24e39f17dedce527e6a47b8001 151408 |
|
04-Feb-2005 |
jerenkrantz |
Update copyright year to 2005 and standardize on current copyright owner line. |
ac00100e1ead618f1d91b77ba2d8a468782a23b7 103965 |
|
15-Jun-2004 |
jorton |
* modules/echo/mod_echo.c (process_echo_connection): Fix brigade
handling: don't re-use a passed brigade. |
78cd48acd325773619d78ac0d7263a99a8922fae 102618 |
|
09-Feb-2004 |
nd |
fix name of The Apache Software Foundation |
23686303587e9b4941a2767a2f822e60de36696b 102558 |
|
08-Feb-2004 |
nd |
fix copyright date 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. |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
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. |
7727f4c9a1ac856edd057f21c4b8dbf63c6c9eef 93014 |
|
25-Jan-2002 |
jerenkrantz |
Change ap_get_brigade prototype to remove *readbytes in favor of readbytes.
If you need the length, you should be using apr_brigade_length. This is
much more consistent. Of all the places that call ap_get_brigade, only
one (ap_http_filter) needs the length. This makes it now possible to
pass constants down without assigning them to a temporary variable first.
Also:
- Change proxy_ftp to use EXHAUSTIVE mode (didn't catch its -1 before)
- Fix buglet in mod_ssl that would cause it to return too much data in
some circumstances |
3fde4c273ea649d1320ec9c51e7d096cd9340a94 92928 |
|
19-Jan-2002 |
jerenkrantz |
Input filtering prototype change: Socket blocking type should be
separate from the input filter mode type.
We also no longer look at readbytes to determine the method of
filter operation. This makes the use of filters more obvious and
allows a wider range of options for input filters modes.
To start with, the new input filter modes are:
AP_MODE_READBYTES (no more than *readbytes returned)
AP_MODE_GETLINE (old *readbytes == 0 case)
AP_MODE_EATCRLF (old AP_MODE_PEEK)
AP_MODE_SPECULATIVE (will be used in a future ap_getline rewrite)
AP_MODE_EXHAUSTIVE (old *readbytes == -1 case)
AP_MODE_INIT (special case for NNTP over SSL)
The block parameter is an apr_read_type_e: APR_BLOCK_READ, APR_NONBLOCK_READ
This also allows cleanup of mod_ssl's handling in the getline case.
Reviewed by: Ryan Bloom (concept), Greg Stein (concept) |
813bf7d72e14d04d4f40d4c5a6a2d93f203bf900 92805 |
|
10-Jan-2002 |
wrowe |
Fix a handful of AP_MODULE_DECLARE_DATA exports for .so modules. |
59aa3b023d0516b34b73880eaa734eaa440e1b71 90128 |
|
13-Aug-2001 |
rbb |
Remove a warning from mod_echo.
Submitted by: Ian Holsman <ianh@cnet.com> |
3f4d7fdb598d64d80ab8656852276246f2f3b502 89279 |
|
06-Jun-2001 |
rbb |
Make mod_echo use filters for all communication with clients.
Submitted by: Ryan Morgan <rmorgan@covalent.net> |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
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. |
524cd27a7865687dcc0e0010a3bbf1f438befb0f 87662 |
|
12-Jan-2001 |
rbb |
Remove a couple more NULL handler specifications. |
6e8fa9b44c6d5f5b3ac9dab52c4734259bcd8335 87636 |
|
09-Jan-2001 |
coar |
This sets an example for this type of module, so let's make sure
it uses our own guidelines. |
ed544bb072e2f73ea4e7ef5191650dd487d02b84 87102 |
|
28-Nov-2000 |
rbb |
Get mod_echo to stop using BUFF.
Submitted by: David Reid |
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. |
e4afb803ff9a51f9ec7969f232b7fd4a4e94d5d4 86093 |
|
17-Aug-2000 |
rbb |
Mod_echo was using raw args instead of a flag to enable and disable
itself. I believe this is what was causing the module to not be able to
be enabled and disabled on a per-server basis. This patch makes it use
a flag |
1ccd992d37d62c8cb2056126f2234f64ec189bfd 85976 |
|
02-Aug-2000 |
dougm |
prefix libapr functions and types with apr_ |
ebe70c2684539a5fb2d899241d1601710dfa38a4 85607 |
|
18-Jun-2000 |
trawick |
Use the new command-handler initializer macros in a few more modules,
cleaning up the resulting warnings. |
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. |
ab2c1c1c83ec91415565da5a71fbc15d9685caa6 84879 |
|
31-Mar-2000 |
fielding |
Update to Apache Software License version 1.1 |
0c17e19b2f9ebb28c25f9efa6cd58d257e1ad728 84769 |
|
15-Mar-2000 |
dreid |
Jeff's couple of small corrections.
Submitted by: Jeff Trawick <trawick@ibm.net> |
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 |
8e56baa9aadebffd9713a70d05a7d6f0e3e6dbab 84315 |
|
19-Dec-1999 |
dreid |
Remove some nuisance warnings by changing int to ap_ssize_t.
Also add a default MPM_METHOD for BeOS. |
f983e40636a342454dc4f602f5a0f4685ddc423d 84074 |
|
30-Oct-1999 |
manoj |
ap_bwrite now exports an errnoless interface. |
76ea65a05c0b9db7198803928d8715dd64f78b80 84073 |
|
30-Oct-1999 |
manoj |
Change ap_bread's interface to no longer require errno. |
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. |
2bf9d434b718368d72c1be69ede336cf19162902 83681 |
|
15-Aug-1999 |
ben |
Fix formatting. |
1d3f4403cac67a4d18272ec9a9018128c578b997 83680 |
|
15-Aug-1999 |
ben |
Child initializer hook. |
64fe2907c3277c9b0c27bcb68bf935dc186c2162 83679 |
|
15-Aug-1999 |
ben |
Auth checker hook |
af878d981838de777d34f6226393266d39697464 83678 |
|
15-Aug-1999 |
ben |
Access checker hook. |
f69241e2196069d3b101d90dae22dcb0b322e54e 83548 |
|
01-Aug-1999 |
ben |
Another hook. |
0f917aa092dd361fc4ee6482895ba5e9765ffde8 83547 |
|
01-Aug-1999 |
ben |
Another hook. |
07afa9bf546b1619bb1fe7f7862f95e0c7e5abf3 83516 |
|
27-Jul-1999 |
ben |
Another hook (I won't be upset if someone else wants to do some!). |
cc910c475085f94bd30fc1b6e16363872424f780 83512 |
|
27-Jul-1999 |
dgaudet |
- get rid of pre_command_line_hook ... use register_hooks for this purpose
- get rid of optreset... screw -D, use environment variables ONE_PROCESS,
SHOW_HOOKS, DUMP_VHOSTS, ... at least it builds this way :) |
7a6f51e008161e40c80978add79ae744139c9a0c 83501 |
|
24-Jul-1999 |
ben |
Allow for new hooks. |
c6e3de48da56d5a2d6298585b895cf75e3ffada2 83489 |
|
23-Jul-1999 |
ben |
Support for echo protocol, to show how multiprotocol support works. |