]> granicus.if.org Git - apache/log
apache
18 years ago Ewww... can't we be consistant with our workfiles paths?
William A. Rowe Jr [Thu, 1 Jun 2006 05:41:28 +0000 (05:41 +0000)]
  Ewww... can't we be consistant with our workfiles paths?

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

18 years ago Add example/default allow-from for localhost, please???
William A. Rowe Jr [Thu, 1 Jun 2006 05:40:34 +0000 (05:40 +0000)]
  Add example/default allow-from for localhost, please???

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

18 years agoAdd comments re worker shutdown troubles on Linux and use of
Chris Darroch [Wed, 31 May 2006 19:34:37 +0000 (19:34 +0000)]
Add comments re worker shutdown troubles on Linux and use of
ap_os_killpg() in worker.

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

18 years ago* Keep the Content-Type for successfully revalidated
Ruediger Pluem [Tue, 30 May 2006 20:48:09 +0000 (20:48 +0000)]
* Keep the Content-Type for successfully revalidated
  cached objects, by unsetting possible Content-Type headers in
  r->headers_out and r->err_headers_out as they may be different to what
  we have received from the cache.
  Actually they are not needed as r->content_type set by
  ap_set_content_type a few lines above will be used in the store_headers
  functions of the storage providers as a fallback and the HTTP_HEADER filter
  does overwrite the Content-Type header with r->content_type anyway.

PR: 39647

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

18 years agoChop historic notes no longer relevant since 2.2 release.
Nick Kew [Mon, 29 May 2006 11:59:39 +0000 (11:59 +0000)]
Chop historic notes no longer relevant since 2.2 release.

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

18 years agoPR#39672: Check that filter exists before trying to insert it
Nick Kew [Mon, 29 May 2006 11:49:02 +0000 (11:49 +0000)]
PR#39672: Check that filter exists before trying to insert it

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

18 years agoThe syntax ">&/dev/null" is csh-style, not bourne-style shell.
Martin Kraemer [Mon, 29 May 2006 07:48:19 +0000 (07:48 +0000)]
The syntax ">&/dev/null" is csh-style, not bourne-style shell.
Change it so that all bourne-style shells understand it.
I am going to make the same fix in 2.2.x

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

18 years ago* Remove temporary files if renaming fails, otherwise they may accumulate.
Ruediger Pluem [Sun, 28 May 2006 10:32:01 +0000 (10:32 +0000)]
* Remove temporary files if renaming fails, otherwise they may accumulate.

Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

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

18 years agoOn graceless shutdown or restart, send AP_SIG_GRACEFUL to all worker
Chris Darroch [Fri, 26 May 2006 18:27:23 +0000 (18:27 +0000)]
On graceless shutdown or restart, send AP_SIG_GRACEFUL to all worker
threads so that any that are polling on Keep-Alive connections will
wake up and exit promptly.  Otherwise, on Linux, they wait until
poll()'s timeout interval completes, which is often too long for
the parent process; the parent issues SIGKILL before the child's main
thread manages to re-join all the worker threads.  PR 38737.

On Solaris, by contrast, the close_worker_sockets() function
successfully alerts all worker threads that they should exit quickly.
On Linux, this side-effect of one thread closing another's socket
doesn't occur; see:

http://bugme.osdl.org/show_bug.cgi?id=546

Also, expand on the placeholder in CHANGES regarding previous
cleanups to scoreboard.c and scoreboard.h in r404848 and r404849.

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

18 years agosmall cleanup of EBCDIC support in mod_proxy_ajp
Jeff Trawick [Fri, 26 May 2006 18:03:01 +0000 (18:03 +0000)]
small cleanup of EBCDIC support in mod_proxy_ajp

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

18 years agoMake the worker and event MPMs not touch the scoreboard when
Chris Darroch [Fri, 26 May 2006 16:26:52 +0000 (16:26 +0000)]
Make the worker and event MPMs not touch the scoreboard when
handling a fork() failure.  The previous behaviour appears to have
been inherited from the prefork MPM, where is it appropriate.

