]> granicus.if.org Git - apache/log
apache
22 years ago Fix code comments
William A. Rowe Jr [Thu, 11 Jul 2002 06:14:30 +0000 (06:14 +0000)]
  Fix code comments

Submitted by: Stas Bekman <stas@stason.org>

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

22 years ago Clean up docs and add a hook for clarification.
William A. Rowe Jr [Thu, 11 Jul 2002 06:09:34 +0000 (06:09 +0000)]
  Clean up docs and add a hook for clarification.

Submitted by: Stas Bekman <stas@stason.org>

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

22 years agoBring Apache in line with APR's new poll implementation. This isn't
Ryan Bloom [Thu, 11 Jul 2002 05:42:20 +0000 (05:42 +0000)]
Bring Apache in line with APR's new poll implementation.  This isn't
optimal, because it still uses the compatibility functions to make it
work, but it does work.  The next step will be to take the memory for
the pollsets under Apache's control.

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

22 years agomod_ext_filter: don't segfault if content-type is not set.
Jeff Trawick [Wed, 10 Jul 2002 11:58:37 +0000 (11:58 +0000)]
mod_ext_filter: don't segfault if content-type is not set.

PR:                        10617
Submitted by:              Arthur P. Smith <apsmith@aps.org>
Reviewed/modified by:      Jeff Trawick

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

22 years agoUpdate translation.
Yoshiki Hayashi [Wed, 10 Jul 2002 07:22:27 +0000 (07:22 +0000)]
Update translation.

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

22 years agoUpdate transformation.
Yoshiki Hayashi [Wed, 10 Jul 2002 07:06:30 +0000 (07:06 +0000)]
Update transformation.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Wed, 10 Jul 2002 07:03:22 +0000 (07:03 +0000)]
New Japanese translation.

Submitted by: KUSANO Takayuki <AE5T-KSN@asahi-net.or.jp>
Reviewd by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>, Yoshiki Hayashi

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

22 years agoOops. I don't know why but these files weren't committed at previous attempt.
Yoshiki Hayashi [Wed, 10 Jul 2002 07:01:02 +0000 (07:01 +0000)]
Oops.  I don't know why but these files weren't committed at previous attempt.
New Japanese translation.

Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoNew Japanese translations.
Yoshiki Hayashi [Wed, 10 Jul 2002 06:56:57 +0000 (06:56 +0000)]
New Japanese translations.

Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>
Reviewed by: Yoshiki Hayashi

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

22 years agoUpdate transformation.
Yoshiki Hayashi [Wed, 10 Jul 2002 06:04:59 +0000 (06:04 +0000)]
Update transformation.

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

22 years agoCorrect a markup error pointed out by Xalan.
Yoshiki Hayashi [Wed, 10 Jul 2002 06:04:38 +0000 (06:04 +0000)]
Correct a markup error pointed out by Xalan.

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

22 years agoGrammar police.
Yoshiki Hayashi [Wed, 10 Jul 2002 06:04:04 +0000 (06:04 +0000)]
Grammar police.

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

22 years agoContinue the Bill Rowe apr_size_t crusade.
Victor J. Orlikowski [Wed, 10 Jul 2002 06:01:14 +0000 (06:01 +0000)]
Continue the Bill Rowe apr_size_t crusade.

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

22 years ago Narrow service manager access to what is actually needed to perform
William A. Rowe Jr [Wed, 10 Jul 2002 02:37:33 +0000 (02:37 +0000)]
  Narrow service manager access to what is actually needed to perform
  the given operations.

Submitted by: David Shane Holden <dpejesh@yahoo.com>

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

22 years agospell check a comment
Jeff Trawick [Wed, 10 Jul 2002 01:07:21 +0000 (01:07 +0000)]
spell check a comment

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

22 years ago Small whitespace cleanup.
William A. Rowe Jr [Tue, 9 Jul 2002 17:26:27 +0000 (17:26 +0000)]
  Small whitespace cleanup.

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

22 years ago Fix access for non-Administrators (superusers and the like) to allow them
William A. Rowe Jr [Tue, 9 Jul 2002 17:13:48 +0000 (17:13 +0000)]
  Fix access for non-Administrators (superusers and the like) to allow them
  to start and stop services, even without full permission to create or
  remove installed services.

