]> granicus.if.org Git - apache/log
apache
16 years agoprevent crash when authz provider not registered prior to use in alias
Chris Darroch [Sat, 1 Nov 2008 18:28:17 +0000 (18:28 +0000)]
prevent crash when authz provider not registered prior to use in alias

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

16 years agomove some variable initializations prior to larger changes
Chris Darroch [Sat, 1 Nov 2008 18:22:55 +0000 (18:22 +0000)]
move some variable initializations prior to larger changes

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

16 years agolocalize some variables in authz provider alias functions
Chris Darroch [Sat, 1 Nov 2008 17:58:19 +0000 (17:58 +0000)]
localize some variables in authz provider alias functions

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

16 years agomove function prior to larger changes
Chris Darroch [Sat, 1 Nov 2008 17:24:57 +0000 (17:24 +0000)]
move function prior to larger changes

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

16 years agomajor not minor bump for r709708
Chris Darroch [Sat, 1 Nov 2008 17:08:18 +0000 (17:08 +0000)]
major not minor bump for r709708

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

16 years agoremove unused AUTHZ_GROUP_NOTE define
Chris Darroch [Sat, 1 Nov 2008 15:01:35 +0000 (15:01 +0000)]
remove unused AUTHZ_GROUP_NOTE define

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

16 years agofix typo
Chris Darroch [Sat, 1 Nov 2008 14:53:09 +0000 (14:53 +0000)]
fix typo

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

16 years agoremove trailing whitespace, adjust formatting and comments prior
Chris Darroch [Sat, 1 Nov 2008 14:50:30 +0000 (14:50 +0000)]
remove trailing whitespace, adjust formatting and comments prior
to larger changes

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

16 years agowhitespace cleanup
Chris Darroch [Sat, 1 Nov 2008 14:47:07 +0000 (14:47 +0000)]
whitespace cleanup

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

16 years ago* Update transformation
Ruediger Pluem [Sat, 1 Nov 2008 11:29:00 +0000 (11:29 +0000)]
* Update transformation

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

16 years ago* Use distinct char pointers for sending and receiving buffers to avoid
Ruediger Pluem [Sat, 1 Nov 2008 10:23:09 +0000 (10:23 +0000)]
* Use distinct char pointers for sending and receiving buffers to avoid
  destroying the pointer to the sending buffer in the ajp message if
  data is received from the backend before all data is sent to the
  backend.

PR: 45911

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

16 years agoConvert events to have an associated pool.
Paul Querna [Sat, 1 Nov 2008 07:13:29 +0000 (07:13 +0000)]
Convert events to have an associated pool.

* server/mpm/simple/simple_types.h
    (simple_timer_t): Add Pool and a pointer to the associated simple core.
    (simple_core_t): Remove dead timer ring, no recycling of timer events for now.

* server/mpm/simple/simple_event.h: Update register_timer signature with pool.

* server/mpm/simple/simple_event.c
    (simple_register_timer): Allocate the event structure out of the pool,
        and when this pool is destroyed, unregister the timer.
    (simple_timer_run): New util function for running a timer and cleaning up
        the pool callbacks.

* server/mpm/simple/simple_core.c
    (simple_core_init): Remvoe dead timer ring

* server/mpm/simple/simple_run.c
    (simple_main_setup_timers): Pass in pool to register call.
    (simple_timer_invoke): Use new simple_timer_run function.
    (simple_child_loop): Remove dead timer ring.

* server/mpm/simple/simple_io.c
    (simple_io_process): Pass in pool when registering timers.

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

16 years agoReset the timers when in the child -- this prevents a fork bomb, as each child would...
Paul Querna [Sat, 1 Nov 2008 06:14:12 +0000 (06:14 +0000)]
Reset the timers when in the child -- this prevents a fork bomb, as each child would spawn N more children of its own, as the scheduled timer would go off in the child and the parent.

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

16 years agoRemove extra log line with how many threads are being spawned.
Paul Querna [Sat, 1 Nov 2008 06:03:39 +0000 (06:03 +0000)]
Remove extra log line with how many threads are being spawned.

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