The prefork MPM sets thread_limit to 1 and therefore each
child process has a single worker_score structure in the scoreboard's
array, i.e., ap_scoreboard_image->servers[slot][0].  In make_child(),
it sets this structure's status to SERVER_STARTING, and then does
a fork(); if the fork() fails, it resets the status to SERVER_DEAD.

The worker and event MPMs, by constrast, obviously use multiple
worker_score structures per child process.  They may also be
in use by worker threads from a previous generation at any particular
moment.  Therefore make_child() and the parent process in general
doesn't normally update them; make_child() doesn't set them all
to SERVER_STARTING before doing fork(), for example.

So, make_child() shouldn't set them to SERVER_DEAD if fork()
fails (and even if it should, it certainly shouldn't be just
updating the first one).

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

18 years ago* Update transformation
Ruediger Pluem [Thu, 25 May 2006 20:19:08 +0000 (20:19 +0000)]
* Update transformation

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

18 years ago* Add a note about trailing slashes for ProxyPass and fix the balancer example
Ruediger Pluem [Thu, 25 May 2006 20:14:52 +0000 (20:14 +0000)]
* Add a note about trailing slashes for ProxyPass and fix the balancer example
  accordingly.

PR: 39203

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

18 years ago* Actually we are adding 3 bytes to the string (two for the length in front
Ruediger Pluem [Thu, 25 May 2006 19:50:25 +0000 (19:50 +0000)]
* Actually we are adding 3 bytes to the string (two for the length in front
  and a \0 at the end) and not 2. So adjust the length check.

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

18 years ago* Fix documentation about the data types of attributes in the AJP protocol.
Ruediger Pluem [Thu, 25 May 2006 19:41:40 +0000 (19:41 +0000)]
* Fix documentation about the data types of attributes in the AJP protocol.

PR: 39658

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

18 years ago* Cleanup the code by replacing some inline code to lower-case a string with
Ruediger Pluem [Mon, 22 May 2006 19:05:09 +0000 (19:05 +0000)]
* Cleanup the code by replacing some inline code to lower-case a string with
  ap_str_tolower.

Proposed by: Joe Orton

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

18 years agoMake the logging in mod_proxy_fcgi more consistent.
Garrett Rooney [Sun, 21 May 2006 23:08:56 +0000 (23:08 +0000)]
Make the logging in mod_proxy_fcgi more consistent.

* modules/proxy/mod_proxy_fcgi.c
  (fcgi_do_request): Log errors as APLOG_ERR.
  (proxy_fcgi_handler): Log debug info as APLOG_DEBUG.

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

18 years agoupdate transformation
André Malo [Sun, 21 May 2006 22:50:20 +0000 (22:50 +0000)]
update transformation

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

18 years ago* Fix const compiler warning introduced by r407357.
Ruediger Pluem [Sun, 21 May 2006 10:29:09 +0000 (10:29 +0000)]
* Fix const compiler warning introduced by r407357.

Noticed by: Joe Orton

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

18 years ago* Handle the cases "no proxy request" and "reverse proxy request" in the same
Ruediger Pluem [Wed, 17 May 2006 19:16:43 +0000 (19:16 +0000)]
* Handle the cases "no proxy request" and "reverse proxy request" in the same
  manner, when setting scheme and port_str. This is needed because if a cached
  entry is looked up by mod_cache's quick handler r->proxyreq
  is still unset in the reverse proxy case as it only gets set in the
  translate name hook (either by ProxyPass or mod_rewrite) which is run
  after the quick handler hook. This is different to the forward proxy
  case where it gets set before the quick handler is run (in the
  post_read_request hook).
  If a cache entry is created by the CACHE_SAVE filter we always have
  r->proxyreq set correctly.
  Also set scheme to ap_http_scheme(r) instead of "http" to handle SSL
  correctly.

PR: 39593

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

18 years ago* modules/generators/mod_autoindex.c (output_directories): Escape
Joe Orton [Wed, 17 May 2006 14:23:41 +0000 (14:23 +0000)]
* modules/generators/mod_autoindex.c (output_directories): Escape
filename in non-FancyIndexing case.

PR: 38910
Submitted by: Robby Griffin <rmg terc.edu>

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

18 years ago* server/main.c (abort_on_oom): New function.
Joe Orton [Tue, 16 May 2006 14:17:02 +0000 (14:17 +0000)]
* server/main.c (abort_on_oom): New function.
(create_process): Set abort callback for process pool.
(main): Set abort callback for global pool.

Reviewed by: colm

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

18 years agoDocument r399947, addition of optional scheme:// to ServerName directive
Sander Temme [Mon, 15 May 2006 18:15:19 +0000 (18:15 +0000)]
Document r399947, addition of optional scheme:// to ServerName directive

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

18 years ago* server/mpm/prefork/prefork.c (child_main): Tag pchild.
Joe Orton [Wed, 10 May 2006 11:51:41 +0000 (11:51 +0000)]
* server/mpm/prefork/prefork.c (child_main): Tag pchild.

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

18 years agoTypo (..for use with by the scoreboard) changed to
Martin Kraemer [Wed, 10 May 2006 07:36:54 +0000 (07:36 +0000)]
Typo (..for use with by the scoreboard) changed to
"..for use by the scoreboard" (not 100% sure -- or
should it be "..for use with the scoreboard"?)

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

18 years agoAdd support for fcgi:// proxies to mod_rewrite.
Garrett Rooney [Wed, 10 May 2006 04:16:57 +0000 (04:16 +0000)]
Add support for fcgi:// proxies to mod_rewrite.

Submitted by: Markus Schiegl <ms schiegl.com>

* modules/mappers/mod_rewrite.c
  (is_absolute_uri): Recognize fcgi:// urls.

* CHANGES: Note change.

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

18 years agorevert last entry -- not user visible and poorly worded
Roy T. Fielding [Tue, 9 May 2006 17:36:55 +0000 (17:36 +0000)]
revert last entry -- not user visible and poorly worded

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

18 years agoremove test/zb.c
Thom May [Tue, 9 May 2006 11:59:26 +0000 (11:59 +0000)]
remove test/zb.c

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

18 years ago* server/core.c (server_hostname_port): Remove unused variable.
Joe Orton [Mon, 8 May 2006 10:57:49 +0000 (10:57 +0000)]
* server/core.c (server_hostname_port): Remove unused variable.

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

18 years agoNote scoreboard stuff in changes; leave the 'difficult' patches
Nick Kew [Sun, 7 May 2006 21:07:14 +0000 (21:07 +0000)]
Note scoreboard stuff in changes; leave the 'difficult' patches
to see if they attract any more review.

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

18 years agoInitialise server generation (Chris Darroch)
Nick Kew [Sun, 7 May 2006 21:03:39 +0000 (21:03 +0000)]
Initialise server generation (Chris Darroch)

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

18 years agoTidy up scoreboard.h (Chris Darroch)
Nick Kew [Sun, 7 May 2006 21:01:48 +0000 (21:01 +0000)]
Tidy up scoreboard.h (Chris Darroch)

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

18 years agoScoreboard size (Chris Darroch)
Nick Kew [Sun, 7 May 2006 21:00:08 +0000 (21:00 +0000)]
Scoreboard size (Chris Darroch)

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

18 years agomod_ssl stuff which has been done.
Joe Orton [Fri, 5 May 2006 08:34:43 +0000 (08:34 +0000)]
mod_ssl stuff which has been done.

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

18 years ago Add optional 'scheme://' prefix to ServerName directive. For
Sander Temme [Fri, 5 May 2006 04:17:36 +0000 (04:17 +0000)]
 Add optional 'scheme://' prefix to ServerName directive.  For
     'https', mod_http returns "https" for the ap_hook_http_scheme and
     DEFAULT_HTTPS_PORT for ap_hook_default_port.  This fixes Redirect
     responses to requests for directories without a trailing slash
     when httpd runs behind a proxy or offload device that processes
     SSL.  It also enables support for Subversion in that
     configuration.  This change is completely backwards compatible
     and passes the perl-framework.  Minor mmn bump because I add a
     field to server_rec.

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

18 years agomod_charset_lite: Bypass translation when the source and dest charsets
Jeff Trawick [Thu, 4 May 2006 11:26:12 +0000 (11:26 +0000)]
mod_charset_lite: Bypass translation when the source and dest charsets
are the same.

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

18 years agoStop returning DECLINED from the output filter for proxy
Jeff Trawick [Thu, 4 May 2006 11:18:45 +0000 (11:18 +0000)]
Stop returning DECLINED from the output filter for proxy
requests.

Filters can't return that type of status.

The way to decline filter handling is to pass through the input
data unchanged and hopefully remove the output filter
permanently.

As long as the proxy flag was set in the fixup hook, we
didn't fill in our request config and the filter will be
a no-op anyway.

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

18 years ago* Add Content-Type to headers_out if not already set. This ensures that
Ruediger Pluem [Wed, 3 May 2006 19:34:35 +0000 (19:34 +0000)]
* Add Content-Type to headers_out if not already set. This ensures that
  the Content-Type of the cached entity gets restored correctly.

PR: 39266

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

18 years ago* modules/ssl/ssl_scache_shmcb.c: Rewrite of shmcb session cache to
Joe Orton [Wed, 3 May 2006 13:16:57 +0000 (13:16 +0000)]
* modules/ssl/ssl_scache_shmcb.c: Rewrite of shmcb session cache to
reduce complexity and ensure all accesses within shm segment are
always aligned correctly.

Submitted by: Geoff Thorpe <geoff geoffthorpe.net>

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

18 years agoPR 39275. don't fork MaxClients worth of processes if child_init or fork() are
Greg Ames [Wed, 3 May 2006 00:30:56 +0000 (00:30 +0000)]
PR 39275.  don't fork MaxClients worth of processes if child_init or fork() are
slow.

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

18 years ago Fix two common overrides required for Win32
William A. Rowe Jr [Sun, 30 Apr 2006 06:21:41 +0000 (06:21 +0000)]
  Fix two common overrides required for Win32

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

18 years agoRemove GENURI.nlm from the prebuild target
Bradley Nicholes [Sun, 30 Apr 2006 01:08:59 +0000 (01:08 +0000)]
Remove GENURI.nlm from the prebuild target

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

18 years agoFix compile time warnings.
Garrett Rooney [Fri, 28 Apr 2006 17:50:56 +0000 (17:50 +0000)]
Fix compile time warnings.

Pointed out by: jorton

* modules/proxy/mod_proxy_fcgi.c
  Add include of util_script.h to pick up some function prototypes.
  (send_begin_request): Initialize the reserved bytes in the request
   body to zero.
  (dispatch): Use APR_SIZE_T_FMT instead of %d when logging an apr_size_t.

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

18 years ago This resource /D syntax was pretty horridly imported into VS 2005,
William A. Rowe Jr [Thu, 27 Apr 2006 21:41:29 +0000 (21:41 +0000)]
  This resource /D syntax was pretty horridly imported into VS 2005,
  change the quotation to ensure a peaceful transition to sln/vcproj files.

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

18 years agoFix gcc warnings:
Joe Orton [Thu, 27 Apr 2006 15:34:09 +0000 (15:34 +0000)]
Fix gcc warnings:

* support/fcgistarter.c (usage): Fix prototype.
(main): Remove unused variable; pass argv[0] to execl.

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

18 years ago Remove all /machine:I386 references, these are getting in the way
William A. Rowe Jr [Thu, 27 Apr 2006 05:30:39 +0000 (05:30 +0000)]
  Remove all /machine:I386 references, these are getting in the way
  of switching linkers from the x86 (default linker) to x64 or other
  possible target platforms.  (Also, this commit cleans up lingering
  /GX switches from the 'BASE' options that are supposed to be unused).

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

18 years ago Make clean was -borked-! Too many extra target specifiers
William A. Rowe Jr [Thu, 27 Apr 2006 05:01:58 +0000 (05:01 +0000)]
  Make clean was -borked-!  Too many extra target specifiers

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

18 years ago Move flex/bison/sed steps into a "mod_ssl - Win32 Lexical" grammer
William A. Rowe Jr [Mon, 24 Apr 2006 19:48:30 +0000 (19:48 +0000)]
  Move flex/bison/sed steps into a "mod_ssl - Win32 Lexical" grammer
  build, outside of the normal "mod_ssl - Win32 Debug|Release" builds.

  Continues on the path of eliminating external dependencies, we
  strongly expect users to never modify the grammers during normal
  builds.

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

18 years agoPR#39386: Fix merge-config to support prepared statements (Brian J. France)
Nick Kew [Sun, 23 Apr 2006 19:59:23 +0000 (19:59 +0000)]
PR#39386: Fix merge-config to support prepared statements (Brian J. France)

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

18 years agowhen compiling statistics, only interate accross requests which occured.
Colm MacCarthaigh [Sun, 23 Apr 2006 18:04:17 +0000 (18:04 +0000)]
when compiling statistics, only interate accross requests which occured.

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

18 years ago* Consequently use disk_cache: in error log strings
Ruediger Pluem [Sun, 23 Apr 2006 10:52:48 +0000 (10:52 +0000)]
* Consequently use disk_cache: in error log strings

PR: 39380
Submitted by: Niklas Edmundsson <nikke acc.umu.se>
Reviewed by: rpluem

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

18 years ago* Sync with 2.2.x CHANGES file
Ruediger Pluem [Sat, 22 Apr 2006 15:25:18 +0000 (15:25 +0000)]
* Sync with 2.2.x CHANGES file

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

18 years ago* CHANGES: Make spacing consistent with the rest of the file.
Garrett Rooney [Sat, 22 Apr 2006 04:19:25 +0000 (04:19 +0000)]
* CHANGES: Make spacing consistent with the rest of the file.

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

18 years ago* support/fcgistarter.c
Garrett Rooney [Sat, 22 Apr 2006 03:55:02 +0000 (03:55 +0000)]
* support/fcgistarter.c
  (main): Oops, we need to detach before the fork, otherwise this all
   totally fails to work...

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

18 years ago* CHANGES: Note the addition of mod_proxy_fcgi.
Garrett Rooney [Sat, 22 Apr 2006 03:45:28 +0000 (03:45 +0000)]
* CHANGES: Note the addition of mod_proxy_fcgi.

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

18 years agoMerge the fcgi-proxy-dev branch to trunk, adding a FastCGI back end for
Garrett Rooney [Sat, 22 Apr 2006 03:44:05 +0000 (03:44 +0000)]
Merge the fcgi-proxy-dev branch to trunk, adding a FastCGI back end for
mod_proxy.  This log message is just a summary of the changes, for the
full original log messages see r357431:393955 in branches/fcgi-proxy-dev.

* modules/proxy/mod_proxy_fcgi.c: New file, holds the impementation of
  our new fcgi backend for mod_proxy.

* modules/proxy/fcgi_protocol.h: New file, holds constants and structures
  for the fcgi protocol.

* modules/proxy/mod_proxy_balancer.c
  (proxy_balancer_canon): Set up r->path_info, so the PATH_INFO env
   variable is correctly passed on to balancer workers.

* modules/proxy/config.m4: Build the new mod_proxy_fcgi module.

* support: Add fcgistarter to svn:ignore.

* support/Makefile.in: Build the new fcgistarter program.

* support/fcgistarter.c: New program, a helper for starting fcgi worker
  processes.

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

18 years agoupdate transformation
André Malo [Thu, 20 Apr 2006 15:42:03 +0000 (15:42 +0000)]
update transformation

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

18 years ago* modules/proxy/proxy_util.c (ap_proxy_initialize_worker): Fix
Joe Orton [Thu, 20 Apr 2006 10:35:41 +0000 (10:35 +0000)]
* modules/proxy/proxy_util.c (ap_proxy_initialize_worker): Fix
gcc strict-aliasing warning.

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

18 years ago Ahhh, this was missed in 395432, and the addition of httpd.rc needs
William A. Rowe Jr [Thu, 20 Apr 2006 01:47:54 +0000 (01:47 +0000)]
  Ahhh, this was missed in 395432, and the addition of httpd.rc needs
  to occur on each branch backported to (paying close attn to whether
  or not our IS_DEV flag is a boolean, or a define/undef).

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

18 years ago Not for backport; our boolean state is 1/0, not defined/undef.
William A. Rowe Jr [Wed, 19 Apr 2006 23:17:31 +0000 (23:17 +0000)]
  Not for backport; our boolean state is 1/0, not defined/undef.
  Remove win32ver.awk, it's now unused (but should be preserved
  on the 2.0 tree for anyone who leveraged it.)

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