PR: 10460
Submitted by: "Mladen Turk" <mturk@mappingsoft.com>

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

22 years agoDocumentation for the NetWare CGIMapExtension directive for mapping
Bradley Nicholes [Tue, 9 Jul 2002 15:32:35 +0000 (15:32 +0000)]
Documentation for the NetWare CGIMapExtension directive for mapping
CGI script file extensions to the script interpreter NLM

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

22 years agoGrammer police.
Yoshiki Hayashi [Tue, 9 Jul 2002 11:24:46 +0000 (11:24 +0000)]
Grammer police.

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

22 years agoCorrect path to the ScoreBoardFile directive.
Yoshiki Hayashi [Tue, 9 Jul 2002 11:06:25 +0000 (11:06 +0000)]
Correct path to the ScoreBoardFile directive.

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

22 years agoImprove translation.
Yoshiki Hayashi [Tue, 9 Jul 2002 09:22:59 +0000 (09:22 +0000)]
Improve translation.

Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>

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

22 years agoFix typo.
Yoshiki Hayashi [Tue, 9 Jul 2002 09:21:57 +0000 (09:21 +0000)]
Fix typo.
Translate section accidentaly left in English.
Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>
Reviewed by: Yoshiki Hayashi

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

22 years ago We obviously have no idea if this code is right. We can't close unopened
William A. Rowe Jr [Mon, 8 Jul 2002 20:25:28 +0000 (20:25 +0000)]
  We obviously have no idea if this code is right.  We can't close unopened
  files.

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

22 years ago If you want floating math, use float literals.
William A. Rowe Jr [Mon, 8 Jul 2002 19:39:01 +0000 (19:39 +0000)]
  If you want floating math, use float literals.

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

22 years ago Fix alpha order so the .dsp list isn't rearranged on save.
William A. Rowe Jr [Mon, 8 Jul 2002 18:02:25 +0000 (18:02 +0000)]
  Fix alpha order so the .dsp list isn't rearranged on save.

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

22 years ago Changes for deprecated apr_is_fnmatch
William A. Rowe Jr [Mon, 8 Jul 2002 17:43:34 +0000 (17:43 +0000)]
  Changes for deprecated apr_is_fnmatch

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

22 years agofix folding when the continuation charater is a blank
Greg Ames [Mon, 8 Jul 2002 17:36:41 +0000 (17:36 +0000)]
fix folding when the continuation charater is a blank
Reported by: one of Jeff T's regression test cases

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

22 years agotweak a comment for readability
Jeff Trawick [Mon, 8 Jul 2002 16:27:54 +0000 (16:27 +0000)]
tweak a comment for readability

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

22 years agosilence an unhelpful gcc warning
Jeff Trawick [Mon, 8 Jul 2002 12:58:16 +0000 (12:58 +0000)]
silence an unhelpful gcc warning

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

22 years agoVC6 is unable to deal with dependencies that are still due to be made.
Ryan Bloom [Mon, 8 Jul 2002 03:40:37 +0000 (03:40 +0000)]
VC6 is unable to deal with dependencies that are still due to be made.
This moves around the order of compilation around so that the error goes
away.
PR: 10130
Submitted by: James Cox [imajes@php.net]

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

22 years agoOptimize reading keep-alive requests with APR_INCOMPLETE_READ. In the
Bill Stoddard [Sun, 7 Jul 2002 16:35:20 +0000 (16:35 +0000)]
Optimize reading keep-alive requests with APR_INCOMPLETE_READ.  In the
profiling I've done, the read() in apr_read() would always fail with
EAGAIN. This will send the thread directly to select to wait for the
next request.

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

22 years agofix for compilers that don't support long long datatype
Brian Pane [Sun, 7 Jul 2002 06:37:21 +0000 (06:37 +0000)]
fix for compilers that don't support long long datatype

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

