]>
granicus.if.org Git - apache/log
Aaron Bannert [Fri, 5 Apr 2002 20:01:20 +0000 (20:01 +0000)]
Update mod_rewrite to use the new APR global mutex type.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94465
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 19:36:06 +0000 (19:36 +0000)]
With VPATH builds, the httpd.conf-std file is found in the build directory,
not the source directory. Make sure we check both from now on.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94460
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Fri, 5 Apr 2002 18:08:07 +0000 (18:08 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
remove flush bucket from ap_proxy_http_process_response.
this allows for the response content-length header to be properly
calculated/inserted.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94459
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 5 Apr 2002 17:53:45 +0000 (17:53 +0000)]
Document the mod_include fixes from yesterday
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94458
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 17:50:37 +0000 (17:50 +0000)]
This is a HACK! The problem is that the fast_internal_redirect is
removing the OLD_WRITE filter. Obviously that is wrong. For right now,
the fix is to hack around the problem and just make it work. Long term,
we need to find a real solution to this, but this gets autoindex working
today.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94457
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 17:43:03 +0000 (17:43 +0000)]
This fixes the mod_autoindex problem of not getting the list of files.
The problem was that the internal_fast_redirect removed the SUB_REQ
filter, but we are still in a sub_request. The solution is to have the
fast_internal_Redirect function check if we are in a sub_Request and
re-add the filter if we are.
Submitted by: Ryan Bloom, Greg Ames, Jeff Trawick, and Will Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94456
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Fri, 5 Apr 2002 17:22:19 +0000 (17:22 +0000)]
With a cool spin cast...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94455
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 5 Apr 2002 07:44:14 +0000 (07:44 +0000)]
Fix for the boundary case in which each character of an SSI directive
is in a separate bucket...the code in send_parsed_content() doesn't
expect a case where ctx->state==PARSE_DIRECTIVE but ctx->tag_start_buffer
is NULL. So in found_start_sequence(), we set ctx->tag_start_buffer
to point to the next bucket if the end of the <!--# is at the very
end of the current bucket.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94454
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 5 Apr 2002 07:31:44 +0000 (07:31 +0000)]
Get the HTTP-on-HTTPS hint to come through again. We're in AP_MODE_GETLINE
at this point, so the \r\n\r\n just confuses the http input filter.
One concern: this patch is only correct as long as we only ever call this
function while in AP_MODE_GETLINE. Ideally we would account for the mode
and return the newlines if not in GETLINE mode, but at the moment it doesn't
seem to matter.
Reviewed by: Doug MacEachern
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94453
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 5 Apr 2002 07:03:07 +0000 (07:03 +0000)]
Get rid of overlay bogosity by copying the static string to the stack.
This keeps DEBUG_INCLUDE from segfaulting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94451
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Fri, 5 Apr 2002 06:03:30 +0000 (06:03 +0000)]
Remove an invalid comment. (The only way that the bucket will
contain only a single byte is if slen==1, meaning that we've
replaced <!--# with a single-character token, and that character
is the first character in the bucket. If that happens, then
pos+slen (aka 1) is the right amount by which to increase
bytes_parsed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94450
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 5 Apr 2002 05:23:11 +0000 (05:23 +0000)]
Silence an irrelevant gcc warning
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94449
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 5 Apr 2002 05:05:20 +0000 (05:05 +0000)]
Fix variable name typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94448
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 5 Apr 2002 04:22:45 +0000 (04:22 +0000)]
One for 2.0.34 - to fix the problem of utf-8 configuration files saved
from MeSsed up editors that believe zero byte joiner lead bytes signify
a utf-8 file. Someone point me at an RFC ... gheesh.
FWIW; fixes bugs report 10125
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94446
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 5 Apr 2002 04:20:22 +0000 (04:20 +0000)]
Mix 'n match signedness? Make some emits go away.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94445
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Fri, 5 Apr 2002 02:31:04 +0000 (02:31 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
avoid the error_log message: [error] mod_ssl: Certificate Verification: Error ...
if SSLProxyVerify is not configured or set to "none".
the verify callback does not happen in the server context when
SSLVerify is not configured or set to "none".
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94444
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 5 Apr 2002 02:23:02 +0000 (02:23 +0000)]
quiet a bogus gcc warning that crops up with -O2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94443
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 5 Apr 2002 00:34:22 +0000 (00:34 +0000)]
implement FOREGROUND for perchild and beos MPMs too
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94442
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 5 Apr 2002 00:18:14 +0000 (00:18 +0000)]
worker MPM: add -DFOREGROUND option to use when you want
the parent process to run in the foreground
(NO_DETACH is a special mode for running under
programs like daemontools)
the existing flag -DDEBUG turns on FOREGROUND
now instead of NO_DETACH
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94441
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 4 Apr 2002 23:36:45 +0000 (23:36 +0000)]
Uhmmm... notices only when we are running as a service [I hate strcmp.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94440
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 4 Apr 2002 23:35:11 +0000 (23:35 +0000)]
One emit is an error, not a notice. Neither have 'error codes'...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94439
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 4 Apr 2002 23:33:44 +0000 (23:33 +0000)]
Another, potential race. Assure we are allowing worker threads to finish
from the time we begin our shutdown exercise.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94438
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 4 Apr 2002 23:32:36 +0000 (23:32 +0000)]
Race condition one ... we were occasionally escaping all the way out to
WSATerminate() before this thread picked up it's sleepy head to discover
the world was gone beneath it on 1GHz+ CPU WinXP configurations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94437
13f79535 -47bb-0310-9956-
ffa450edef68
Paul J. Reder [Thu, 4 Apr 2002 21:19:32 +0000 (21:19 +0000)]
This patch fixes a core dump that occurs in mod_include during tag parsing
if the starting sequence (<!--#) finishes at the end of a bucket and the
directive starts at the beginning of the next bucket.
There is still a bug in the handling of conditional directives that span
buckets, but the core dump is now fixed and the conditional bug should
be even rarer than the core dump was. I'm fixing the conditional bug
seperately.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94436
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 4 Apr 2002 20:00:38 +0000 (20:00 +0000)]
ignore generated file ap_config_layout.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94435
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Thu, 4 Apr 2002 18:36:03 +0000 (18:36 +0000)]
Added support for Posix semaphore-based mutex locking (AcceptMutex posixsem).
It's between pthread and sysvsem in the DEFAULT priority ranking. This
makes it the new default for Darwin, and adds support for it for other
platforms as well (like Solaris).
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94434
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 4 Apr 2002 12:51:58 +0000 (12:51 +0000)]
AIX: Fix the syntax for setting the LDR_CNTRL and AIXTHREAD_SCOPE
environment variables in the envvars file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94432
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Thu, 4 Apr 2002 09:15:44 +0000 (09:15 +0000)]
Remove hardcoded paths from MPMs and move them to a more central
place. Expand paths in httpd-std.conf in a similar fashion as we do
in our headers.
Submitted by: Pier Fumagalli <pier@betaversion.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94431
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Thu, 4 Apr 2002 06:39:22 +0000 (06:39 +0000)]
Fix a potential size mismatch (apr_off_t might be 64bits on some platforms).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94430
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 3 Apr 2002 21:26:35 +0000 (21:26 +0000)]
Fix a couple of edge cases when the content being cached is generated locally.
(ie, the HTTP_HEADER_FILTER has not yet run)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94426
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Wed, 3 Apr 2002 18:36:31 +0000 (18:36 +0000)]
Add mod_cache to allmodules.xml and do the transforms to get
it into the indexes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94424
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 3 Apr 2002 17:34:01 +0000 (17:34 +0000)]
Make comments and function name agree with what the functions actually do.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94421
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 3 Apr 2002 15:47:59 +0000 (15:47 +0000)]
worker MPM:
Don't create a listener thread until we have a worker thread. Otherwise,
in situations where we'll have to wait a while to take over scoreboard
slots from a previous generation, we'll be accepting connections we can't
process yet.
Don't let the listener thread clobber the scoreboard entry of the first
worker thread.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94420
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 3 Apr 2002 13:45:57 +0000 (13:45 +0000)]
prefork MPM: add -DFOREGROUND option to use when you want
the parent process to run in the foreground
(NO_DETACH is a special mode for running under
programs like daemontools)
the existing flag -DDEBUG turns on FOREGROUND
now instead of NO_DETACH
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94419
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 3 Apr 2002 13:38:06 +0000 (13:38 +0000)]
style change only
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94418
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 3 Apr 2002 13:10:56 +0000 (13:10 +0000)]
Allow worker MPM to build on systems without pthread_kill().
Submitted by: Pier Fumagalli (and mangled by Jeff)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94417
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 06:16:24 +0000 (06:16 +0000)]
Elimiate references of subreferences to simplify rebuild logic
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94415
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 06:09:18 +0000 (06:09 +0000)]
Much easier to clone first than fix later - next batch of builds this
poorly thought out will simply be vetoed - do you really expect M$'s
defaults to make any sense? And what's with /I "C:\foo" ???
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94414
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 06:07:36 +0000 (06:07 +0000)]
Would really prefer if the authors of the .dsp's would maintain this...
better yet - clone existing .dsp's to assure they are correct
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94413
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 05:53:33 +0000 (05:53 +0000)]
Can't we -please- rename mod_file_cache if it doesn't fit in the
mod_cache scheme of things?
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94412
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 05:52:08 +0000 (05:52 +0000)]
Gheesh
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94411
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 05:29:35 +0000 (05:29 +0000)]
On second thought ... I can see some weird sign bit magic messing this
up on some hypothetical CPU... better to cast the net expression.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94410
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 3 Apr 2002 05:28:04 +0000 (05:28 +0000)]
A very safe cast for any ^2 based cpu. Are we expecting any trinary CPUs
any time soon for Apache support? Cleans up an emit on 32 bit builds.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94409
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Wed, 3 Apr 2002 04:07:35 +0000 (04:07 +0000)]
First meager steps to documenting mod_cache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94408
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 22:07:09 +0000 (22:07 +0000)]
fix SSL_X509_INFO_load_path so SSLProxyMachineCertificatePath works
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94406
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 21:57:31 +0000 (21:57 +0000)]
copy-n-pasto: need to use SSL_X509_INFO_load_*path* on pkp->cert_path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94405
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 21:56:12 +0000 (21:56 +0000)]
copy-n-pasto: ssl_cmd_SSLProxyMachineCertificatePath needs to set cert_path
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94404
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 21:32:35 +0000 (21:32 +0000)]
fix copy-n-pasto: ssl_cmd_SSLProxyCACertificatePath needs to use
ssl_cmd_check_dir rather than ssl_cmd_check_file
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94403
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 20:53:17 +0000 (20:53 +0000)]
another todo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94400
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 2 Apr 2002 20:40:48 +0000 (20:40 +0000)]
Update the transformations.
Sorry for the huge diff. It seems that switching from Xalan-j to xalan-c
causes the attributes to get reordered.
Suggestions for improvements to the build system would be greatly
appreciated.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94399
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 2 Apr 2002 20:39:16 +0000 (20:39 +0000)]
Just a little change so that this will validate.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94398
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 17:30:08 +0000 (17:30 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
ap_remove_output_filter no longer works for connection filters.
change logic in the case of "HTTP spoken on HTTPS port" to disable the
ssl filters rather than attempt to remove the filters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94393
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 17:23:41 +0000 (17:23 +0000)]
various updates
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94392
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 2 Apr 2002 16:25:23 +0000 (16:25 +0000)]
Check for a NULL pointer in the case of the OS address space
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94388
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 14:48:54 +0000 (14:48 +0000)]
Win32: tweak some messages
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94387
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 14:42:06 +0000 (14:42 +0000)]
Win32: Change startup/shutdown message class to NOTICE. These messages should always
be written to the error log regardless of the loglevel.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94386
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Tue, 2 Apr 2002 11:55:19 +0000 (11:55 +0000)]
Add myself on this bright and sunny day.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94385
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 2 Apr 2002 04:30:49 +0000 (04:30 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by: Ryan Bloom
remove call to ap_proxy_reset_output_filters() and the function itself.
this call breaks ssl proxy when the client is using keepalives.
this function is also no longer needed with recent-ish filter changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94383
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 04:15:55 +0000 (04:15 +0000)]
Note about ap_cache_msec2hex() and ap_cache_hex2msec() to keep me from forgetting
to fix it...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94382
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 04:14:04 +0000 (04:14 +0000)]
Win32: Add mod_cache, mod_mem_cache and mod_disk_cache to the build and
install.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94381
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 04:04:17 +0000 (04:04 +0000)]
Use runtime library linking. This reduces the size of the *.so files substantially
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94377
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 2 Apr 2002 03:54:38 +0000 (03:54 +0000)]
Cleanup some compile warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94376
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Tue, 2 Apr 2002 03:09:53 +0000 (03:09 +0000)]
A few additional examples added to the docs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94373
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 2 Apr 2002 02:38:31 +0000 (02:38 +0000)]
Grammar police. (Well, you asked for it. ;) There's still a split
infinitive in the last sentence, but I don't really believe in that
rule, so...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94372
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 2 Apr 2002 01:07:43 +0000 (01:07 +0000)]
Update the docs on the ScoreBoardFile directive for the new
apr_shm.h API and the removal of the old SCOREBOARD_FILE stuff.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94370
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Tue, 2 Apr 2002 00:29:23 +0000 (00:29 +0000)]
Replaced a hack for getting the address space with the real API
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94369
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Mon, 1 Apr 2002 22:26:09 +0000 (22:26 +0000)]
Prevent ap_add_output_filters_by_type from being called in
ap_set_content_type if the content-type hasn't changed.
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94368
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 1 Apr 2002 22:06:49 +0000 (22:06 +0000)]
Fix some of the cache size checks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94367
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 1 Apr 2002 21:19:41 +0000 (21:19 +0000)]
And it only took me what, 10 months? :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94366
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 1 Apr 2002 18:55:46 +0000 (18:55 +0000)]
Win32: Move apr_bucket_alloc() to a more reasonable location to fix memory leak.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94362
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 1 Apr 2002 17:13:19 +0000 (17:13 +0000)]
Remove some gratuitous comments.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94361
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Mon, 1 Apr 2002 16:42:02 +0000 (16:42 +0000)]
Destroy the connection pool (and therefore run the cleanups) before destroying
the bucket_alloc as the cleanups refer to buckets allocated by the
bucket_alloc.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94360
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 1 Apr 2002 16:09:46 +0000 (16:09 +0000)]
If this is a subrequest, register the cleanup against
the main request. This will prevent the cache object
from being cleaned up from under the request after the
subrequest is destroyed.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94359
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 1 Apr 2002 12:53:09 +0000 (12:53 +0000)]
Don't allow initialization to succeed if we can't get a socket
corresponding to one of the Listen statements.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94358
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 1 Apr 2002 08:27:42 +0000 (08:27 +0000)]
Migrate perchild to the new lock API, and clean up some of the logic
surrounding the FD passing. This doesn't work yet, but it is getting
closer. Currently, the problem is that we don't correctly read the data
from the socket so that it can be passed to the correct child.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94357
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 1 Apr 2002 05:43:47 +0000 (05:43 +0000)]
Match the new APR_BUCKET_BUFF_SIZE. We want this to be slightly less than
8KB to leave room for the various allocators' internal structures while
still fitting into a total of 8KB.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94356
13f79535 -47bb-0310-9956-
ffa450edef68
Dirk-Willem van Gulik [Mon, 1 Apr 2002 04:32:40 +0000 (04:32 +0000)]
Made AB's use of the Host: header rfc2616 compliant as
reported by Taisuke Yamada <tai@iij.ad.jp>
PR:
Obtained from: Mailing list
Submitted by: Taisuke Yamada <tai@iij.ad.jp>
Reviewed by: Dirk-Willem van Gulik
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94355
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 1 Apr 2002 03:41:31 +0000 (03:41 +0000)]
A bunch of Perchild changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94353
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 1 Apr 2002 03:37:21 +0000 (03:37 +0000)]
Make perchild work with the new bucket_allocation API. Also, allow
the Perchild directives to take both numerical UID/GID and the
logical user name/group name.
PR: 9784
Submitted by: named UID/GID logic: Scott Lamb <slamb@slamb.org>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94352
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Apr 2002 02:41:08 +0000 (02:41 +0000)]
pointer subtraction yeilds a ssize_t, fix emit by notating the
expression in terms of addition
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94351
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 1 Apr 2002 02:39:31 +0000 (02:39 +0000)]
Fix another linkage error for 2.0.34 and cvs head
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94350
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 1 Apr 2002 00:32:39 +0000 (00:32 +0000)]
Get the Perchild MPM to compile and serve pages again. There are a lot
of bugs left in this, but I am taking things one step at a time. This
will work again. This also gets perchild using the correct variable for
MaxRequestsPerChild
PR: 9856, 9855, 9052
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94349
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 31 Mar 2002 17:32:23 +0000 (17:32 +0000)]
it is sunny and warm in tahoe, still plenty of snow on the mountains
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94348
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 31 Mar 2002 12:42:51 +0000 (12:42 +0000)]
Roll these changes into 2.0.34
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94347
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sun, 31 Mar 2002 07:48:56 +0000 (07:48 +0000)]
Handle CR/LF terminated lines from CGI scripts.
Reviewed by: Brian Pane
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94346
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 30 Mar 2002 23:55:16 +0000 (23:55 +0000)]
Removed the single-byte header reads from mod_cgid
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94344
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 30 Mar 2002 23:11:55 +0000 (23:11 +0000)]
Fixed script error logging, which I'd left commented out after making
the changes to use a brigade to read the script headers
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94343
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Pane [Sat, 30 Mar 2002 22:48:39 +0000 (22:48 +0000)]
Fix for a bug that I introduced when eliminating the single-byte
reads in mod_cgi: eof wasn't treated as an error condition when
reading the script headers, so we were delivering a 200 when a
CGI script produced no output.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94342
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 08:11:44 +0000 (08:11 +0000)]
add/use EVP_PKEY_reference_inc and X509_reference_inc compat macros
to get these changes working with sslc
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94341
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 07:42:30 +0000 (07:42 +0000)]
add sslc compat for sk_X509_INFO_free
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94340
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:46:24 +0000 (06:46 +0000)]
add SSLProxyCARevocation{File,Path} directives to support CRLs in the proxy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94338
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:38:10 +0000 (06:38 +0000)]
pass sc to myCtxConfig macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94337
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:36:56 +0000 (06:36 +0000)]
make it possible for proxy to use CRL callback
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94336
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:20:16 +0000 (06:20 +0000)]
enable the verify callback for proxy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94334
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:19:14 +0000 (06:19 +0000)]
ap_proxy_http_request needs to check the return status of ap_pass_brigade
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94333
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 06:03:08 +0000 (06:03 +0000)]
change sc->server references to myCtxConfig, so proxy can use the
verify callback.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94332
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 05:57:59 +0000 (05:57 +0000)]
add myCtxConfig macro
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94331
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 05:40:02 +0000 (05:40 +0000)]
implement proxy client certificate callback
(uses SSLProxyMachineCertificate{File,Cert} when downstream server
requires a client certificate)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94329
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 05:16:55 +0000 (05:16 +0000)]
input filter should not return failure when ssl runtime wants to read more
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94328
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sat, 30 Mar 2002 04:52:48 +0000 (04:52 +0000)]
ssl_io_input_read needs to return something other than APR_SUCCESS
when bucket read from socket was successful,
but there was an error within the ssl runtime.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94327
13f79535 -47bb-0310-9956-
ffa450edef68