18 years agorevert accidental copyright year changes
Roy T. Fielding [Wed, 19 Apr 2006 23:03:26 +0000 (23:03 +0000)]
revert accidental copyright year changes

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

18 years agorevert last change
Roy T. Fielding [Wed, 19 Apr 2006 22:52:45 +0000 (22:52 +0000)]
revert last change

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

18 years ago s|/GX |/EHsc | because they were always synonyms, and Visual Studio
William A. Rowe Jr [Wed, 19 Apr 2006 22:51:02 +0000 (22:51 +0000)]
  s|/GX |/EHsc | because they were always synonyms, and Visual Studio
  2005 edition complains bitterly and loudly that /GX is deprecated.

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

18 years ago Remove a host of dependencies upon awk, using the same template for
William A. Rowe Jr [Wed, 19 Apr 2006 22:47:49 +0000 (22:47 +0000)]
  Remove a host of dependencies upon awk, using the same template for
  nearly every .rc compilation (giving the output .res file a different
  name for each component).  Adds AP_SERVER_BASEPROJECT to ap_revision.h
  so we can display the proper name of "Apache HTTP Server" as opposed
  to AP_SERVER_BASEPRODUCT (which is, and should remain, simply "Apache"
  for the server string tokens.)

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

18 years agoRemoving 1.3 refs from 2.x docs
Noirin Plunkett [Wed, 19 Apr 2006 22:17:36 +0000 (22:17 +0000)]
Removing 1.3 refs from 2.x docs

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