22 years agoRenames Pending:
Ian Holsman [Sat, 6 Jul 2002 20:04:38 +0000 (20:04 +0000)]
Renames Pending:
 This clears the list of renames pending in apr-util.
 Parts of this list was alreadu done, but the pending list hadn't been updated.

 apr_hook_debug_current     from apr_current_hooking_module
 apr_hook_debug_show        from apr_show_hook

 apr_hook_global_pool       from apr_global_hook_pool
 apr_hook_sort_all          from apr_sort_hooks

 apr_uri_port_of_scheme     from apr_uri_default_port_for_scheme
 apr_uri_unparse            from apr_uri_unparse_components
 apr_uri_parse              from apr_uri_parse_components
 apr_uri_parse_hostinfo     from apr_uri_parse_hostinfo_components

 apr_uri_t                  from apr_uri_components

 All APR_URI_*              from all APU_URI_* symbols
 All APR_UNP_*              from all UNP_* symbols

PR:
Obtained from:
Submitted by:  Thom May
Reviewed by:

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

22 years agoFix some Win32 compile breaks caused by Brian Pane's making apr_table_t
Bill Stoddard [Sat, 6 Jul 2002 02:49:59 +0000 (02:49 +0000)]
Fix some Win32 compile breaks caused by Brian Pane's making apr_table_t
a full incomplete type.

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

22 years agoEliminated the use of AP_MODE_SPECULATIVE brigade reads to check
Brian Pane [Sat, 6 Jul 2002 01:53:37 +0000 (01:53 +0000)]
Eliminated the use of AP_MODE_SPECULATIVE brigade reads to check
for request header continuation lines.  Instead, ap_get_mime_headers_core()
now sets aside each line of input until it sees the next line.  If the
next line starts with a tab, it is appended to the previous one; otherwise,
the previous line is added to the request headers table.

This reduces the number of temporary buckets that must be created
and destroyed to read in a request.

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

22 years agoThis just bugs me today...
Bill Stoddard [Fri, 5 Jul 2002 17:24:16 +0000 (17:24 +0000)]
This just bugs me today...

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

22 years agoSubmitted by: Owen Boyle, on users@ mailing list
Rich Bowen [Fri, 5 Jul 2002 03:28:06 +0000 (03:28 +0000)]
Submitted by: Owen Boyle, on users@ mailing list
Additional clarification on UseCanonicalName directive.

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

22 years agouse new time conversion macros in place of APR_USEC_PER_SEC
Brian Pane [Fri, 5 Jul 2002 00:53:12 +0000 (00:53 +0000)]
use new time conversion macros in place of APR_USEC_PER_SEC

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

22 years agouse the time conversion macros rather than dividing by APR_USEC_PER_SEC
Brian Pane [Thu, 4 Jul 2002 22:56:51 +0000 (22:56 +0000)]
use the time conversion macros rather than dividing by APR_USEC_PER_SEC

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

22 years agoreplaced APR_USEC_PER_SEC division with the new time macros
Brian Pane [Thu, 4 Jul 2002 22:41:48 +0000 (22:41 +0000)]
replaced APR_USEC_PER_SEC division with the new time macros

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

22 years agofix ap_mpm_set_max_mem_free declaration to match mpm_common.c
Brian Pane [Thu, 4 Jul 2002 22:39:03 +0000 (22:39 +0000)]
fix ap_mpm_set_max_mem_free declaration to match mpm_common.c

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

22 years agoAdd missing declarations of the new max_mem_free stuff
Brian Pane [Thu, 4 Jul 2002 17:54:49 +0000 (17:54 +0000)]
Add missing declarations of the new max_mem_free stuff
so prefork will compile

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

22 years agoRe-use the same temp brigade to read all lines of a request header,
Brian Pane [Thu, 4 Jul 2002 17:05:25 +0000 (17:05 +0000)]
Re-use the same temp brigade to read all lines of a request header,
to avoid the overhead of brigade creation and deletion.  (This produced
a 5% reduction in the total CPU usage of a minimalist httpd configuration:
<JHEPKCEMGPKFFDHHDDKDMELFEKAA.bill@wstoddard.com>)

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

22 years agoNow why did I commit that symbolic constant in APR again? Exactly...
Sander Striker [Thu, 4 Jul 2002 15:24:01 +0000 (15:24 +0000)]
Now why did I commit that symbolic constant in APR again?  Exactly...
to use it here.

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

