]> granicus.if.org Git - apache/log
apache
22 years agoGeneral make file for building the filter modules
Bradley Nicholes [Tue, 4 Jun 2002 19:50:40 +0000 (19:50 +0000)]
General make file for building the filter modules

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

22 years agoUpdate comments for Stas Bekman
Bill Stoddard [Tue, 4 Jun 2002 19:01:05 +0000 (19:01 +0000)]
Update comments for Stas Bekman

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

22 years agoAllow ap_discard_request_body to be called multiple times in the
Ryan Bloom [Tue, 4 Jun 2002 18:50:13 +0000 (18:50 +0000)]
Allow ap_discard_request_body to be called multiple times in the
same request.  Essentially, ap_http_filter keeps track of whether
it has sent an EOS bucket up the stack, if so, it will only ever
send an EOS bucket for this request.

Submitted by: Ryan Bloom, Justin Erenkrantz, Greg Stein

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

22 years agoSave request_time and response_time in the info struct
Bill Stoddard [Tue, 4 Jun 2002 17:30:59 +0000 (17:30 +0000)]
Save request_time and response_time in the info struct

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

22 years agoThe style police have arrested mod_alias on charges of violating law and
Justin Erenkrantz [Tue, 4 Jun 2002 16:47:10 +0000 (16:47 +0000)]
The style police have arrested mod_alias on charges of violating law and
order.  It has been released after submitting to rehabilitation.
(No functional changes.)

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

22 years agoRemove all special mod_ssl URIs. This also fixes the bug where
Ryan Bloom [Tue, 4 Jun 2002 07:12:26 +0000 (07:12 +0000)]
Remove all special mod_ssl URIs.  This also fixes the bug where
redirecting (.*) will allow an SSL protected page to be viewed
without SSL.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Tue, 4 Jun 2002 06:37:01 +0000 (06:37 +0000)]
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@95500 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd missing right parenthesis.
Yoshiki Hayashi [Tue, 4 Jun 2002 06:18:52 +0000 (06:18 +0000)]
Add missing right parenthesis.

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

22 years ago Feedback appreciated - I'm guessing that we can trust the isapi app
William A. Rowe Jr [Tue, 4 Jun 2002 02:21:36 +0000 (02:21 +0000)]
  Feedback appreciated - I'm guessing that we can trust the isapi app
  opened file handles correctly for the TransmitFile case.

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

22 years ago The only remaining question ... are nested or strictly unnested locks
William A. Rowe Jr [Tue, 4 Jun 2002 02:19:33 +0000 (02:19 +0000)]
  The only remaining question ... are nested or strictly unnested locks
  expected by OpenSSL?  Right now I've left it as _DEFAULT for the platform
  preference.  Very simple code really - the server_rec was superfluous.

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

22 years agodemote the hpux problem since there's an easy workaround
Cliff Woolley [Mon, 3 Jun 2002 22:10:58 +0000 (22:10 +0000)]
demote the hpux problem since there's an easy workaround
add more status updates on the two biggies

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

22 years agoForgot to add cgi_module to the release build
Bradley Nicholes [Mon, 3 Jun 2002 18:53:16 +0000 (18:53 +0000)]
Forgot to add cgi_module to the release build

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

22 years agomake a note about an issue listed as a showstopper
Jeff Trawick [Mon, 3 Jun 2002 18:14:44 +0000 (18:14 +0000)]
make a note about an issue listed as a showstopper

even with no change, user can --disable-threads so I wonder if
this should really be a showstopper; it would be nice to get
feedback from the user on my patch

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

22 years ago--funky_build_issues
Jeff Trawick [Mon, 3 Jun 2002 18:07:36 +0000 (18:07 +0000)]
--funky_build_issues

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

22 years agoFix the binary build install script so that the build logic
Jeff Trawick [Mon, 3 Jun 2002 18:06:26 +0000 (18:06 +0000)]
Fix the binary build install script so that the build logic
created by "apxs -g" will work when the user has a binary
build.

We didn't copy enough of the build directory and we edited
the wrong version of config_vars.mk.

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

22 years agofix a major snafu that broke binary builds
Jeff Trawick [Mon, 3 Jun 2002 16:31:43 +0000 (16:31 +0000)]
fix a major snafu that broke binary builds

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