16 years agoMove creation of the pollcb object to after we fork(), since kqueues don't persist...
Paul Querna [Sat, 1 Nov 2008 06:02:01 +0000 (06:02 +0000)]
Move creation of the pollcb object to after we fork(), since kqueues don't persist across fork(). (huh, didn't know that before)

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

16 years agoNote crash fix in mod_authn_core.c from r709553.
Chris Darroch [Fri, 31 Oct 2008 20:49:42 +0000 (20:49 +0000)]
Note crash fix in mod_authn_core.c from r709553.

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

16 years agoAdd AuthType of None to support disabling authentication.
Chris Darroch [Fri, 31 Oct 2008 20:18:07 +0000 (20:18 +0000)]
Add AuthType of None to support disabling authentication.
Prevent crash when provider alias created to provider which is not
yet registered.
Migrate remaining functionality of mod_authn_default to mod_authn_core.

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

16 years agoAllow <Limit> and <LimitExcept> directives to nest, and
Chris Darroch [Fri, 31 Oct 2008 20:10:07 +0000 (20:10 +0000)]
Allow <Limit> and <LimitExcept> directives to nest, and
constrain their use to conform with that of other access control
and authorization directives.

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

16 years agoAlso adjust unixd.c with changes from r709406
Jim Jagielski [Fri, 31 Oct 2008 13:37:32 +0000 (13:37 +0000)]
Also adjust unixd.c with changes from r709406

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

16 years agoMaintain the assumption that uids are long (as is done
Jim Jagielski [Fri, 31 Oct 2008 13:35:46 +0000 (13:35 +0000)]
Maintain the assumption that uids are long (as is done
with other code sections), as well as be aware of
signs.

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

16 years agoMinor typo correction
Lucien Gentis [Fri, 31 Oct 2008 13:15:24 +0000 (13:15 +0000)]
Minor typo correction

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

16 years agoMake unixd_set_user a local static function.
Paul Querna [Thu, 30 Oct 2008 20:29:28 +0000 (20:29 +0000)]
Make unixd_set_user a local static function.

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

16 years agoMake a valid prototype
Jim Jagielski [Thu, 30 Oct 2008 19:29:18 +0000 (19:29 +0000)]
Make a valid prototype

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

16 years agoBasic support for spawning children porcesses via fork() and killing them with kill().
Paul Querna [Thu, 30 Oct 2008 10:46:58 +0000 (10:46 +0000)]
Basic support for spawning children porcesses via fork() and killing them with kill().

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

16 years agoAdd Makefile.in, so unixd will actually compile correctly :-).
Paul Querna [Thu, 30 Oct 2008 10:36:44 +0000 (10:36 +0000)]
Add Makefile.in, so unixd will actually compile correctly :-).

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

16 years agoRemove completed todo items.
Paul Querna [Thu, 30 Oct 2008 01:52:35 +0000 (01:52 +0000)]
Remove completed todo items.

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

16 years agoreindent according to our coding style: <http://httpd.apache.org/dev/styleguide.html>
Paul Querna [Thu, 30 Oct 2008 01:50:09 +0000 (01:50 +0000)]
reindent according to our coding style: <http://httpd.apache.org/dev/styleguide.html>
for i in `ls *.h *.c`; do indent -i4 -npsl -di0 -br -nce -d0 -cli0 -npcs -nfc1 -nut ${i}; done

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

16 years agoChange the child_init hook to a drop_privileges hook for mod_unixd.
Paul Querna [Thu, 30 Oct 2008 00:57:45 +0000 (00:57 +0000)]
Change the child_init hook to a drop_privileges hook for mod_unixd.

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

16 years agoCreate a new drop_privileges hook for the Simple MPM.
Paul Querna [Thu, 30 Oct 2008 00:54:02 +0000 (00:54 +0000)]
Create a new drop_privileges hook for the Simple MPM.

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

16 years agoRemove SimpleUser configuration command, this will all be handled inside mod_unixd.
Paul Querna [Thu, 30 Oct 2008 00:39:19 +0000 (00:39 +0000)]
Remove SimpleUser configuration command, this will all be handled inside mod_unixd.

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