22 years agoAdd a new directive: MaxMemFree. MaxMemFree makes it possible
Sander Striker [Thu, 4 Jul 2002 15:20:54 +0000 (15:20 +0000)]
Add a new directive: MaxMemFree.  MaxMemFree makes it possible
to configure the maximum amount of memory the allocators will
hold on to for reuse.  Anything over the MaxMemFree threshold
will be free()d.  This directive is usefull when uncommon large
peaks occur in memory usage.  It should _not_ be used to mask
defective modules' memory use.

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

22 years agoMake the mime types configuration file path relative to {sysconfdir},
Sander Striker [Thu, 4 Jul 2002 15:08:40 +0000 (15:08 +0000)]
Make the mime types configuration file path relative to {sysconfdir},
just like the other config files.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 4 Jul 2002 09:20:59 +0000 (09:20 +0000)]
New Japanese translation.

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

22 years agoFix typo.
Yoshiki Hayashi [Thu, 4 Jul 2002 09:14:27 +0000 (09:14 +0000)]
Fix typo.

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

22 years agoFix typo.
Yoshiki Hayashi [Thu, 4 Jul 2002 09:13:19 +0000 (09:13 +0000)]
Fix typo.

Submitted by: Nobuyuki Morita <marika@plum.freemail.ne.jp>

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

22 years agoBump up revision.
Yoshiki Hayashi [Thu, 4 Jul 2002 09:05:25 +0000 (09:05 +0000)]
Bump up revision.

Submitted by: Hiroaki KAWAI <hawk@bcl.t.u-tokyo.ac.jp>

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

22 years ago Fix a const'ness conflict.
William A. Rowe Jr [Wed, 3 Jul 2002 00:17:40 +0000 (00:17 +0000)]
  Fix a const'ness conflict.

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

22 years agonote the C-L filter fix
Cliff Woolley [Tue, 2 Jul 2002 23:54:07 +0000 (23:54 +0000)]
note the C-L filter fix

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

22 years agoFix C-L filter non-blocking-mode brokenness. It was failing to ever
Cliff Woolley [Tue, 2 Jul 2002 23:51:21 +0000 (23:51 +0000)]
Fix C-L filter non-blocking-mode brokenness.  It was failing to ever
read from pipe/socket buckets again if it got APR_EAGAIN from them
due to its use of APR_BRIGADE_FOREACH.

Submitted by: the gang on IRC

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

22 years agoRemove unused variable 'str'.
Justin Erenkrantz [Tue, 2 Jul 2002 22:31:05 +0000 (22:31 +0000)]
Remove unused variable 'str'.

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

22 years agoUse the apr_file_copy function rather than doing a system call to copy
Justin Erenkrantz [Tue, 2 Jul 2002 22:19:13 +0000 (22:19 +0000)]
Use the apr_file_copy function rather than doing a system call to copy
the file.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agofound wasn't getting incremented when we update an exisiting record, thus
Justin Erenkrantz [Tue, 2 Jul 2002 22:15:39 +0000 (22:15 +0000)]
found wasn't getting incremented when we update an exisiting record, thus
an additional new record was getting created.

Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Justin Erenkrantz

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

22 years agofix some mispellings of the word privileges
Jeff Trawick [Tue, 2 Jul 2002 21:51:24 +0000 (21:51 +0000)]
fix some mispellings of the word privileges

PR:             10424
Submitted by: Jens Kubieziel
Reviewed by: Jeff Trawick

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

22 years agoOptimized the addition of the core output filter
Brian Pane [Tue, 2 Jul 2002 21:40:13 +0000 (21:40 +0000)]
Optimized the addition of the core output filter

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

22 years agoReplaced ap_add_input_filter() call with cheaper ap_add_input_filter_handle()
Brian Pane [Tue, 2 Jul 2002 21:35:19 +0000 (21:35 +0000)]
Replaced ap_add_input_filter() call with cheaper ap_add_input_filter_handle()

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

22 years agohtpasswd needs to add a newline at the end of each record.
Ryan Bloom [Tue, 2 Jul 2002 19:48:38 +0000 (19:48 +0000)]
htpasswd needs to add a newline at the end of each record.
PR: 10422
Submitted by: Thom May [thom@planetarytramp.net]

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