22 years agoOn OS/390, the compiler/linker front-end doesn't handle
Jeff Trawick [Mon, 3 Jun 2002 15:25:11 +0000 (15:25 +0000)]
On OS/390, the compiler/linker front-end doesn't handle
"-L/path/to/lib after "-o target".  After looking into build failures,
it turned out that we specify EXTRA_LDFLAGS twice (once before "-o
target" and once after "-o target") for httpd and for the support
utilities.

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

22 years agoStyle police come before the code police.
Justin Erenkrantz [Mon, 3 Jun 2002 07:53:42 +0000 (07:53 +0000)]
Style police come before the code police.
(No functional changes.)

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

22 years agoproxy showstopper
Brian Pane [Sun, 2 Jun 2002 22:44:11 +0000 (22:44 +0000)]
proxy showstopper

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

22 years agoThe recent changes require a full recompile. Lack thereof has bitten
Cliff Woolley [Sun, 2 Jun 2002 22:29:16 +0000 (22:29 +0000)]
The recent changes require a full recompile.  Lack thereof has bitten
both me and Justin today.

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

22 years agoPropogate apr-util change
Cliff Woolley [Sun, 2 Jun 2002 20:19:54 +0000 (20:19 +0000)]
Propogate apr-util change

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

22 years agoThis has been resolved, but it never should have been added to this file.
Ryan Bloom [Sun, 2 Jun 2002 19:55:41 +0000 (19:55 +0000)]
This has been resolved, but it never should have been added to this file.
This was an issue for APR/APR-Util, not httpd.

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

22 years agoOutstanding veto: the metadata flag should be per-type not per-bucket.
Justin Erenkrantz [Sun, 2 Jun 2002 18:02:50 +0000 (18:02 +0000)]
Outstanding veto: the metadata flag should be per-type not per-bucket.

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

22 years agoUpdate transformations.
Joshua Slive [Sun, 2 Jun 2002 15:48:38 +0000 (15:48 +0000)]
Update transformations.

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

22 years agoSimplify the worker mpm docs a little.
Joshua Slive [Sun, 2 Jun 2002 15:47:38 +0000 (15:47 +0000)]
Simplify the worker mpm docs a little.

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

22 years agoToo much garbage in the summary. Just put there what "Joe Average User" needs
Joshua Slive [Sun, 2 Jun 2002 15:28:08 +0000 (15:28 +0000)]
Too much garbage in the summary.  Just put there what "Joe Average User" needs
to know.

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

22 years agoIMHO, known HTTP protocol violations fall under showstopper.
Justin Erenkrantz [Sun, 2 Jun 2002 09:13:43 +0000 (09:13 +0000)]
IMHO, known HTTP protocol violations fall under showstopper.

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

22 years agoUse the basename of the dso file rather than assuming it does not include
Justin Erenkrantz [Sun, 2 Jun 2002 08:54:04 +0000 (08:54 +0000)]
Use the basename of the dso file rather than assuming it does not include
a directory in it.

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

22 years agoadded a suggestion on one of the showstoppers
Brian Pane [Sun, 2 Jun 2002 06:16:20 +0000 (06:16 +0000)]
added a suggestion on one of the showstoppers

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

22 years agoUpdated the introduction to reflect 2.0
Brian Pane [Sun, 2 Jun 2002 05:29:14 +0000 (05:29 +0000)]
Updated the introduction to reflect 2.0

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

22 years agoRemoved the section about 1.3-specific patches (fortunately, most
Brian Pane [Sun, 2 Jun 2002 04:35:56 +0000 (04:35 +0000)]
Removed the section about 1.3-specific patches (fortunately, most
of the optimizations in these patches are included by default in 2.0)

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

22 years agoUpdated the section on OS configuration to cover some 2.0 issues
Brian Pane [Sun, 2 Jun 2002 03:34:54 +0000 (03:34 +0000)]
Updated the section on OS configuration to cover some 2.0 issues

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

22 years agoAdded a reference to the EnableMMAP documentation for the
Brian Pane [Sun, 2 Jun 2002 03:02:14 +0000 (03:02 +0000)]
Added a reference to the EnableMMAP documentation for the
performance tuning details

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

22 years agoUse directive tags on directives, rather than code tags.
Richard Bowen [Sun, 2 Jun 2002 02:27:07 +0000 (02:27 +0000)]
Use directive tags on directives, rather than code tags.

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

22 years agoClose the <proxy> container properly.
Joshua Slive [Sat, 1 Jun 2002 01:42:45 +0000 (01:42 +0000)]
Close the <proxy> container properly.

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

22 years agoSwitched to using atomic operations for tracking the active threads rather
Bradley Nicholes [Fri, 31 May 2002 22:16:04 +0000 (22:16 +0000)]
Switched to using atomic operations for tracking the active threads rather
than having to lock and unlock a mutex.

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

22 years ago A few more unused/unnecessary variables and surpress an uninitialized
William A. Rowe Jr [Fri, 31 May 2002 21:33:24 +0000 (21:33 +0000)]
  A few more unused/unnecessary variables and surpress an uninitialized
  value warning.

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

22 years agoadd 2 new enviornment variables to deal with misbehaving backends
Ian Holsman [Fri, 31 May 2002 21:21:10 +0000 (21:21 +0000)]
add 2 new enviornment variables to deal with misbehaving backends
"proxy-nokeepalive" which removes the Connection: line completely
"force-proxy-request-1.0" which forces the request to be HTTP/1.0
this allows apache to reverse proxy misbehaving appservers

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

22 years ago Clean up new compiler emit noise
William A. Rowe Jr [Fri, 31 May 2002 21:01:58 +0000 (21:01 +0000)]
  Clean up new compiler emit noise

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

22 years agoThe apr_bucket change requires a minor MMN bump. Also modify Apache's
Ryan Bloom [Fri, 31 May 2002 20:52:28 +0000 (20:52 +0000)]
The apr_bucket change requires a minor MMN bump.  Also modify Apache's
filters to use APR_BUCKET_IS_METADATA macro.

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

22 years agoif we autoindex, discard the request body and check for any
Jeff Trawick [Fri, 31 May 2002 20:50:14 +0000 (20:50 +0000)]
if we autoindex, discard the request body and check for any
errors doing so

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

22 years agoIf the request doesn't have a body, then don't try to read it. Without
Ryan Bloom [Fri, 31 May 2002 20:41:06 +0000 (20:41 +0000)]
If the request doesn't have a body, then don't try to read it.  Without
this, the httpd-test suite was taking five minutes for EVERY test.

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

22 years ago Enable SSL negotation in ab.c. It is that, or remove all the entirely
William A. Rowe Jr [Fri, 31 May 2002 19:26:20 +0000 (19:26 +0000)]
  Enable SSL negotation in ab.c.  It is that, or remove all the entirely
  BOGUS ssl config options from ab.c.  If it works, nifty, if not, we now
  have directives that have some effect, rather than no effect, for SSL.

Submitted by: Madhu Mathihalli <madhusudan_mathihalli@hp.com>

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

22 years agoFixed the @exp_cgidir@ replacement value so that it resolves to the correct
Bradley Nicholes [Fri, 31 May 2002 17:52:51 +0000 (17:52 +0000)]
Fixed the @exp_cgidir@ replacement value so that it resolves to the correct
location when the AWK file generates the default httpd.conf file for NetWare.

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

22 years agoAdded mod_cgi and mod_netware to the NetWare make files.
Bradley Nicholes [Fri, 31 May 2002 17:51:24 +0000 (17:51 +0000)]
Added mod_cgi and mod_netware to the NetWare make files.

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

22 years agoFinally able to add real CGI functionality on NetWare
Bradley Nicholes [Fri, 31 May 2002 17:23:26 +0000 (17:23 +0000)]
Finally able to add real CGI functionality on NetWare

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

22 years ago Well, know that I'm aware that the ssl stuff was entirely premature, it's
William A. Rowe Jr [Fri, 31 May 2002 17:22:58 +0000 (17:22 +0000)]
  Well, know that I'm aware that the ssl stuff was entirely premature, it's
  still worth committing the correct code to handle the port number.

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

22 years agoImplemented ap_os_create_privileged_process() for NetWare which simply maps to
Bradley Nicholes [Fri, 31 May 2002 17:17:40 +0000 (17:17 +0000)]
Implemented ap_os_create_privileged_process() for NetWare which simply maps to
apr_proc_create()

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

22 years agoAdded mod_cgi and mod_netware as built in module in the NetWare build
Bradley Nicholes [Fri, 31 May 2002 17:16:09 +0000 (17:16 +0000)]
Added mod_cgi and mod_netware as built in module in the NetWare build

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

22 years agoAdded mod_cgi and mod_netware to the build project
Bradley Nicholes [Fri, 31 May 2002 17:15:05 +0000 (17:15 +0000)]
Added mod_cgi and mod_netware to the build project

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

22 years agoFix segfault when x hasn't been initialized and tighten its scope.
Justin Erenkrantz [Fri, 31 May 2002 16:59:13 +0000 (16:59 +0000)]
Fix segfault when x hasn't been initialized and tighten its scope.

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

22 years ago Locks are good, provide locks. ab -s -c >1 is [was?] dying on Win32
William A. Rowe Jr [Fri, 31 May 2002 16:31:29 +0000 (16:31 +0000)]
  Locks are good, provide locks.  ab -s -c >1 is [was?] dying on Win32
  while -s -c 1 works just fine.  Still investigating.

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

22 years agoFix typo.
Yoshiki Hayashi [Fri, 31 May 2002 10:53:54 +0000 (10:53 +0000)]
Fix typo.

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

22 years agowe should be copying over all metadata buckets we don't understand, not
Cliff Woolley [Fri, 31 May 2002 07:43:22 +0000 (07:43 +0000)]
we should be copying over all metadata buckets we don't understand, not
just error buckets.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Fri, 31 May 2002 07:38:49 +0000 (07:38 +0000)]
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@95427 13f79535-47bb-0310-9956-ffa450edef68

22 years agoFix the case where we generate both a 401 and 413 and we go bonkers.
Justin Erenkrantz [Fri, 31 May 2002 07:37:19 +0000 (07:37 +0000)]
Fix the case where we generate both a 401 and 413 and we go bonkers.

- If an error would drop the connection, we do not return the top-level
  error anymore as we will assume this new one takes precedence over the
  original error.  This also ensures that we will not read the input
  body (which is the point of returning these special error messages in
  the first place).
- The ap_discard_request_body return value in ap_die() must be checked
  to make sure we don't encounter this recursive case and print two errors.

Kudos to Jeff Trawick for his sample input which pointed this out.

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

22 years agoJudging from the example below, this sentence has one too many negative in it.
Yoshiki Hayashi [Fri, 31 May 2002 07:31:09 +0000 (07:31 +0000)]
Judging from the example below, this sentence has one too many negative in it.
Also fix what I believe is a typo.

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

22 years agoFix the case where if there is no ErrorDocument specified for an error,
Justin Erenkrantz [Fri, 31 May 2002 07:19:04 +0000 (07:19 +0000)]
Fix the case where if there is no ErrorDocument specified for an error,
the error would be sent to the client *twice* because both the filter
and the core would trigger error responses.

The problem is that the filters have already handled some errors (say 413)
and due to the ap_get_client_block API, the error was morphed into 400.
Therefore, ap_discard_request_body must use brigades directly rather than
the ap_get_client_block API so that any potential errors are not dropped.

The special value AP_FILTER_ERROR indicates that the lower level has
already dealt with this problem (ap_die() will realize this).  Otherwise,
we'll error with HTTP_BAD_REQUEST and ap_die() will take it from there.

This also prevents needless memory copies when we are just going to
discard it anyway.

Thanks to Cliff Woolley who found this wacky problem.

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

22 years agoitems_to_fix--;
Justin Erenkrantz [Fri, 31 May 2002 05:23:26 +0000 (05:23 +0000)]
items_to_fix--;
cliff++;  (Cliff rocks for picking up after my mess and fixing this.)

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

22 years agofix some major badness: error buckets *cannot* use simple_copy because
Cliff Woolley [Fri, 31 May 2002 05:03:09 +0000 (05:03 +0000)]
fix some major badness: error buckets *cannot* use simple_copy because
they're not simple buckets.  they have a private data structure which
gets freed.  if you're going to copy them and share whatever ->data points
to (which is what simple_copy does), you have to refcount the structure,
which is the whole point of apr_bucket_refcount and apr_bucket_shared_copy.

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

22 years agoRemoving mod_bucketeer from the output filters seems to be the cure. Why?
Justin Erenkrantz [Fri, 31 May 2002 00:59:56 +0000 (00:59 +0000)]
Removing mod_bucketeer from the output filters seems to be the cure.  Why?
So, this isn't a showstopper since no one will enable bucketeer in
production.

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

22 years agoThis fixes a failed assert when r->remaining is left in a negative
Aaron Bannert [Fri, 31 May 2002 00:23:34 +0000 (00:23 +0000)]
This fixes a failed assert when r->remaining is left in a negative
state and we hit some other error (like permission failure) causing
an internal redirect causing us to reevaluate the input buffers
(for discarding the request body).

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

22 years agoThis should have remained cleanup not a re-creation.
Justin Erenkrantz [Thu, 30 May 2002 23:27:15 +0000 (23:27 +0000)]
This should have remained cleanup not a re-creation.

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

22 years agoshowstoppers++; (groan)
Justin Erenkrantz [Thu, 30 May 2002 23:17:23 +0000 (23:17 +0000)]
showstoppers++;  (groan)

I need to step away from this for a half hour or so because I'm
completely confused as to how we are even getting in this state.

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

22 years ago- Fix case where the initial chunk length was 0 was not handled correctly.
Justin Erenkrantz [Thu, 30 May 2002 23:13:16 +0000 (23:13 +0000)]
- Fix case where the initial chunk length was 0 was not handled correctly.
- Fix bucket lifetimes so that they don't live longer than their brigades.
  That's not nice.
- Simplify some usage of f->r->connection to f->c in the bucket creation
  calls.

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

22 years agoThis definitely gets the award for least useful error message of the month.
Cliff Woolley [Thu, 30 May 2002 22:39:08 +0000 (22:39 +0000)]
This definitely gets the award for least useful error message of the month.

Not only should it just say "can't do that on win32," which is after all
the bottom line, it was spitting out openssl error messages which were
totally useless.  Eg:

[30/May/2002 17:31:17 05760] [error] Init: PassPhraseDialog BuiltIn not
supported in server private key from file
F:/Apache/Apache2/conf/ssl/secure.key (OpenSSL library error follows)
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D084069:asn1
encoding routines:d2i_ASN1_SET:bad tag
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D09D082:asn1
encoding routines:d2i_RSAPrivateKey:parsing
[30/May/2002 17:31:17 05760] [error] OpenSSL: error:0D09B00D:asn1
encoding routines:d2i_PrivateKey:ASN1 lib

Which is essentially saying "OpenSSL couldn't read your private key because
it was encrypted, and we can't get the passphrase the way you asked us to
on this platform."

Brought to my attention by the inquiry of:  Chris Hsiang <chsiang@ivivos.com>

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

22 years agoWhy the stack buffer and the copy? This seems much more straightforward.
Cliff Woolley [Thu, 30 May 2002 22:06:01 +0000 (22:06 +0000)]
Why the stack buffer and the copy?  This seems much more straightforward.

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

22 years agomod_bucketeer needs to preserve error buckets if it sees them rather
Justin Erenkrantz [Thu, 30 May 2002 21:10:19 +0000 (21:10 +0000)]
mod_bucketeer needs to preserve error buckets if it sees them rather
than silently discarding them.

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

22 years agoLet the error bucket implement the simple copy routine.
Justin Erenkrantz [Thu, 30 May 2002 21:09:23 +0000 (21:09 +0000)]
Let the error bucket implement the simple copy routine.

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

22 years agoAdd macro to check for an error bucket. (Can't call it APR_BUCKET_IS_ERROR
Justin Erenkrantz [Thu, 30 May 2002 21:08:21 +0000 (21:08 +0000)]
Add macro to check for an error bucket.  (Can't call it APR_BUCKET_IS_ERROR
since error bucket is private to httpd - hence the AP_ prefix.)

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

22 years agosome comments after testing "apxs -g" from a 2.0.36 binbuild
Jeff Trawick [Thu, 30 May 2002 20:20:30 +0000 (20:20 +0000)]
some comments after testing "apxs -g" from a 2.0.36 binbuild

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

22 years ago Based on DougM's feedback to the list...
William A. Rowe Jr [Thu, 30 May 2002 19:19:20 +0000 (19:19 +0000)]
  Based on DougM's feedback to the list...

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

22 years ago Apparently Roy missed this comment. Rephrase as a seperate paragraph
William A. Rowe Jr [Thu, 30 May 2002 18:50:43 +0000 (18:50 +0000)]
  Apparently Roy missed this comment.  Rephrase as a seperate paragraph
  to more clearly split credit for OpenSSL from credit for mod_ssl.

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

22 years ago Split out the LAYOUT
William A. Rowe Jr [Thu, 30 May 2002 18:17:16 +0000 (18:17 +0000)]
  Split out the LAYOUT

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

22 years ago As we find the right places for this content, move them out in bits
William A. Rowe Jr [Thu, 30 May 2002 17:37:54 +0000 (17:37 +0000)]
  As we find the right places for this content, move them out in bits

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

22 years agoclear up some warnings about unused variables
Ian Holsman [Thu, 30 May 2002 16:34:38 +0000 (16:34 +0000)]
clear up some warnings about unused variables

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

22 years ago Thanks for verifying these are valid, Doug. Now this [much shorter]
William A. Rowe Jr [Thu, 30 May 2002 16:00:28 +0000 (16:00 +0000)]
  Thanks for verifying these are valid, Doug.  Now this [much shorter]
  list should be living in our STATUS file.  Question of module maps
  and file layout is already off to the list.

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

22 years agoA tiny bit more clarification of _default_.
Joshua Slive [Thu, 30 May 2002 13:26:08 +0000 (13:26 +0000)]
A tiny bit more clarification of _default_.

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

22 years agoToo many people seem to try to use _default_ with name-virtual hosts.
Joshua Slive [Thu, 30 May 2002 13:18:54 +0000 (13:18 +0000)]
Too many people seem to try to use _default_ with name-virtual hosts.
Maybe this will help?

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

22 years agokeep the signed-ness of char buffers consistent with what is expected
Jeff Trawick [Thu, 30 May 2002 11:00:42 +0000 (11:00 +0000)]
keep the signed-ness of char buffers consistent with what is expected
by functions they are passed to (putLong() this time)

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

22 years agoUnroll the putLong and getLong loops and correct putLong's input param type to
Justin Erenkrantz [Thu, 30 May 2002 08:32:09 +0000 (08:32 +0000)]
Unroll the putLong and getLong loops and correct putLong's input param type to
be unsigned char* instead of char*.

Submitted by: Sander Striker
Reviewed by: Justin Erenkrantz

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

22 years agoUpdate Japanese translation.
Yoshiki Hayashi [Thu, 30 May 2002 07:53:10 +0000 (07:53 +0000)]
Update Japanese translation.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 30 May 2002 07:51:47 +0000 (07:51 +0000)]
New Japanese translation.

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

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

22 years agoSwitch mod_proxy to using the brigade/filter calls directly rather than
Justin Erenkrantz [Thu, 30 May 2002 07:33:59 +0000 (07:33 +0000)]
Switch mod_proxy to using the brigade/filter calls directly rather than
the *_client_block calls.

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

22 years agoNew Japanese translation. Forward port from 1.3.
Yoshiki Hayashi [Thu, 30 May 2002 07:27:50 +0000 (07:27 +0000)]
New Japanese translation.  Forward port from 1.3.

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

22 years agoNew Japanese translation. Forward port from 1.3.
Yoshiki Hayashi [Thu, 30 May 2002 07:22:08 +0000 (07:22 +0000)]
New Japanese translation.  Forward port from 1.3.

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

22 years agoNew Japanese translation.
Yoshiki Hayashi [Thu, 30 May 2002 07:17:37 +0000 (07:17 +0000)]
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@95391 13f79535-47bb-0310-9956-ffa450edef68

22 years agoAdd a PROXYREQ_RESPONSE value for request_rec->proxyreq because it is
Justin Erenkrantz [Thu, 30 May 2002 07:04:45 +0000 (07:04 +0000)]
Add a PROXYREQ_RESPONSE value for request_rec->proxyreq because it is
possible that there can be different behavior at the protocol level if
request_rec isn't really a request but a response.

This stems from the fact that request bodies must be indicated by
Content-Length or Transfer-Encoding, but response bodies do not.  The
recent change to ap_http_filter to return EOS if there isn't a body broke
proxy.  Therefore, there must be some way for the proxy to indicate that
this is a response.  Accordingly, ap_http_filter can allow the BODY_NONE
iff this is a response.

Since r->proxyreq is set to PROXYREQ_PROXY even for the original request
from the client, that value isn't sufficient.  Hence, the introduction of
PROXYREQ_RESPONSE.

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

22 years ago All rather stale. Any new/remaining issues should be moved to CHANGES
William A. Rowe Jr [Thu, 30 May 2002 06:02:15 +0000 (06:02 +0000)]
  All rather stale.  Any new/remaining issues should be moved to CHANGES
  in the present tense, as opposed to the "Future port to 2.0".  Heh

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

22 years agoImagine the horror. I go to try compiling PHP4, and it bombs out on
Cliff Woolley [Thu, 30 May 2002 05:57:33 +0000 (05:57 +0000)]
Imagine the horror.  I go to try compiling PHP4, and it bombs out on
r->boundary.  BUT WAIT, I say, we have a test in there for that:
#if !MODULE_MAGIC_AT_LEAST(20020506,0).  The test doesn't seem to be
working.  That's odd, I think.  So I go look at the ap_mmn.h.  Egad,
the tests are totally backwards.  How on earth are we going to handle this?
Surely it's wrong in 1.3.x as well.  So I go look.  Nope, turns out it
got fixed TWO YEARS AGO in that repository.  Sigh.  Anyway, thanks Greg.
:)