16 years agoStrip down mod_unixd to only do chroot and changing the UID.
Paul Querna [Thu, 30 Oct 2008 00:36:39 +0000 (00:36 +0000)]
Strip down mod_unixd to only do chroot and changing the UID.

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

16 years agoAdd mod_unixd to build, update svn:ignore.
Paul Querna [Thu, 30 Oct 2008 00:21:50 +0000 (00:21 +0000)]
Add mod_unixd to build, update svn:ignore.

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

16 years agoremove empty directory.
Paul Querna [Thu, 30 Oct 2008 00:09:25 +0000 (00:09 +0000)]
remove empty directory.

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

16 years agoMove mod_unixd to arch/unix.
Paul Querna [Thu, 30 Oct 2008 00:08:58 +0000 (00:08 +0000)]
Move mod_unixd to arch/unix.

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

16 years agoIntroduce modules/system, and mod_unixd.c
Nick Kew [Wed, 29 Oct 2008 16:41:10 +0000 (16:41 +0000)]
Introduce modules/system, and mod_unixd.c

mod_unixd.c is only os/unix/unixd.c, turned into a module.
(or more accurately, an ugly hack).  Work in progress, and the
old unixd will have to go once the module build stuff is in place.

This re-introduces some of the unixd stuff (set user, group and chroot)
to mpm_simple, and should work equally well with existing MPMs.
It also paves the way for alternative privilege management schemes,
which can be implemented in alternative modules: this´ll be
necessary to run mpm_simple on non-unix-family platforms, and
of interest for alternative Unix implementations.  By relegating
everything to a child_init hook, we can mix-and-match, though
weĺl need to add a regime that prevents just going right ahead
with nothing and running as root.

Round tuits permitting, we should be able to simplify unixd.h too,
and look towards eliminating it.

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

16 years agoAvoid time traveling :)
Jim Jagielski [Wed, 29 Oct 2008 13:32:58 +0000 (13:32 +0000)]
Avoid time traveling :)

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

16 years ago* include/http_core.h
Paul Querna [Wed, 29 Oct 2008 08:39:26 +0000 (08:39 +0000)]
* include/http_core.h
  (core_dir_config): Fix warning: overflow in implicit constant conversion,
    generated by core.c line 117, which sets content_md5 to '2', which is too big
    for a signed value -- but it looks like this was really meant to be unsigned.

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

16 years agoCleanup mod_dialup to compile with -std=c89 and -pedantic.
Paul Querna [Wed, 29 Oct 2008 08:33:26 +0000 (08:33 +0000)]
Cleanup mod_dialup to compile with -std=c89 and -pedantic.

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

16 years ago* modules/generators/mod_cgid.c
Paul Querna [Wed, 29 Oct 2008 08:27:01 +0000 (08:27 +0000)]
* modules/generators/mod_cgid.c
  (cgid_server): Fix warning: 'env' and 'argv0' may be used uninitialized in
    this function.

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

16 years ago* include/mod_auth.h
Paul Querna [Wed, 29 Oct 2008 08:25:58 +0000 (08:25 +0000)]
* include/mod_auth.h
  (authz_status): Remove trailing comma on enum.

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

16 years ago* modules/http/http_request.c
Paul Querna [Wed, 29 Oct 2008 08:18:45 +0000 (08:18 +0000)]
* modules/http/http_request.c
  (ap_process_async_request): Fix warning: 'return' with a value, in function
      returning void

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

16 years ago* modules/database/mod_dbd.c
Paul Querna [Wed, 29 Oct 2008 08:10:21 +0000 (08:10 +0000)]
* modules/database/mod_dbd.c
  (dbd_child_init): New function, wrapper around dbd_setup_init.
  (dbd_hooks): Call dbd_child_init instead of casting dbd_setup_init.

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

16 years ago* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
Paul Querna [Wed, 29 Oct 2008 08:00:50 +0000 (08:00 +0000)]
* server/core.c: Fix implicit declaration of function 'unixd_set_rlimit' by
    including unixd.h.

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