18 years ago As a -fallback- install the release flavor of openssl when building
William A. Rowe Jr [Wed, 19 Apr 2006 21:16:02 +0000 (21:16 +0000)]
  As a -fallback- install the release flavor of openssl when building
  the debug flavor of apache httpd mod_ssl.

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

18 years ago With all the fun new features, mod_proxy's size (when built in
William A. Rowe Jr [Wed, 19 Apr 2006 21:01:31 +0000 (21:01 +0000)]
  With all the fun new features, mod_proxy's size (when built in
  debug mode) has grown a bit :)

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

18 years ago* Adjust comment as per niq's proposal in r395166 and as already adjusted by
Ruediger Pluem [Wed, 19 Apr 2006 20:07:22 +0000 (20:07 +0000)]
* Adjust comment as per niq's proposal in r395166 and as already adjusted by
  colm in the backport to 2.0.x (r395197).

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

18 years agoupdate transformation
André Malo [Wed, 19 Apr 2006 16:51:01 +0000 (16:51 +0000)]
update transformation

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

18 years agofix revision references
André Malo [Wed, 19 Apr 2006 16:45:09 +0000 (16:45 +0000)]
fix revision references

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

18 years agoUpdate the last year of copyright.
Colm MacCarthaigh [Wed, 19 Apr 2006 12:23:42 +0000 (12:23 +0000)]
Update the last year of copyright.

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