22 years ago Never trust Bill when he cuts and pastes
William A. Rowe Jr [Tue, 2 Jul 2002 19:07:48 +0000 (19:07 +0000)]
  Never trust Bill when he cuts and pastes

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

22 years ago A bit more ap_regkey and apr-ization. Fixes some new bugs where the
William A. Rowe Jr [Tue, 2 Jul 2002 19:03:15 +0000 (19:03 +0000)]
  A bit more ap_regkey and apr-ization.  Fixes some new bugs where the
  AP_REGKEY_CREATE flag wasn't passed for ap_regkey_open (when the key
  is expected to not yet exist), and adds the new flags arg to value_set.

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

22 years ago Introduce a _raw_set/_raw_get for regkey values. Takes care of all the
William A. Rowe Jr [Tue, 2 Jul 2002 19:02:00 +0000 (19:02 +0000)]
  Introduce a _raw_set/_raw_get for regkey values.  Takes care of all the
  oddballs, and lets us simplify _array_set/_array_get.

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

22 years ago The pitfalls of cut'n'paste
William A. Rowe Jr [Mon, 1 Jul 2002 20:51:00 +0000 (20:51 +0000)]
  The pitfalls of cut'n'paste

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

22 years agoDocument what the threadpool MPM is
Brian Pane [Mon, 1 Jul 2002 20:24:10 +0000 (20:24 +0000)]
Document what the threadpool MPM is

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

22 years agoDocument what the leader MPM is, for the benefit of anyone who
Brian Pane [Mon, 1 Jul 2002 20:16:51 +0000 (20:16 +0000)]
Document what the leader MPM is, for the benefit of anyone who
stumbles across it in a source distribution

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

22 years ago Using apr_file_write_full() we have less to worry about,
William A. Rowe Jr [Mon, 1 Jul 2002 19:03:03 +0000 (19:03 +0000)]
  Using apr_file_write_full() we have less to worry about,
  and no extra os file handle.

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

22 years ago Eliminate GetModuleFileName()
William A. Rowe Jr [Mon, 1 Jul 2002 18:24:54 +0000 (18:24 +0000)]
  Eliminate GetModuleFileName()

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

22 years ago Remove all the CreateProcess() based code... see the prior commit
William A. Rowe Jr [Mon, 1 Jul 2002 18:22:53 +0000 (18:22 +0000)]
  Remove all the CreateProcess() based code... see the prior commit
  to compare old CP and new APR code side-by-side.

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

22 years ago Replace CreateProcess with properly formed apr threadproc code.
William A. Rowe Jr [Mon, 1 Jul 2002 18:18:31 +0000 (18:18 +0000)]
  Replace CreateProcess with properly formed apr threadproc code.
  Although it's nearly a noop (except that we handle i18n paths that
  translate into Unicode), I'm committing both so that they can be
  compared.  Use this version to eyeball bit for bit what has changed.

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

22 years ago Bring in os.h after we let apr do its platform foo.
William A. Rowe Jr [Mon, 1 Jul 2002 17:49:53 +0000 (17:49 +0000)]
  Bring in os.h after we let apr do its platform foo.

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

22 years ago Add ap_os_proc_filepath and clean up the win32/os.h file structure.
William A. Rowe Jr [Mon, 1 Jul 2002 17:48:47 +0000 (17:48 +0000)]
  Add ap_os_proc_filepath and clean up the win32/os.h file structure.

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

22 years agoMake security notes consistant with apache-1.3/src/CHANGES
Mark J. Cox [Mon, 1 Jul 2002 12:36:50 +0000 (12:36 +0000)]
Make security notes consistant with apache-1.3/src/CHANGES
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agofix make install to stop passing make operators to the shell
Jeff Trawick [Mon, 1 Jul 2002 11:44:21 +0000 (11:44 +0000)]
fix make install to stop passing make operators to the shell

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

22 years agoOptimization for ap_rgetline_core(): When "folding" mode is enabled,
Brian Pane [Mon, 1 Jul 2002 05:05:51 +0000 (05:05 +0000)]
Optimization for ap_rgetline_core(): When "folding" mode is enabled,
clear and re-use the temporary brigade rather than destroying it
and creating a new one

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