16 years agoImprove ability to compile on C90 Compilers.
Paul Querna [Wed, 29 Oct 2008 07:56:19 +0000 (07:56 +0000)]
Improve ability to compile on C90 Compilers.

* Move all variable declartions to the top of their blocks.
* Remove traiing comma on enum
* Only use C90 style comments.

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

16 years ago* server/mpm/simple/simple_io.c: s/simple_io_timeut_cb/simple_io_timeout_cb/g
Paul Querna [Tue, 28 Oct 2008 22:43:04 +0000 (22:43 +0000)]
* server/mpm/simple/simple_io.c: s/simple_io_timeut_cb/simple_io_timeout_cb/g

Noticed by: Ruediger Pluem

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

16 years ago* modules/mappers/mod_rewrite.c (do_rewritelog): Add prototype with
Joe Orton [Tue, 28 Oct 2008 20:11:43 +0000 (20:11 +0000)]
* modules/mappers/mod_rewrite.c (do_rewritelog): Add prototype with
  printf attribute flagged so that gcc -Wformat-security will pick
  up PR 46110-type errors as a warning.

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

16 years ago* Supply the per-dir parameter to the rewritelog call where it is needed.
Ruediger Pluem [Tue, 28 Oct 2008 20:02:53 +0000 (20:02 +0000)]
* Supply the per-dir parameter to the rewritelog call where it is needed.

PR: 46110

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

16 years agoupdate transformation
Takashi Sato [Tue, 28 Oct 2008 16:31:45 +0000 (16:31 +0000)]
update transformation

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

16 years ago* simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode .
Paul Querna [Tue, 28 Oct 2008 16:06:25 +0000 (16:06 +0000)]
* simple_io.c line 111 and 145 cause a build falure with --enable-maintainer-mode .
* simple_children.c should include simple_children.h.
* simple_io_timeot_cb should be static.

Noticed by: Takashi Sato

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

16 years agofix XML errors
Takashi Sato [Tue, 28 Oct 2008 15:28:14 +0000 (15:28 +0000)]
fix XML errors

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

16 years ago* server/mpm/simple/simple_{event,run}.c: Turn off Ring Macro debugging.
Paul Querna [Tue, 28 Oct 2008 07:01:30 +0000 (07:01 +0000)]
* server/mpm/simple/simple_{event,run}.c: Turn off Ring Macro debugging.

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

16 years agoAdd a work in progress, a completely new, "Simple MPM".
Paul Querna [Tue, 28 Oct 2008 07:00:15 +0000 (07:00 +0000)]
Add a work in progress, a completely new, "Simple MPM".

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

16 years agoupdate a Japanese translation
Takashi Sato [Mon, 27 Oct 2008 15:03:00 +0000 (15:03 +0000)]
update a Japanese translation

Submitted by: kawai
Reviewed by: takashi

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

16 years ago* caching.xml.fr: fix a tag
Takashi Sato [Mon, 27 Oct 2008 12:12:16 +0000 (12:12 +0000)]
* caching.xml.fr: fix a tag
* set eol-style

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

16 years ago* Do more greedy reads in the core input filter to get more closer to the
Ruediger Pluem [Mon, 27 Oct 2008 11:39:04 +0000 (11:39 +0000)]
* Do more greedy reads in the core input filter to get more closer to the
  number of bytes requested.

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

16 years ago* modules/cache/mod_socache_dbm.c
Paul Querna [Mon, 27 Oct 2008 00:43:45 +0000 (00:43 +0000)]
* modules/cache/mod_socache_dbm.c
  (socache_dbm_init) Use AP_NEED_SET_MUTEX_PERMS to determine when we need to
    set the file permissions on the created DBM files, rather than listing
    a hodgepodge of operating systems by hand.

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

16 years ago* modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating
Paul Querna [Mon, 27 Oct 2008 00:40:36 +0000 (00:40 +0000)]
* modules/cache/mod_socache_dbm.c: Fix compile by including unixd.h on operating
    systems that need it, which is required for for the use of unixd_config
    inside socache_dbm_init.

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