18 years agoUpdate the copyright year in all .c, .h and .xml files
Colm MacCarthaigh [Wed, 19 Apr 2006 12:11:27 +0000 (12:11 +0000)]
Update the copyright year in all .c, .h and .xml files

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

18 years ago* configure.in: Add --with-included-apr flag to force use of the
Joe Orton [Wed, 19 Apr 2006 10:57:20 +0000 (10:57 +0000)]
* configure.in: Add --with-included-apr flag to force use of the
bundled copies of APR and APR-util.

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

18 years agoFix for platforms without threads: inreslist exists only if APR_HAS_THREADS is set
Martin Kraemer [Wed, 19 Apr 2006 08:56:59 +0000 (08:56 +0000)]
Fix for platforms without threads: inreslist exists only if APR_HAS_THREADS is set

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

18 years agoIgnore generated doxygen output directory
Sander Temme [Wed, 19 Apr 2006 05:41:23 +0000 (05:41 +0000)]
Ignore generated doxygen output directory

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

18 years agoCorrectly handle internal redirects, by testing only for r-main == NULL.
Colm MacCarthaigh [Tue, 18 Apr 2006 22:51:55 +0000 (22:51 +0000)]
Correctly handle internal redirects, by testing only for r-main == NULL.
ap_is_initial_req() returns false for internal redirects.

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

