6ac45dfa5c2afb2e52f79f2532eb28341c847ba9 1597182 |
|
23-May-2014 |
jailletc36 |
Save a few bytes of memory. This can be done in temp_pool. |
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 |
d6d4b562733b802104c7c09a2f68b0d7a77946bd 1199987 |
|
09-Nov-2011 |
sf |
Use random value instead of remote IP address in cookie value. This has the
advantage that we don't leak internal IP addresses in reverse proxy setups.
Also, use hex to make the cookie shorter. |
413e6438f8e5c6d9af8c459e50dd89e5eda02ed5 1198959 |
|
07-Nov-2011 |
sf |
More checks of ap_pregsub return values |
c7715b8cd6f5b5f4a27b12d816c6f48c522715f5 1154620 |
|
07-Aug-2011 |
covener |
PR29755: mod_usertrack gets skipped when modules return a status code from
their fixup hook, and headers are also not sent on non-2xx responses.
Submitted by: Sami J. Mäkinen
Reviewed by: Eric Covener (modified to just run REALLY_FIRST) |
05a5d2147e0dadae69d00691f814049dc9999efd 1026660 |
|
23-Oct-2010 |
sf |
more temp pool usage and remove some useless apr_pstrdup()s |
6a76fa5b11c6f0d07a3c226ac43225885bbf60c4 982017 |
|
03-Aug-2010 |
sf |
remove some useless use of strlen() |
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 |
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. |
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. |
81540a0eb1da2c687e22de3367d8ded55e17e330 105677 |
|
04-Nov-2004 |
pquerna |
Just a simple switch of mod_usertrack to run earlier in the fixup hook.
PR: 29755 |
e6c244ee56578707b20a86e0e938498299a93b6c 103328 |
|
10-Apr-2004 |
nd |
Fix a bunch of cases where the return code of the regex compiler
was not checked properly. This affects: mod_setenvif, mod_usertrack,
mod_proxy, mod_proxy_ftp and core.
PR: 28218 |
56d70402724e1872992bcac08b802681cf762d9a 103326 |
|
10-Apr-2004 |
nd |
escape the cookie_name before pasting into the regexp. |
0ec69b1b5382a2c07dc31593e22b679ef2b302a1 103325 |
|
10-Apr-2004 |
nd |
let's be more lenient, in what we accept.
commas are allowed as separators and whitespaces are not a must. |
d3318049e6c821b96bb3c6b6f8d43fccc92eb70d 102890 |
|
09-Mar-2004 |
jerenkrantz |
Fix bug in mod_usertrack when no CookieName is set.
PR: 24483
Submitted by: Manni Wood <manniwood planet-save.com>
Reviewed by: Cliff Woolley, Jim Jagielski |
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 |
cef53aa8cf0c586c3aa96456e05ae0b786b27441 102311 |
|
13-Jan-2004 |
nd |
according to RFC 2965, inspect only the Cookie header (vs. Cookie2)
PR: 11475
Submitted by: chrisd pearsoncmg.com (Chris Darroch) |
66824302ace699bd4b28b327f8ffb6e3efe86091 102309 |
|
13-Jan-2004 |
nd |
don't overwrite other cookies
PR: 26002
Submitted by: apache nopdesign.com (Scott Moore) |
26a4456dd6f1a5d7d7fff766551461a578687c4a 102135 |
|
01-Jan-2004 |
nd |
update license to 2004. |
65370fac3f195f0c1c32dc711866c91d9a364e79 101306 |
|
24-Sep-2003 |
jwoolley |
The problem that this patch solves is one where cookie names are mis-identified
by mod_usertrack. This is because of the use of strstr() in spot_cookie() the
original mod_usertrack.c to find the name of the cookie. strstr(), by virtue of
looking for a substring instead of an exact match, can mis-identify the cookie
"MyID" as the cookie "ID" or "My". So, if you were looking for the value of the
cookie "ID", but only the cookie "MyID" was returned by the browser,
mod_usertrack.c would return the value of the "MyID" cookie in place of the
"ID" you were looking for.
Even more seriously, because strstr is invoked before the cookie name is
separated from its cookie value, a cookie and value like
"myCookie=thisisnotIDeal" will be a false positive if you told mod_usertrack
the cookie name was ID. Furthermore, using this example, "eal" will get logged
as the value of the cookie; now that strstr has incorrectly identified the
substring "ID" as the cookie name, the following "e" (assumed to be the "="
sign) gets discarded, and the remaining content used as the value of
the cookie.
Replacing the strstr() with a more robust regex match fixes this problem.
PR: 16661
Submitted by: Manni Wood <manniwood@planet-save.com> |
5a1b2635d907c12269b338cb1f55d71061b17b99 98910 |
|
07-Mar-2003 |
nd |
mod_usertrack: don't set the cookie in subrequests. This works
around the problem that cookies were set twice during fast internal
redirects.
PR: 13211 |
33bdcae1f7a1a65e351dda2a766a0cf28b1e695d 98573 |
|
03-Feb-2003 |
nd |
finished that boring job:
update license to 2003.
Happy New Year! ;-)) |
0329db7881b698897213e816552b0ab31f8d4d56 96099 |
|
17-Jul-2002 |
trawick |
use APR_TIME_T_FMT when formatting apr_time_t |
da367d498effa0f3d0d40e43b454d00245ca4df0 95916 |
|
30-Jun-2002 |
brianp |
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro |
93ef028b3ac7dc86ec72204233b9d99c69587c54 94081 |
|
21-Mar-2002 |
striker |
Update callers of apr_explode_gmt to apr_time_exp_gmt. The
function was renamed in apr.
Submitted by: Thom May <thom@planetarytramp.net> |
bc8fd1b0b1afdf89b8d28eefa8cd74e26ba97986 93918 |
|
13-Mar-2002 |
fielding |
Update our copyright for this year. |
01e8aca9299a0b872414c24c8b7724d6f88ae665 93733 |
|
06-Mar-2002 |
ianh |
apr-utils rename apr_ansi_time_to_apr_time and
apr_exploded_time_t.
PR:
Obtained from:
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Ian Holsman |
b4c3b395085bc2549832eedd85abf610e7d4dce8 91215 |
|
01-Oct-2001 |
wrowe |
Kill off some expensive, unnecessary effort when we use max-age for
the usertrack cookie (and kill a warning in the process.) |
067b280e4d09099bb1e446f1ec836973e18be7d1 90780 |
|
29-Aug-2001 |
trawick |
From Mark Cox:
I've had a couple of emails from users using mod_usertrack for authentication.
Add the equivalent of a "warning: coffee may be hot" label, and fix a broken
email address at the same time.
Submitted by: Mark Cox |
720abc26c99c6860a776183c7ab8829b3f368ac0 90211 |
|
16-Aug-2001 |
trawick |
can't pass const char * to ap_strchr()
(note that when AP_DEBUG is on, strchr() maps to ap_strchr() so we
find abuses of the broken strchr() interface) |
496dc24432cc5c9f95a627865879d4b83dca1055 90180 |
|
16-Aug-2001 |
coar |
Add CookieDomain directive to allow setting of the Domain=
cookie attribute; add CookieStyle to allow specification of
cookie syntax: Netscape (default), Cookie or RFC2109, or
Cookie2 or RFC2965. We have historically supported only the
obsolete Netscape syntax.
PR: several against 1.3
Obtained from: brought forward from 1.3 |
928f342270fd8ca02a36f484072d35063121171f 88484 |
|
09-Mar-2001 |
trawick |
tweak ap_get_remote_host() so that the caller can find out if she got
back an IP address
mod_access needed to know this, but the old code didn't handle IPv6 |
b99dbaab171d91e1b664397cc40e039d0c087c65 88184 |
|
16-Feb-2001 |
fielding |
Update copyright to 2001 |
ff250fa78a491f4dcf3e673f122f2d9942a7411a 88069 |
|
10-Feb-2001 |
wrowe |
Fix more module breakage from header reorg |
024cd9589e52cf11ce765dfddb5b5f0c6e421a48 88061 |
|
10-Feb-2001 |
gstein |
*) continued header revamping
*) torch some headers (and some libs) from the autoconf stuff |
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: |
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: |
5fac45c1ef49924141fe28497deb350cf031b377 87149 |
|
01-Dec-2000 |
trawick |
include <strings.h> for the strcasecmp() and strncasecmp() prototypes;
AIX doesn't have prototypes for these in string.h |
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. |
ba09062ce0c7e0d6904a53aaf99896f5924b3989 86014 |
|
07-Aug-2000 |
trawick |
Use AP_INIT_* macros for command_rec [] in a few more modules. |
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_ |
032b8a34c3911bbc5ad5385ca40af65af273bff9 85877 |
|
25-Jul-2000 |
wrowe |
Missing apr_strings.h - hope this wasn't destined for some global header.
PR:
Obtained from:
Submitted by:
Reviewed by: |
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 |
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 |
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. |
abbf877b2efa3a8dae5e1c4bc4e53500ad96d81d 84407 |
|
07-Jan-2000 |
rbb |
Move some modules over to using ap_time_t instead of struct tm. |
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. |
1465b960f95b4afba4f4221054dd09e11509bd40 84386 |
|
31-Dec-1999 |
rbb |
A few more tweaks to finish the modules work. Now, all of the modules
compile correctly with Apache 2.0. This does run, but it hasn't been tested
any more than simply compiling and running the server. |
97b6a11c9e2760638a3b36679f739f8f632a0c81 84384 |
|
31-Dec-1999 |
rbb |
Make mod_usertrack compile cleanly. Not tested yet. |
8d6907fd72855909a91eadeba1b1f20ab6f23926 84193 |
|
30-Nov-1999 |
manoj |
Deal with times() properly in autoconf. This also changes NO_TIMES to
!HAVE_TIMES. |
7b85491921b9bfae551088fad57aa683fb108311 84186 |
|
30-Nov-1999 |
manoj |
The first part of the big autoconf patch. This replaces a bunch of
NEED_* macros with HAVE_* macros to be more consistent with autoconf. |
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. |
577a76180006add04a166b12f1ad130aeedeaa5e 83848 |
|
30-Aug-1999 |
stoddard |
Port a few more modules to use the new hooks style. |
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 |