16 years agoAdding .fr translations for suexec logs server-wide sections new_features_2_4 urlmapp...
Vincent Deffontaines [Sun, 26 Oct 2008 16:38:53 +0000 (16:38 +0000)]
Adding .fr translations for suexec logs server-wide sections new_features_2_4 urlmapping dso upgrading glossary

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

16 years agoNew french translations.
Vincent Deffontaines [Sat, 25 Oct 2008 09:18:31 +0000 (09:18 +0000)]
New french translations.

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

16 years ago* save_table needs to be declared first before it can be used.
Ruediger Pluem [Fri, 24 Oct 2008 16:00:10 +0000 (16:00 +0000)]
* save_table needs to be declared first before it can be used.

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

16 years agoAJP was dropping pre-existing cookies. Use same logic
Jim Jagielski [Fri, 24 Oct 2008 15:01:44 +0000 (15:01 +0000)]
AJP was dropping pre-existing cookies. Use same logic
as HTTP to tuck them away

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

16 years agoupdate transformation
Nilgun Belma Buguner [Thu, 23 Oct 2008 17:11:59 +0000 (17:11 +0000)]
update transformation

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

16 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Thu, 23 Oct 2008 17:09:15 +0000 (17:09 +0000)]
update for sync with English docs.

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

16 years agoNew Turkish translation
Nilgun Belma Buguner [Thu, 23 Oct 2008 13:10:36 +0000 (13:10 +0000)]
New Turkish translation

Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by:  Orhan Berent <berent belgeler.org>

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

16 years agoUpdate docco xforms
Jim Jagielski [Thu, 23 Oct 2008 12:28:40 +0000 (12:28 +0000)]
Update docco xforms

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

16 years agoFix the io buffersize code. Have the docs match the code
Jim Jagielski [Thu, 23 Oct 2008 12:01:53 +0000 (12:01 +0000)]
Fix the io buffersize code. Have the docs match the code
and allow more flexibility in settings. Also, document
the ProxyPass/worker options of io and rec buffersize.

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

16 years agoImplement checks for NULL r->user as per r705361.
Chris Darroch [Wed, 22 Oct 2008 20:11:07 +0000 (20:11 +0000)]
Implement checks for NULL r->user as per r705361.

NOTE: If someone with an LDAP setup can ensure this compiles and works,
that would be great.

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

16 years agoRemove potential for memory leak... allocate on this
Jim Jagielski [Wed, 22 Oct 2008 19:13:57 +0000 (19:13 +0000)]
Remove potential for memory leak... allocate on this
request which is now viable due to connection pooling.

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

16 years agomissing an "if"
Eric Covener [Wed, 22 Oct 2008 13:40:21 +0000 (13:40 +0000)]
missing an "if"

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

16 years agoupdate transformation
André Malo [Wed, 22 Oct 2008 11:45:33 +0000 (11:45 +0000)]
update transformation

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

16 years agoleave a hint about some non-intuitive startup behavior for RewriteMap programs
Eric Covener [Wed, 22 Oct 2008 11:44:53 +0000 (11:44 +0000)]
leave a hint about some non-intuitive startup behavior for RewriteMap programs

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

16 years ago* There are no subrequests which have itself as parent.
Ruediger Pluem [Wed, 22 Oct 2008 10:40:55 +0000 (10:40 +0000)]
* There are no subrequests which have itself as parent.

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

16 years ago* This one is backported.
Ruediger Pluem [Wed, 22 Oct 2008 10:27:30 +0000 (10:27 +0000)]
* This one is backported.

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

16 years ago* Move ap_timeout_parameter_parse from mod_proxy.c to server/util.c and thus
Ruediger Pluem [Wed, 22 Oct 2008 10:23:52 +0000 (10:23 +0000)]
* Move ap_timeout_parameter_parse from mod_proxy.c to server/util.c and thus
  make it part of the public API.

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

16 years ago* Improve the way to detect whether buckets in the filter chain need to be
Ruediger Pluem [Wed, 22 Oct 2008 09:34:21 +0000 (09:34 +0000)]
* Improve the way to detect whether buckets in the filter chain need to be
  flushed by using the main requests bytes_count field instead of the
  subrequest field.