18 years agoThiago Zaninotti reported to security@apache.org on 20060410 a possible
Mark J. Cox [Tue, 18 Apr 2006 15:30:13 +0000 (15:30 +0000)]
Thiago Zaninotti reported to security@apache.org on 20060410 a possible
cross-site scripting flaw because the Expect header error message isn't
escaped.  We couldn't find a way that this could be used by an attacker
however, as they can't influence the Expect header a victim will send to a
target site.  Thiago agreed and we're therefore not treating this as a
security flaw, but it is a bug that ought to get fixed.  I'll add to
STATUS for 1.3/2.0/2.2 shortly for acks.

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

18 years agoUpdate the copyright notice to reflect that changes have gone in this year
Colm MacCarthaigh [Mon, 17 Apr 2006 20:09:50 +0000 (20:09 +0000)]
Update the copyright notice to reflect that changes have gone in this year

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

18 years agoUpdate one of the more important copyright notices prior to any 2006
Colm MacCarthaigh [Sun, 16 Apr 2006 17:34:39 +0000 (17:34 +0000)]
Update one of the more important copyright notices prior to any 2006
releases.

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

18 years ago* Also initialize local data structures for workers of a balancer.
Ruediger Pluem [Sun, 16 Apr 2006 09:12:24 +0000 (09:12 +0000)]
* Also initialize local data structures for workers of a balancer.