Submitted by: Greg Stein, circa Apache 1.3.13

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

22 years ago Now a moot issue.
William A. Rowe Jr [Thu, 30 May 2002 05:54:43 +0000 (05:54 +0000)]
  Now a moot issue.

  Isn't it time to just drop "PRs that have been suspended forever waiting
  for someone to put them into 'the next release'" if they have no status?

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

22 years agomod_cgid got hit too with this change
Justin Erenkrantz [Thu, 30 May 2002 05:43:35 +0000 (05:43 +0000)]
mod_cgid got hit too with this change

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

22 years agoApply same patch to mod_cgid that was applied to mod_cgi so that it
Justin Erenkrantz [Thu, 30 May 2002 05:42:46 +0000 (05:42 +0000)]
Apply same patch to mod_cgid that was applied to mod_cgi so that it
bypasses the *_client_block calls in favor of using the input filters
and brigades directly.

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

22 years ago Goodness
William A. Rowe Jr [Thu, 30 May 2002 05:31:20 +0000 (05:31 +0000)]
  Goodness

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

22 years agookay then :)
Cliff Woolley [Thu, 30 May 2002 05:09:24 +0000 (05:09 +0000)]
okay then :)

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

22 years agoYet another reason the MMN needs to get bumped. If there are changes
Cliff Woolley [Thu, 30 May 2002 05:04:32 +0000 (05:04 +0000)]
Yet another reason the MMN needs to get bumped.  If there are changes
that anyone's been holding off on because they would affect the MMN, might
as well get them in now so we minimize the number of releases with MMN
changes.  I believe there are more renames pending in APR that should be
done sooner rather than later, for example.

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

22 years ago Always using -t "Window Title" option myself, so I never caught this.
William A. Rowe Jr [Thu, 30 May 2002 04:47:03 +0000 (04:47 +0000)]
  Always using -t "Window Title" option myself, so I never caught this.

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

22 years ago Four column tabs, no less? Just a formatting fix
William A. Rowe Jr [Thu, 30 May 2002 04:33:51 +0000 (04:33 +0000)]
  Four column tabs, no less?  Just a formatting fix

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

22 years agoA clean prefork build starts up for me on Darwin. Will try with worker later.
Justin Erenkrantz [Thu, 30 May 2002 02:55:56 +0000 (02:55 +0000)]
A clean prefork build starts up for me on Darwin.  Will try with worker later.

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

22 years agoFix some subscriptions and a typo.
Joshua Slive [Thu, 30 May 2002 01:50:04 +0000 (01:50 +0000)]
Fix some subscriptions and a typo.

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