* Do not reset conn->need_flush. This prevents SegFaults from not flushing
  buckets in the filter chain.

PR: 45792

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

16 years agopre-translation improvements
Nilgun Belma Buguner [Wed, 22 Oct 2008 07:59:20 +0000 (07:59 +0000)]
pre-translation improvements

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

16 years agoupdate for sync with English docs.
Nilgun Belma Buguner [Tue, 21 Oct 2008 06:04:41 +0000 (06:04 +0000)]
update for sync with English docs.

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

16 years agoap_proxy_determine_connection modifies the url if we are retrying the result we shoul...
Jean-Frederic Clere [Mon, 20 Oct 2008 15:11:05 +0000 (15:11 +0000)]
ap_proxy_determine_connection modifies the url if we are retrying the result we should retry using the orginal url.

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

16 years ago *) mod_dir: Support "DirectoryIndex None"
Eric Covener [Sun, 19 Oct 2008 12:35:42 +0000 (12:35 +0000)]
  *) mod_dir: Support "DirectoryIndex None"
     Suggested By André Warnier <aw ice-sa.com> [Eric Covener]

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

16 years agoconvert tabs to spaces
Chris Darroch [Fri, 17 Oct 2008 04:17:12 +0000 (04:17 +0000)]
convert tabs to spaces

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

16 years agoPrior to authn/z refactoring in r368027, if authorization Require
Chris Darroch [Thu, 16 Oct 2008 21:09:27 +0000 (21:09 +0000)]
Prior to authn/z refactoring in r368027, if authorization Require
directives had no matching AuthType and associated authentication
directives, requests would generally fall through in the
check_user_id hook to mod_authn_default.c's authentication_no_user()
handler, which returned DECLINED if ap_auth_type() was not set.
The ap_process_request_internal() function in request.c would handle
this case by logging an "AuthType not set!" error and returning
HTTP_INTERNAL_SERVER_ERROR.