PR: 38227, 39267
Submitted by: James A. Robinson <jim.robinson stanford.edu>
Reviewed by: rpluem

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

18 years agoPR#39321 - don't segfault if a bad URL is specified in ProxyPass
Nick Kew [Sat, 15 Apr 2006 22:45:00 +0000 (22:45 +0000)]
PR#39321 - don't segfault if a bad URL is specified in ProxyPass

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

18 years agodecouple the two scoreboard full messages
Greg Ames [Fri, 14 Apr 2006 15:12:35 +0000 (15:12 +0000)]
decouple the two scoreboard full messages

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

18 years ago* Sync with 2.2.x CHANGES
Ruediger Pluem [Fri, 14 Apr 2006 13:26:34 +0000 (13:26 +0000)]
* Sync with 2.2.x CHANGES

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

18 years ago* Avoid calling ap_proxy_http_cleanup twice as this releases a connection
Ruediger Pluem [Fri, 14 Apr 2006 13:20:28 +0000 (13:20 +0000)]
* Avoid calling ap_proxy_http_cleanup twice as this releases a connection
  from the connection pool twice. This causes this connection to be present
  in the connection pool twice. Thus it may be used by different threads
  at the same time which causes many troubles (segfaults in this case).
  Furthermore implement a logic to prevent double releases to the connection
  pool if they are triggered by buggy code and log an error message in this
  case.

  - mod_proxy_http.c: remove double calls to ap_proxy_http_cleanup
  - proxy_util.c: Add logic to prevent double releases of a
    connection to the connection pool.

PR: 38793

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

18 years ago* Initialize last_char as otherwise a random value will be compared
Ruediger Pluem [Fri, 14 Apr 2006 12:17:54 +0000 (12:17 +0000)]
* Initialize last_char as otherwise a random value will be compared
  against APR_ASCII_LF at the end of the loop if bb only contains an
  EOS bucket.

PR: 39282
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

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

18 years ago* After r377780 the condition in the if clause never becomes true, because
Ruediger Pluem [Fri, 14 Apr 2006 11:30:04 +0000 (11:30 +0000)]
* After r377780 the condition in the if clause never becomes true, because
  ap_proxy_initialize_worker_share is always left with PROXY_WORKER_INITIALIZED
  set in workers->s->status. So remove this code to save cycles and avoid
  confusion.

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

