]> granicus.if.org Git - apache/log
apache
14 years agoFix validation error on docs xml file.
Rainer Jung [Tue, 17 Aug 2010 18:01:03 +0000 (18:01 +0000)]
Fix validation error on docs xml file.

Order of elements is relevant for validation.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986424 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix syntax error in xml file.
Rainer Jung [Tue, 17 Aug 2010 17:56:51 +0000 (17:56 +0000)]
Fix syntax error in xml file.

Move list item into correct unordered list.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986422 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFurther checks for non-body requests...
Jim Jagielski [Tue, 17 Aug 2010 14:43:45 +0000 (14:43 +0000)]
Further checks for non-body requests...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986333 13f79535-47bb-0310-9956-ffa450edef68

14 years agodetab
Jim Jagielski [Tue, 17 Aug 2010 14:15:07 +0000 (14:15 +0000)]
detab

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986318 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFor backends which are HTTP/1.1, do a quick test (ping)
Jim Jagielski [Mon, 16 Aug 2010 18:36:19 +0000 (18:36 +0000)]
For backends which are HTTP/1.1, do a quick test (ping)
of the "connection" via 100-Continue for reverse
proxies...

ACO and Filip Hanik also helped out with the idea...

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@986090 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdates.
Lucien Gentis [Sun, 15 Aug 2010 13:59:22 +0000 (13:59 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@985677 13f79535-47bb-0310-9956-ffa450edef68

14 years ago* The forward and reverse worker do not keep connections alive, so
Ruediger Pluem [Fri, 13 Aug 2010 07:24:36 +0000 (07:24 +0000)]
* The forward and reverse worker do not keep connections alive, so
  ensure that mod_proxy_http does the correct thing
  regarding the Connection header in the request.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@985112 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRevert part of r983116: Don't break the loop if rv is EAGAIN
Stefan Fritsch [Thu, 12 Aug 2010 21:28:32 +0000 (21:28 +0000)]
Revert part of r983116: Don't break the loop if rv is EAGAIN

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@984985 13f79535-47bb-0310-9956-ffa450edef68

14 years agooops
Jim Jagielski [Tue, 10 Aug 2010 19:55:27 +0000 (19:55 +0000)]
oops

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@984191 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFold in some stuff to allow for matching of workers
Jim Jagielski [Tue, 10 Aug 2010 19:46:58 +0000 (19:46 +0000)]
Fold in some stuff to allow for matching of workers
to their actual scoreboard slots, independent of slot
ID.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@984188 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMissing a word.
Igor Galić [Mon, 9 Aug 2010 17:34:49 +0000 (17:34 +0000)]
Missing a word.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983745 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAnd the html..
Igor Galić [Mon, 9 Aug 2010 16:52:00 +0000 (16:52 +0000)]
And the html..

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983730 13f79535-47bb-0310-9956-ffa450edef68

14 years ago[PT] is implied in per-dir context. (Also, FallbackResource is backported in 2.2.16)
Igor Galić [Mon, 9 Aug 2010 16:50:00 +0000 (16:50 +0000)]
[PT] is implied in per-dir context. (Also, FallbackResource is backported in 2.2.16)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983728 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded casts to silent compiler warnings.
Guenter Knauf [Sun, 8 Aug 2010 13:27:59 +0000 (13:27 +0000)]
Added casts to silent compiler warnings.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983412 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdated copyright year.
Guenter Knauf [Sun, 8 Aug 2010 12:34:44 +0000 (12:34 +0000)]
Updated copyright year.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983402 13f79535-47bb-0310-9956-ffa450edef68

14 years agoChanged macro for .rc in ap_release.h.
Guenter Knauf [Sun, 8 Aug 2010 12:34:05 +0000 (12:34 +0000)]
Changed macro for .rc in ap_release.h.
MingW32 windres issued a couple of warnings, and Watcom wrc broke with this
macro. This version tested with MingW32, Watcom, OpenWatcom, MSVC6, MSVC7,
and all can create now a *.res warning-free.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983401 13f79535-47bb-0310-9956-ffa450edef68

14 years agozRC is never used before its overwritten below the while loop
Philip M. Gollucci [Fri, 6 Aug 2010 20:10:25 +0000 (20:10 +0000)]
zRC is never used before its overwritten below the while loop

Reported by: clang static analyzer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983117 13f79535-47bb-0310-9956-ffa450edef68

14 years agorv is never used which makes the whole if useless
Philip M. Gollucci [Fri, 6 Aug 2010 20:07:57 +0000 (20:07 +0000)]
rv is never used which makes the whole if useless

Reported by: clang static analyzer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983116 13f79535-47bb-0310-9956-ffa450edef68

14 years agoentry is over written immediately below
Philip M. Gollucci [Fri, 6 Aug 2010 20:02:59 +0000 (20:02 +0000)]
entry is over written immediately below

Reported by: clang static analyzer

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983115 13f79535-47bb-0310-9956-ffa450edef68

14 years agoaxe unexpected ';' after end of block
Jeff Trawick [Fri, 6 Aug 2010 17:39:26 +0000 (17:39 +0000)]
axe unexpected ';' after end of block

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983066 13f79535-47bb-0310-9956-ffa450edef68

14 years agoIntel's compiler warns about assigning the non-enum value 0 to the
Jeff Trawick [Fri, 6 Aug 2010 17:36:52 +0000 (17:36 +0000)]
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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983065 13f79535-47bb-0310-9956-ffa450edef68

14 years agocomment fixes for "send" vs. "sent"
Jeff Trawick [Fri, 6 Aug 2010 17:04:40 +0000 (17:04 +0000)]
comment fixes for "send" vs. "sent"

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@983056 13f79535-47bb-0310-9956-ffa450edef68

14 years agoWith -S, show ServerAlias values that go with the virtual hosts
Daniel Earl Poirier [Thu, 5 Aug 2010 14:12:25 +0000 (14:12 +0000)]
With -S, show ServerAlias values that go with the virtual hosts

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982629 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRe-add AP_DEBUG_ASSERTs that were wrongly removed in r982050
Stefan Fritsch [Wed, 4 Aug 2010 19:47:18 +0000 (19:47 +0000)]
Re-add AP_DEBUG_ASSERTs that were wrongly removed in r982050

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982382 13f79535-47bb-0310-9956-ffa450edef68

14 years agoremove more unused variables
Stefan Fritsch [Tue, 3 Aug 2010 22:12:19 +0000 (22:12 +0000)]
remove more unused variables
revove some obsolete comments

netware file is untested

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982050 13f79535-47bb-0310-9956-ffa450edef68

14 years agoremove more useless use of strlen
Stefan Fritsch [Tue, 3 Aug 2010 22:06:24 +0000 (22:06 +0000)]
remove more useless use of strlen

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982046 13f79535-47bb-0310-9956-ffa450edef68

14 years agoremove some useless use of strlen()
Stefan Fritsch [Tue, 3 Aug 2010 19:49:21 +0000 (19:49 +0000)]
remove some useless use of strlen()

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982017 13f79535-47bb-0310-9956-ffa450edef68

14 years ago- Remove a load of unused variables (or variables that are set but never read).
Stefan Fritsch [Tue, 3 Aug 2010 19:45:21 +0000 (19:45 +0000)]
- 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.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982016 13f79535-47bb-0310-9956-ffa450edef68

14 years agoPass the huge apr_uri_t structs by reference instead of by value
Stefan Fritsch [Tue, 3 Aug 2010 19:39:03 +0000 (19:39 +0000)]
Pass the huge apr_uri_t structs by reference instead of by value

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982012 13f79535-47bb-0310-9956-ffa450edef68

14 years agoset free()d pointers to NULL to avoid potential use-after-free bugs
Stefan Fritsch [Tue, 3 Aug 2010 19:36:03 +0000 (19:36 +0000)]
set free()d pointers to NULL to avoid potential use-after-free bugs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@982011 13f79535-47bb-0310-9956-ffa450edef68

14 years agoNow with a rebuild-all
William A. Rowe Jr [Mon, 2 Aug 2010 04:06:58 +0000 (04:06 +0000)]
Now with a rebuild-all

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981363 13f79535-47bb-0310-9956-ffa450edef68

14 years agoIt seems we haven't built in some time
William A. Rowe Jr [Mon, 2 Aug 2010 03:48:08 +0000 (03:48 +0000)]
It seems we haven't built in some time

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981360 13f79535-47bb-0310-9956-ffa450edef68

14 years agoIndicate this is a recent revision, didn't try to track back to the alpha rev
William A. Rowe Jr [Mon, 2 Aug 2010 03:47:37 +0000 (03:47 +0000)]
Indicate this is a recent revision, didn't try to track back to the alpha rev

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981359 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReduce logging noise at graceful restart
Stefan Fritsch [Sat, 31 Jul 2010 21:07:41 +0000 (21:07 +0000)]
Reduce logging noise at graceful restart

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981092 13f79535-47bb-0310-9956-ffa450edef68

14 years agoCode cleanup: replace strncpy by apr_cpystrn or apr_pstrmemdup
Stefan Fritsch [Sat, 31 Jul 2010 20:08:44 +0000 (20:08 +0000)]
Code cleanup: replace strncpy by apr_cpystrn or apr_pstrmemdup

Submitted by: Takashi Sato <takashi lans tv com>
PR: 43432

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981086 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReplace apr_palloc+memcpy by apr_memdup
Stefan Fritsch [Sat, 31 Jul 2010 20:02:13 +0000 (20:02 +0000)]
Replace apr_palloc+memcpy by apr_memdup

Submitted by: Boya Sun <boya sun case edu>
PR: 39518

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981085 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate docs and comment: the unique id is now 24 characters, not 19
Stefan Fritsch [Sat, 31 Jul 2010 19:56:51 +0000 (19:56 +0000)]
Update docs and comment: the unique id is now 24 characters, not 19

Submitted by: Takashi Sato <takashi lans-tv com>, Stefan Fritsch
PR: 36269

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981084 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd mod_proxy_scgi to default configuration
Rainer Jung [Sat, 31 Jul 2010 13:45:04 +0000 (13:45 +0000)]
Add mod_proxy_scgi to default configuration
for installation on Windows (comented).

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981059 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate description of HTMLTable
Stefan Fritsch [Sat, 31 Jul 2010 12:10:52 +0000 (12:10 +0000)]
Update description of HTMLTable

PR: 49676

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@981041 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate.
Lucien Gentis [Fri, 30 Jul 2010 15:07:26 +0000 (15:07 +0000)]
Update.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@980818 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate CHANGES.
Rainer Jung [Sun, 25 Jul 2010 21:11:06 +0000 (21:11 +0000)]
Update CHANGES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@979121 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdding sub second timestamps and request end time to mod_log_config.
Rainer Jung [Sun, 25 Jul 2010 21:08:15 +0000 (21:08 +0000)]
Adding sub second timestamps and request end time to mod_log_config.

Add special format tokens to %{...}t. The extended syntax allows the
form: "WHICH:WHAT".

WHICH is either:
- "begin": use the time when the request started
- "end": take "now" as the time
You can omit WHICH, default is "begin".
If you omit WHICH, the separating column is not allowed.

WHAT is either:
- "sec": timestamp in Unix seconds
- "msec": timestamp in Unix milliseconds
- "msec_frac": millisecond fraction of the Unix timestamp,
               3 digits, 0-padded
- "usec": timestamp in Unix microseconds
- "usec_frac": microsecond fraction of the Unix timestamp
               6 digits, 0-padded
- anything different from those tokens: use strftime()
You can omit WHAT, default is the formatted timestamp as
used by the Common Log Format.

The implementation uses a new request_config for mod_log_config
to pass the request end time around between different calls to
log formatters, but the end time is only generated if needed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@979120 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdates.
Lucien Gentis [Sun, 25 Jul 2010 12:07:58 +0000 (12:07 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@979030 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix typo in CHANGES.
Rainer Jung [Sun, 25 Jul 2010 10:32:26 +0000 (10:32 +0000)]
Fix typo in CHANGES.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@979014 13f79535-47bb-0310-9956-ffa450edef68

14 years agoremove CHANGES entry of change reverted as part of r964156
Stefan Fritsch [Sat, 24 Jul 2010 21:20:04 +0000 (21:20 +0000)]
remove CHANGES entry of change reverted as part of r964156

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@978938 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMerge mod_dir fixups to avoid possible ordering issues noted by trawick
Nick Kew [Sat, 24 Jul 2010 17:12:02 +0000 (17:12 +0000)]
Merge mod_dir fixups to avoid possible ordering issues noted by trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@978903 13f79535-47bb-0310-9956-ffa450edef68

14 years agoexpose subprocess_env on lua request object
Brian McCallister [Fri, 23 Jul 2010 15:52:37 +0000 (15:52 +0000)]
expose subprocess_env on lua request object

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@967143 13f79535-47bb-0310-9956-ffa450edef68

14 years agor966869 required mmn bump
Nick Kew [Fri, 23 Jul 2010 07:31:27 +0000 (07:31 +0000)]
r966869 required mmn bump

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966997 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved obsolete include paths from NetWare makefiles.
Guenter Knauf [Thu, 22 Jul 2010 23:38:58 +0000 (23:38 +0000)]
Removed obsolete include paths from NetWare makefiles.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966904 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUse temp_pool not pool for a string that's a temp
Nick Kew [Thu, 22 Jul 2010 23:02:12 +0000 (23:02 +0000)]
Use temp_pool not pool for a string that's a temp

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966892 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate documentation for AddOutputFilterByType move
Nick Kew [Thu, 22 Jul 2010 22:50:12 +0000 (22:50 +0000)]
Update documentation for AddOutputFilterByType move

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966890 13f79535-47bb-0310-9956-ffa450edef68

14 years agoSupport multiple names in reimplemented AddOutputFilterByType
Nick Kew [Thu, 22 Jul 2010 22:27:42 +0000 (22:27 +0000)]
Support multiple names in reimplemented AddOutputFilterByType

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966881 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMove AddOutputFilterByType implementation from core to mod_filter.
Nick Kew [Thu, 22 Jul 2010 21:54:39 +0000 (21:54 +0000)]
Move AddOutputFilterByType implementation from core to mod_filter.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966869 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemoved compiler switch -relax_pointers since no longer needed.
Guenter Knauf [Thu, 22 Jul 2010 19:10:56 +0000 (19:10 +0000)]
Removed compiler switch -relax_pointers since no longer needed.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966808 13f79535-47bb-0310-9956-ffa450edef68

14 years agoCVE-2010-1452: Fix handling of missing path segments in the parsed URI structure.
Paul Querna [Wed, 21 Jul 2010 18:25:01 +0000 (18:25 +0000)]
CVE-2010-1452: Fix handling of missing path segments in the parsed URI structure.

If a specially crafted request was sent, it is possible to crash mod_dav,
mod_cache or mod_session, as they accessed a field that is set to NULL
by the URI parser, assuming that it always put in a valid string.

PR: 49246
Submitted by: Mark Drayton
Patch by: Jeff Trawick

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966348 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRebuild new example.
Rich Bowen [Wed, 21 Jul 2010 18:24:52 +0000 (18:24 +0000)]
Rebuild new example.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966347 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFixes a non-working example in the int RewriteMap section.
Rich Bowen [Wed, 21 Jul 2010 18:24:12 +0000 (18:24 +0000)]
Fixes a non-working example in the int RewriteMap section.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966346 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdate SSL cipher suite and add example for SSLHonorCipherOrder.
Rainer Jung [Wed, 21 Jul 2010 09:54:59 +0000 (09:54 +0000)]
Update SSL cipher suite and add example for SSLHonorCipherOrder.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966160 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix omission in r894036 noted by rpluem.
Nick Kew [Wed, 21 Jul 2010 00:20:43 +0000 (00:20 +0000)]
Fix omission in r894036 noted by rpluem.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966059 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix up some SSL configuration, per issue #49484. IE6 had a hotfix released
Greg Stein [Tue, 20 Jul 2010 23:33:18 +0000 (23:33 +0000)]
Fix up some SSL configuration, per issue #49484. IE6 had a hotfix released
for this problem quite a while back (see kb 921090), so restrict the
modified behavior to the old/unsupported browsers.

* docs/conf/extra/http-ssl.conf.in:
  (): tighten up the regex to only select old MSIE browsers for the
    downgrade in http behavior. this allows IE6 to run much faster.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@966055 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix processing of long chunk extensions
Nick Kew [Tue, 20 Jul 2010 12:21:47 +0000 (12:21 +0000)]
Fix processing of long chunk extensions
PR 49474

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965824 13f79535-47bb-0310-9956-ffa450edef68

14 years agoReplace "back-slash" with "backslash" in docs.
Rainer Jung [Tue, 20 Jul 2010 10:48:02 +0000 (10:48 +0000)]
Replace "back-slash" with "backslash" in docs.

I kept "back slash" when explicitely used in
comparison with "forward slash".

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965792 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTrivial spelling fix so I can close
Nick Kew [Tue, 20 Jul 2010 01:55:18 +0000 (01:55 +0000)]
Trivial spelling fix so I can close
PR 44195

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965712 13f79535-47bb-0310-9956-ffa450edef68

14 years agoDon't risk segfault in authz if r->user is not set
Nick Kew [Tue, 20 Jul 2010 01:34:39 +0000 (01:34 +0000)]
Don't risk segfault in authz if r->user is not set
PR 42995

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965709 13f79535-47bb-0310-9956-ffa450edef68

14 years agoEnable SetEnv to set PATH
Nick Kew [Mon, 19 Jul 2010 23:40:25 +0000 (23:40 +0000)]
Enable SetEnv to set PATH
PR 43906

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965679 13f79535-47bb-0310-9956-ffa450edef68

14 years agomod_include: recognise "text/html; parameters" as text/html
Nick Kew [Mon, 19 Jul 2010 18:49:32 +0000 (18:49 +0000)]
mod_include: recognise "text/html; parameters" as text/html
PR 49616
diagnosed by Andrey Chernov

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965582 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd ap_find_module_short_name() to quickly get the module short name
Stefan Fritsch [Mon, 19 Jul 2010 10:06:15 +0000 (10:06 +0000)]
Add ap_find_module_short_name() to quickly get the module short name
(i.e. symbol name with trailing "_module" removed) from the module_index.
To be used for logging.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965408 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded mod_authn_socache to NetWare build.
Guenter Knauf [Mon, 19 Jul 2010 00:03:53 +0000 (00:03 +0000)]
Added mod_authn_socache to NetWare build.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965329 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded http_config.h to make APLOG_USE_MODULE macro visible.
Guenter Knauf [Sun, 18 Jul 2010 23:37:54 +0000 (23:37 +0000)]
Added http_config.h to make APLOG_USE_MODULE macro visible.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965325 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdded casts to make strict compilers happy.
Guenter Knauf [Sun, 18 Jul 2010 23:02:29 +0000 (23:02 +0000)]
Added casts to make strict compilers happy.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965314 13f79535-47bb-0310-9956-ffa450edef68

14 years agofixed const for d2i_ASN1_type_bytes() usage.
Guenter Knauf [Sun, 18 Jul 2010 22:49:59 +0000 (22:49 +0000)]
fixed const for d2i_ASN1_type_bytes() usage.
Not sure if 0.9.8 is correct, but checked that 0.9.7m doesnt have const.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965311 13f79535-47bb-0310-9956-ffa450edef68

14 years agonote some work in progress
Stefan Fritsch [Sun, 18 Jul 2010 14:57:13 +0000 (14:57 +0000)]
note some work in progress

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965241 13f79535-47bb-0310-9956-ffa450edef68

14 years agoUpdates.
Lucien Gentis [Sat, 17 Jul 2010 15:47:19 +0000 (15:47 +0000)]
Updates.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@965096 13f79535-47bb-0310-9956-ffa450edef68

14 years agonote prelim plan
Jim Jagielski [Thu, 15 Jul 2010 12:55:25 +0000 (12:55 +0000)]
note prelim plan

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964408 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd CHANGES entry for r964156
Stefan Fritsch [Wed, 14 Jul 2010 20:19:07 +0000 (20:19 +0000)]
Add CHANGES entry for r964156

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964173 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd some open issues
Stefan Fritsch [Wed, 14 Jul 2010 20:15:41 +0000 (20:15 +0000)]
Add some open issues

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964171 13f79535-47bb-0310-9956-ffa450edef68

14 years agofix log messages
Stefan Fritsch [Wed, 14 Jul 2010 20:03:42 +0000 (20:03 +0000)]
fix log messages

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964161 13f79535-47bb-0310-9956-ffa450edef68

14 years agoThe approach for allowing authorization by user or IP introduced in r956387,
Stefan Fritsch [Wed, 14 Jul 2010 19:59:31 +0000 (19:59 +0000)]
The approach for allowing authorization by user or IP introduced in r956387,
etc. causes problems because the authentication module calls
note_*_auth_failure if authentication fails. This is inappropriate if access is
later allowed because of the IP.

So, instead of calling the auth_checker hook even if authentication failed, we
introduce a new access_checker_ex hook that runs between the access_checker and
the check_user_id hooks. If an access_checker_ex functions returns OK, the
request will be allowed without authentication.

To make use of this, change mod_authz_core to walk the require blocks in the
access_checker_ex phase and deny/allow the request if the authz result does not
depend on an authenticated user. To distinguish a real AUTHZ_DENIED from an
authz provider from an authz provider needing an authenticated user, the latter
must return the new AUTHZ_DENIED_NO_USER code.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964156 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAllow for modules to keep track of worker slot
Jim Jagielski [Wed, 14 Jul 2010 16:03:19 +0000 (16:03 +0000)]
Allow for modules to keep track of worker slot
numbers themselves if they want, by allowing for
worker create/alloc functions to take a slot number id.
Done via _wid() variants of 3 proxy funcs.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@964089 13f79535-47bb-0310-9956-ffa450edef68

14 years ago- add some trace logging
Stefan Fritsch [Tue, 13 Jul 2010 20:57:13 +0000 (20:57 +0000)]
- add some trace logging
- move comment to correct location
- redirect temporarily instead of permanently to avoid potential problems
  with browser caches

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963860 13f79535-47bb-0310-9956-ffa450edef68

14 years agowhitespace only
Eric Covener [Sun, 11 Jul 2010 14:50:13 +0000 (14:50 +0000)]
whitespace only

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963084 13f79535-47bb-0310-9956-ffa450edef68

14 years agoImprove trace logging of sent response:
Stefan Fritsch [Sun, 11 Jul 2010 12:07:51 +0000 (12:07 +0000)]
Improve trace logging of sent response:
- log response status
- log Date and Server headers

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@963057 13f79535-47bb-0310-9956-ffa450edef68

14 years agofollow up to r930125
Jeff Trawick [Sun, 11 Jul 2010 02:54:30 +0000 (02:54 +0000)]
follow up to r930125

change log message when forcing worker into error state:
* APLOG_ERR instead of unsuppressible APLOG_NOTICE
* follow formatting of existing proxy messages more closely

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962972 13f79535-47bb-0310-9956-ffa450edef68

14 years agogenerated docs
Jeff Trawick [Sun, 11 Jul 2010 00:43:35 +0000 (00:43 +0000)]
generated docs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962961 13f79535-47bb-0310-9956-ffa450edef68

14 years agofix broken stylesheet path
Jeff Trawick [Sun, 11 Jul 2010 00:34:30 +0000 (00:34 +0000)]
fix broken stylesheet path

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@962958 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix segfault
Stefan Fritsch [Tue, 6 Jul 2010 20:11:30 +0000 (20:11 +0000)]
Fix segfault

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@961004 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAdd a note about problem noted in PR 48652
Nick Kew [Mon, 5 Jul 2010 03:38:01 +0000 (03:38 +0000)]
Add a note about problem noted in PR 48652

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960431 13f79535-47bb-0310-9956-ffa450edef68

14 years agoIntroduce note_auth_failure hook to allow modules to add support
Stefan Fritsch [Sun, 4 Jul 2010 21:16:53 +0000 (21:16 +0000)]
Introduce note_auth_failure hook to allow modules to add support
for additional auth types. This makes ap_note_auth_failure() work with
mod_auth_digest again.

PR: 48807

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960399 13f79535-47bb-0310-9956-ffa450edef68

14 years agoRemove superfluous EOL from mod_rewrite logging.
Rainer Jung [Sat, 3 Jul 2010 17:01:23 +0000 (17:01 +0000)]
Remove superfluous EOL from mod_rewrite logging.

It's no longer needed, since mod_rewrite now uses
our usual error log. The superfluous EOL was logged
as '\n'.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960236 13f79535-47bb-0310-9956-ffa450edef68

14 years agoAllow to set environment variables using mod_rewrite without
Rainer Jung [Sat, 3 Jul 2010 16:21:58 +0000 (16:21 +0000)]
Allow to set environment variables using mod_rewrite without
explicitely giving a value.

Most modules only check presence of a variable, not the
value, so it makes sense to make the VAL argument in
the mod_rewrite ENV flag optional.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960233 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix documented syntax for env var setting in mod_rewrite.
Rainer Jung [Sat, 3 Jul 2010 14:27:43 +0000 (14:27 +0000)]
Fix documented syntax for env var setting in mod_rewrite.

Main page is fine, only the flags guide was wrong.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960223 13f79535-47bb-0310-9956-ffa450edef68

14 years agoClean iterator call syntax
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:51 +0000 (18:02 +0000)]
Clean iterator call syntax

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960075 13f79535-47bb-0310-9956-ffa450edef68

14 years agoFix nasty dbm bug that wasn't expiring records; time() doesn't return apr_time_t
William A. Rowe Jr [Fri, 2 Jul 2010 18:02:27 +0000 (18:02 +0000)]
Fix nasty dbm bug that wasn't expiring records; time() doesn't return apr_time_t

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960074 13f79535-47bb-0310-9956-ffa450edef68

14 years agoClean shmcb iterator call syntax and return value
William A. Rowe Jr [Fri, 2 Jul 2010 18:00:26 +0000 (18:00 +0000)]
Clean shmcb iterator call syntax and return value

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@960073 13f79535-47bb-0310-9956-ffa450edef68

14 years agoactually update the MMN and not only the comment
Stefan Fritsch [Thu, 1 Jul 2010 06:36:10 +0000 (06:36 +0000)]
actually update the MMN and not only the comment

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959534 13f79535-47bb-0310-9956-ffa450edef68

14 years agore-order many struct members for better alignment on 64bit
Stefan Fritsch [Wed, 30 Jun 2010 22:34:05 +0000 (22:34 +0000)]
re-order many struct members for better alignment on 64bit

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959464 13f79535-47bb-0310-9956-ffa450edef68

14 years agoauthn_socache: if loaded but not configured to do anything,
Nick Kew [Wed, 30 Jun 2010 22:21:38 +0000 (22:21 +0000)]
authn_socache: if loaded but not configured to do anything,
don't go to the trouble of setting up the cache and mutex.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959460 13f79535-47bb-0310-9956-ffa450edef68

14 years agoExtra robustness check: don't segfault if no socache provider selected
Nick Kew [Wed, 30 Jun 2010 22:02:41 +0000 (22:02 +0000)]
Extra robustness check: don't segfault if no socache provider selected
and there's no compile-time default.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959455 13f79535-47bb-0310-9956-ffa450edef68

14 years agoTo save memory, make module_levels a vector of chars instead of ints.
Stefan Fritsch [Wed, 30 Jun 2010 18:09:06 +0000 (18:09 +0000)]
To save memory, make module_levels a vector of chars instead of ints.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959392 13f79535-47bb-0310-9956-ffa450edef68

14 years agoMove new_api_2_4 doc to developer docs where it belongs
Nick Kew [Tue, 29 Jun 2010 23:04:27 +0000 (23:04 +0000)]
Move new_api_2_4 doc to developer docs where it belongs

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@959136 13f79535-47bb-0310-9956-ffa450edef68