The refactoring removes this error handling in request.c, so
individual modules will need to test for a lack of authentication,
as necessary.  Since some modules such as mod_authz_host.c support
Require directives that do not need any authentication, the
mod_authn_default.c handler no longer returns DECLINED if ap_auth_type()
is not set.  (Also, mod_authn_default can be compiled out with
--disable-authn-default, so it can't be relied upon to exist.)

Since r->user may now be NULL, individual handlers must test for that
case when necessary.  Otherwise, most Require directives in the
absence of AuthType directives cause handlers to crash while performing
strcmp() and friends on a NULL r->user value.

NOTE: I can't test mod_authnz_ldap.c myself, so I'm not sure if it
needs similar fixes.  On the one hand, a NULL r->user in the authz
handlers always generates a log message.  However, it appears that
authn_ldap_build_filter() will sometimes then be called, perform no
action, which may result in a possibly uninitialized filtbuf buffer
being passed to util_ldap_cache_getuserdn().  I don't know if that
could cause problems in the LDAP cache code.  If someone familiar with
LDAP authz could take a look, that would be much appreciated.

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

16 years agoMake text match example.
Mads Toftum [Thu, 16 Oct 2008 10:13:54 +0000 (10:13 +0000)]
Make text match example.

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

16 years agoAdd example and comments when using ScriptAlias with a file.
Tony Stevenson [Thu, 16 Oct 2008 01:48:14 +0000 (01:48 +0000)]
Add example and comments when using ScriptAlias with a file.

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

16 years agoUpdate howto/cgi.xml to link to RFC 3875 not a document on Ken's site
Tony Stevenson [Thu, 16 Oct 2008 01:33:40 +0000 (01:33 +0000)]
Update howto/cgi.xml to link to RFC 3875 not a document on Ken's site

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

16 years agoThis was backported
Sander Temme [Wed, 15 Oct 2008 22:12:59 +0000 (22:12 +0000)]
This was backported

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

16 years ago* Update transformation
Ruediger Pluem [Wed, 15 Oct 2008 19:46:32 +0000 (19:46 +0000)]
* Update transformation

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

16 years ago* Add the possibility to set the worker parameters connectiontimeout and ping
Ruediger Pluem [Wed, 15 Oct 2008 19:43:51 +0000 (19:43 +0000)]
* Add the possibility to set the worker parameters connectiontimeout and ping
  in milliseconds and the parameter acquire in seconds.
  Add the new currently static function ap_timeout_parameter_parse that
  should become a general utility function once its API is hammered out.

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

16 years ago* Send Content-Type application/ocsp-request for POST requests to OSCP
Ruediger Pluem [Wed, 15 Oct 2008 13:40:56 +0000 (13:40 +0000)]
* Send Content-Type application/ocsp-request for POST requests to OSCP
  responders.

PR: 46014
Submitted by: Dr Stephen Henson <steve openssl.org>
Reviewed by: rpluem

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

16 years agoWindows: add apr_dbd_odbc project to Visual Studio workspace .dsw file
Thomas J. Donovan [Wed, 15 Oct 2008 12:24:25 +0000 (12:24 +0000)]
Windows: add apr_dbd_odbc project to Visual Studio workspace .dsw file

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

16 years agoMinor bump when exporting mod_rewrite.h
Graham Leggett [Wed, 15 Oct 2008 10:09:33 +0000 (10:09 +0000)]
Minor bump when exporting mod_rewrite.h

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

16 years agoAlways build the odbc dbd driver on winodws, to be consistent with the apr-util default
Thomas J. Donovan [Wed, 15 Oct 2008 03:14:11 +0000 (03:14 +0000)]
Always build the odbc dbd driver on winodws, to be consistent with the apr-util default

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

16 years ago* Revert r703998.
Ruediger Pluem [Wed, 15 Oct 2008 00:53:39 +0000 (00:53 +0000)]
* Revert r703998.
  The call to apr_socket_timeout_set before apr_socket_connect already sets the
  socket to non-blocking mode because the timeout of the socket is -1 after creation. A further
  call to apr_socket_timeout_set (after the connect call does not do this, because the old
  and the new timeout are >=0). The further code expects the socket to be in non-blocking
  mode, otherwise we have regressions with ssl. This can be notified by running t/ssl/proxy
  on 2.2.x which runs much much slower with the patch applied. This does not happen
  on trunk because the socket is set back to non blocking by the core output filter
  (async write completion).

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

16 years agoExport and install the mod_rewrite.h header to ensure the optional
Graham Leggett [Tue, 14 Oct 2008 22:39:32 +0000 (22:39 +0000)]
Export and install the mod_rewrite.h header to ensure the optional
rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are
available to third party modules.

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

16 years ago* Make the connection timeout to backends work by temporarily setting the
Ruediger Pluem [Mon, 13 Oct 2008 10:06:28 +0000 (10:06 +0000)]
* Make the connection timeout to backends work by temporarily setting the
  socket to non blocking mode.

Submitted by: Matt Stevenson <mavricknzwork yahoo.com>
Reviewed by: rpluem

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

16 years agoNote modules such as mod_headers affect %{Foobar}i
Takashi Sato [Mon, 13 Oct 2008 10:01:50 +0000 (10:01 +0000)]
Note modules such as mod_headers affect %{Foobar}i

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

16 years agoupdate transformation
André Malo [Sun, 12 Oct 2008 11:12:52 +0000 (11:12 +0000)]
update transformation

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

16 years agoadd LastChangedRevision and eol-style
Takashi Sato [Sat, 11 Oct 2008 00:47:41 +0000 (00:47 +0000)]
add LastChangedRevision and eol-style

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

16 years agoupdate Japanese translation
Takashi Sato [Sat, 11 Oct 2008 00:35:03 +0000 (00:35 +0000)]
update Japanese translation

Submitted by: kawai
Reviewed by: takashi

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

16 years agofix MaxClients description (r692325) suggested by wrowe
Takashi Sato [Fri, 10 Oct 2008 12:39:40 +0000 (12:39 +0000)]
fix MaxClients description (r692325) suggested by wrowe

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

16 years agoupdate transformation
Nilgun Belma Buguner [Fri, 10 Oct 2008 06:41:32 +0000 (06:41 +0000)]
update transformation

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