18 years agoMaxClients isn't the only reason the scoreboard can fill up. another
Greg Ames [Thu, 13 Apr 2006 17:53:04 +0000 (17:53 +0000)]
MaxClients isn't the only reason the scoreboard can fill up.  another
reason should be fixed soon.

also add a comment to explain an obscure line of code.

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

18 years agoIf we don't have a prototype for crypt() we shouldn't
Jeff Trawick [Wed, 12 Apr 2006 01:58:08 +0000 (01:58 +0000)]
If we don't have a prototype for crypt() we shouldn't
be calling it.

Casting to the desired pointer return type hides the
truncation of the return value when sizeof(ptr) >
sizeof(int) and no prototype was included.

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

18 years agoThe crypt() prototype is in <unistd.h> instead of <crypt.h>
Jeff Trawick [Wed, 12 Apr 2006 01:55:11 +0000 (01:55 +0000)]
The crypt() prototype is in <unistd.h> instead of <crypt.h>
on HP-UX.  We had no prototype for crypt() there.
In 64-bit mode, a crash occurred because the pointer
returned by crypt() was truncated before we passed
the pointer to apr_cpystrn().

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

18 years agomore explanation for a couple of subtle lines of code
Greg Ames [Tue, 11 Apr 2006 14:41:53 +0000 (14:41 +0000)]
more explanation for a couple of subtle lines of code

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

18 years ago* Rollback r393037 as this was vetoed by wrowe. Details see
Ruediger Pluem [Mon, 10 Apr 2006 22:07:02 +0000 (22:07 +0000)]
* Rollback r393037 as this was vetoed by wrowe. Details see
  http://mail-archives.apache.org/mod_mbox/httpd-dev/200604.mbox/%3c443ABE65.1060603@rowe-clan.net%3e

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

18 years ago* Prevent r->parsed_uri.path from being NULL as this can cause segmentation
Ruediger Pluem [Mon, 10 Apr 2006 19:59:33 +0000 (19:59 +0000)]
* Prevent r->parsed_uri.path from being NULL as this can cause segmentation
  faults e.g. in mod_cache. Set it to "/" in this case.

PR: 39259
Submitted by: Davi Arnaut <davi haxent.com.br>
Reviewed by: rpluem

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

18 years agoexpand on a comment for a rather subtle line of code so I have a chance of
Greg Ames [Mon, 10 Apr 2006 19:24:33 +0000 (19:24 +0000)]
expand on a comment for a rather subtle line of code so I have a chance of
understanding how it helps in the future

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

18 years agoremove unnecessary whitespace
Jeff Trawick [Mon, 10 Apr 2006 17:54:59 +0000 (17:54 +0000)]
remove unnecessary whitespace

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

18 years agohtdbm: Warn the user when adding a plaintext password on a platform
Jeff Trawick [Mon, 10 Apr 2006 13:31:14 +0000 (13:31 +0000)]
htdbm: Warn the user when adding a plaintext password on a platform
where it wouldn't work with the server (i.e., anywhere that has
crypt()).

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

18 years ago* Check for an existing socket independant of an existing connection record.
Ruediger Pluem [Sat, 8 Apr 2006 21:43:24 +0000 (21:43 +0000)]
* Check for an existing socket independant of an existing connection record.
  This ensures that requests handled by the '*' worker are sent to the correct
  backend server.

PR: 39253

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

18 years agoupdate convenience map
André Malo [Fri, 7 Apr 2006 21:22:02 +0000 (21:22 +0000)]
update convenience map

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

18 years agoset svnmailer:content-charset for better diff mails
André Malo [Fri, 7 Apr 2006 20:54:48 +0000 (20:54 +0000)]
set svnmailer:content-charset for better diff mails

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

18 years agoupdate transformation
André Malo [Fri, 7 Apr 2006 20:49:13 +0000 (20:49 +0000)]
update transformation

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

18 years agosvn:eol-style = native
André Malo [Fri, 7 Apr 2006 20:20:50 +0000 (20:20 +0000)]
svn:eol-style = native

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