22 years agoRemove my address for sending comments to, since comments are no longer
Marc Slemko [Mon, 1 Jul 2002 03:11:47 +0000 (03:11 +0000)]
Remove my address for sending comments to, since comments are no longer
of any real use.

While I'm at it, fix some misformatting that was apparently introduced
when converting it to XHTML.

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

22 years agoGet the perchild MPM starting different child processes with different
Ryan Bloom [Sun, 30 Jun 2002 21:59:50 +0000 (21:59 +0000)]
Get the perchild MPM starting different child processes with different
users and groups.  It doesn't pass requests between child processes yet.

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

22 years agoReplaced APR_USEC_PER_SEC division with apr_time_sec macro
Brian Pane [Sun, 30 Jun 2002 18:20:13 +0000 (18:20 +0000)]
Replaced APR_USEC_PER_SEC division with apr_time_sec macro

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

22 years agoReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
Brian Pane [Sun, 30 Jun 2002 04:30:41 +0000 (04:30 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

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

22 years agoReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
Brian Pane [Sun, 30 Jun 2002 03:53:32 +0000 (03:53 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

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

22 years agoPunctuation tweaks.
Chris Pepper [Sun, 30 Jun 2002 03:48:13 +0000 (03:48 +0000)]
Punctuation tweaks.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

22 years agoReplaced APR_USEC_PER_SEC division with the new apr_time_sec() macro
Brian Pane [Sun, 30 Jun 2002 03:46:56 +0000 (03:46 +0000)]
Replaced APR_USEC_PER_SEC division with the new apr_time_sec() macro

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

22 years agoI got sick of the error messages from copying the header files. This
Ryan Bloom [Sat, 29 Jun 2002 22:58:27 +0000 (22:58 +0000)]
I got sick of the error messages from copying the header files.  This
removes all of the error messages.

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

22 years agoPreserve existing installation directories. We copy over binaries,
Ryan Bloom [Sat, 29 Jun 2002 16:24:35 +0000 (16:24 +0000)]
Preserve existing installation directories.  We copy over binaries,
the build directory, the headers, and the man pages.  Everything else,
the config, htdocs, manual, error, icons, and cgi directories are
not installed if the directories already exist.  I got sick of having
to re-edit printenv for my tests, and this is the same logic 1.3 used.

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

22 years agoAdd autom4te.cache to cvsignore files.
Justin Erenkrantz [Sat, 29 Jun 2002 07:39:12 +0000 (07:39 +0000)]
Add autom4te.cache to cvsignore files.

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

22 years agoJust one more showstopper on my list and I'm not sure we can do anything
Justin Erenkrantz [Fri, 28 Jun 2002 20:16:26 +0000 (20:16 +0000)]
Just one more showstopper on my list and I'm not sure we can do anything
about this one in 2.0 due to required handler changes...

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

22 years ago Prevent us from getting stuck in a NULL provider hash.
William A. Rowe Jr [Fri, 28 Jun 2002 16:08:22 +0000 (16:08 +0000)]
  Prevent us from getting stuck in a NULL provider hash.
  Reported by: Sebastian Bergmann

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

22 years agoAdd a filter_init function to the filters so that a filter can execute
Justin Erenkrantz [Fri, 28 Jun 2002 08:40:25 +0000 (08:40 +0000)]
Add a filter_init function to the filters so that a filter can execute
arbitrary code before the handlers are invoked.

This resolves an issue with incorrect 304s on If-Modified-Since mod_include
requests since ap_meets_conditions() is not aware that this is a dynamic
request and it is not possible to satisfy 304 for these requests (unless
xbithack full is on, of course).  When mod_include runs as a filter, it is
too late to set any flag since the handler is responsible for calling
ap_meets_conditions(), which it should do before generating any data.

If a module doesn't need to run such arbitrary code, it can just pass NULL
as the argument and all is well.

PR: 9673
Reviewed by: Ryan Bloom and others

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

22 years ago:(
Jeff Trawick [Thu, 27 Jun 2002 21:06:18 +0000 (21:06 +0000)]
:(

(and if somebody can figure out how to build APR today, my hat is off
to them)

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

22 years agoI've had these for over a week but finally got around to signing them.
Aaron Bannert [Thu, 27 Jun 2002 20:56:13 +0000 (20:56 +0000)]
I've had these for over a week but finally got around to signing them.

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

22 years agofix compile breakage with IBM's xlc compiler caused by the
Jeff Trawick [Thu, 27 Jun 2002 10:47:49 +0000 (10:47 +0000)]
fix compile breakage with IBM's xlc compiler caused by the
attempt to lose const on progname

strrchr was not the real library function that takes a
const parameter; instead, strrchr was the Apache macro which
makes it clear that const will be lost

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

22 years agoFix a long-standing bug in 2.0, CGI scripts were being called
Ryan Bloom [Thu, 27 Jun 2002 06:07:58 +0000 (06:07 +0000)]
Fix a long-standing bug in 2.0, CGI scripts were being called
with relative paths instead of absolute paths.  Apache 1.3 used
absolute paths for everything except for SuExec, this brings back
that standard.

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

22 years agoFix doxygen comments and add a missing line-feed.
Justin Erenkrantz [Thu, 27 Jun 2002 05:32:20 +0000 (05:32 +0000)]
Fix doxygen comments and add a missing line-feed.

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

22 years agoStrengthen error-detection code in HTTP_IN and core_input_filter so that
Justin Erenkrantz [Thu, 27 Jun 2002 05:18:19 +0000 (05:18 +0000)]
Strengthen error-detection code in HTTP_IN and core_input_filter so that
invalid readbytes or errors reading brigades are properly handled.

Reviewed by: Brian Pane

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

22 years ago- Fix segfault in core_output_filter when we are passed an empty brigade.
Justin Erenkrantz [Thu, 27 Jun 2002 05:00:23 +0000 (05:00 +0000)]
- Fix segfault in core_output_filter when we are passed an empty brigade.
- Stash the remainder of the brigade in more when we see a flush bucket.
  Previous to this commit, we would only process the buckets before the
  flush on a HTTP/1.0 request and then return.

We are proably only finding this now since we now correctly check for
keepalive connection status.

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

22 years agoFix infinite loop when reading certain data due to two HTTP_IN filters being
Justin Erenkrantz [Thu, 27 Jun 2002 04:40:47 +0000 (04:40 +0000)]
Fix infinite loop when reading certain data due to two HTTP_IN filters being
present for internally redirected requests.

If HTTP_IN is present, r->proto_input_filters would have it, so adding it
twice is wrong.

PR: 10146
Reviewed by: Brian Pane

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

22 years ago Doxygenate the rest of this header. Had I not overlooked the #ifdef WIN32
William A. Rowe Jr [Thu, 27 Jun 2002 03:54:50 +0000 (03:54 +0000)]
  Doxygenate the rest of this header.  Had I not overlooked the #ifdef WIN32
  I probably wouldn't have had any issues parking this file in httpd/include

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

22 years agoRe-architected the select()/accept() loop to allow all threads to rely on select...
Bradley Nicholes [Wed, 26 Jun 2002 21:53:25 +0000 (21:53 +0000)]
Re-architected the select()/accept() loop to allow all threads to rely on select() to
signal when data is ready rather than only allowing a single thread at a time to
be signaled by select().  This allows Apache to pull the requests off of the
listen queue as fast as winsock will allow without latency introduced by the
accept mutex.

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

22 years agoadd another example filter, try to clarify how parameters to the filter
Jeff Trawick [Wed, 26 Jun 2002 19:54:53 +0000 (19:54 +0000)]
add another example filter, try to clarify how parameters to the filter
program are specified

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

22 years agoChange conn_rec->keepalive to an enumerated value of
Justin Erenkrantz [Wed, 26 Jun 2002 19:45:07 +0000 (19:45 +0000)]
Change conn_rec->keepalive to an enumerated value of

AP_CONN_UNKNOWN
AP_CONN_CLOSE
AP_CONN_KEEPALIVE

This also fixes a problem where ap_discard_request_body would not discard
the body when keepalive was 0.  This actually meant the keepalive status
was unknown *not* closed, but no one ever remembered that.

This problem was seen with mod_dav sending error responses (as reported by
Karl Fogel).

Suggested by: Greg "this isn't the '80s" Stein
Reviewed by: Greg Ames

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