]>
granicus.if.org Git - apache/log
Jeff Trawick [Tue, 9 Apr 2002 11:18:41 +0000 (11:18 +0000)]
move a loop-invariant computation out of the thread loop and
at the same time quiet a gcc warning (it assumed that thread_limit
could be zero, which would leave ps_record uninitialized when
referenced after the end of the thread loop)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94579
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 9 Apr 2002 11:12:10 +0000 (11:12 +0000)]
get the strchr() declaration
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94578
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Tue, 9 Apr 2002 09:45:04 +0000 (09:45 +0000)]
Note a bug fix in apr-util.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94575
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Tue, 9 Apr 2002 09:39:04 +0000 (09:39 +0000)]
Proxy was bombing out every second keepalive request, caused by a
stray CRLF before the second response's status line. Proxy now
tries to read one more line if it encounters a CRLF where it
expected a status.
PR: 10010
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94574
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 9 Apr 2002 07:41:55 +0000 (07:41 +0000)]
Deprecated the apr_lock.h API.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94571
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 9 Apr 2002 07:18:00 +0000 (07:18 +0000)]
Compiler/platform bogosity is apr's job.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94568
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 9 Apr 2002 06:49:18 +0000 (06:49 +0000)]
Remove many unnecessary includes, incl. apr_lock.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94567
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 9 Apr 2002 06:48:31 +0000 (06:48 +0000)]
Remove unnecessary includes of apr_lock.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94566
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Tue, 9 Apr 2002 06:47:25 +0000 (06:47 +0000)]
Remove uses of apr_lock.h. This patch is untested, but I don't see where
the apr_lock.h include was necessary anyway.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94565
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 9 Apr 2002 01:55:44 +0000 (01:55 +0000)]
PR:
Obtained from:
Submitted by: Ryan Morgan <rmorgan@covalent.net>
Reviewed by: dougm, jimjag
Change mod_status to use scoreboard accessor functions so it can
be used in any MPM without having to be recompiled.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94558
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 9 Apr 2002 00:12:40 +0000 (00:12 +0000)]
Correct a simple typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94557
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 8 Apr 2002 23:56:58 +0000 (23:56 +0000)]
problem already fixed in 2.0.36-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94556
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 8 Apr 2002 23:32:13 +0000 (23:32 +0000)]
mention the fix for parsing certain AP_DECLARE_DATA decls;
for some platforms that fix is crucial
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94555
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 8 Apr 2002 22:08:34 +0000 (22:08 +0000)]
Fix export of variables that have "extern" before their AP_DECLARE_DATA.
This includes ap_subreq_core_filter_handle which mod_autoindex.c now needs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94551
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 8 Apr 2002 19:52:26 +0000 (19:52 +0000)]
"FINAL" is ... well, too final.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94550
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 8 Apr 2002 19:51:12 +0000 (19:51 +0000)]
2.0.36 showstoppers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94549
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 8 Apr 2002 19:14:41 +0000 (19:14 +0000)]
Red Hat 7.0 and 7.2 builds for i686 are in place.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94548
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Mon, 8 Apr 2002 19:07:58 +0000 (19:07 +0000)]
another todo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94547
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 8 Apr 2002 18:41:00 +0000 (18:41 +0000)]
Well, soon I hope - but yes, I'm on it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94545
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Mon, 8 Apr 2002 18:38:56 +0000 (18:38 +0000)]
PR:
Obtained from:
Submitted by: Daniel Lopez <daniel@covalent.net>
Reviewed by: dougm, rbb
add optional fixup hook to proxy
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94544
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 8 Apr 2002 18:19:06 +0000 (18:19 +0000)]
AIX binaries on the way (compile and link god willing)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94543
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 8 Apr 2002 17:59:30 +0000 (17:59 +0000)]
FreeBSD 4.5 and Solaris8/i386 binaries available.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94542
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 8 Apr 2002 16:57:06 +0000 (16:57 +0000)]
Remind the admin about the User and Group directives when we are
unable to set permissions on a semaphore.
PR: 7812
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94541
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 8 Apr 2002 16:41:04 +0000 (16:41 +0000)]
Just added
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94540
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 8 Apr 2002 16:37:06 +0000 (16:37 +0000)]
Volunteering for i386-unknown-freebsd4.5 (from daedalus).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94539
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Mon, 8 Apr 2002 16:06:18 +0000 (16:06 +0000)]
Signing up for the NetWare binaries
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94537
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Mon, 8 Apr 2002 15:09:16 +0000 (15:09 +0000)]
Added this am
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94536
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 8 Apr 2002 14:04:16 +0000 (14:04 +0000)]
I port perchild last week.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94535
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 8 Apr 2002 14:00:46 +0000 (14:00 +0000)]
We should note that this has gone GA.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94534
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 8 Apr 2002 13:59:37 +0000 (13:59 +0000)]
I made this available yesterday.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94533
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 8 Apr 2002 12:46:41 +0000 (12:46 +0000)]
fix the function name in the prototype for dav_get_search_hooks()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94532
13f79535 -47bb-0310-9956-
ffa450edef68
Mark J. Cox [Mon, 8 Apr 2002 09:37:57 +0000 (09:37 +0000)]
Fixup product name
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94531
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Mon, 8 Apr 2002 08:24:52 +0000 (08:24 +0000)]
I can take care of LinuxPPC (YDL v2.1)...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94530
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 8 Apr 2002 06:30:34 +0000 (06:30 +0000)]
Reformat this to look pretty (blatently stolen from the 1.3 STATUS file).
AFAIK none of these are available, so my pardons if they are available.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94529
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Mon, 8 Apr 2002 06:21:40 +0000 (06:21 +0000)]
I can take care of sol8/intel and some old sk00l lee-nux.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94528
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 7 Apr 2002 21:58:25 +0000 (21:58 +0000)]
PR: 7802
Obtained from:
Submitted by:
Reviewed by:
fix compilation problem in ssl_engine_kernel.c
if SSL_LIBRARY_VERSION >= 0x00907000
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94527
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 7 Apr 2002 20:53:02 +0000 (20:53 +0000)]
noteworthy since yesterdays change actually fixes the problem
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94526
13f79535 -47bb-0310-9956-
ffa450edef68
Jim Jagielski [Sun, 7 Apr 2002 19:14:29 +0000 (19:14 +0000)]
Minor formatting plus add arch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94525
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 7 Apr 2002 16:58:31 +0000 (16:58 +0000)]
Remove a patch that is no longer needed (bug was fixed a LONG time ago)
Add a sign-up area for people to volunteer to create binaries for
2.0.35.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94522
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Sun, 7 Apr 2002 13:06:37 +0000 (13:06 +0000)]
Update CHANGES to reflect the mod_dav change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94520
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 7 Apr 2002 06:32:21 +0000 (06:32 +0000)]
PR:
Obtained from:
Submitted by:
Reviewed by:
ssl_io_input_read now returns APR_EOF if ssl_io_hook_read returns 0
bytes for a reason other than SSL_ERROR_WANT_READ. this should
prevent a possible endless loop.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94519
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Sun, 7 Apr 2002 03:37:35 +0000 (03:37 +0000)]
fix ProxyPass when frontend is https and backend is http
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94515
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sun, 7 Apr 2002 01:51:42 +0000 (01:51 +0000)]
Pass the --includedir flag to the apr and apr-util configure calls.
Submitted by: Pier Fumagalli <pier@betaversion.org>
Reviewed by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94513
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sat, 6 Apr 2002 22:00:56 +0000 (22:00 +0000)]
Generate rel_libdir and exp_libdir variables.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94512
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sat, 6 Apr 2002 21:50:58 +0000 (21:50 +0000)]
Allow us to override the default --libdir from the config.layout
if it was specified to configure.
Submitted by: Thom May <thom@planetarytramp.net>
Reviewed by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94511
13f79535 -47bb-0310-9956-
ffa450edef68
Aaron Bannert [Sat, 6 Apr 2002 21:44:44 +0000 (21:44 +0000)]
Add libdir entries to config.layout.
Submitted by: Pier Fumagalli <pier@betaversion.org>
Reviewed by: Aaron Bannert
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94510
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sat, 6 Apr 2002 13:48:51 +0000 (13:48 +0000)]
Fix export of variables that have "extern" before their AP_DECLARE_DATA.
This includes ap_subreq_core_filter_handle which mod_autoindex.c now needs.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94504
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Sat, 6 Apr 2002 12:43:47 +0000 (12:43 +0000)]
Quick fix to an incorrect comment.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94501
13f79535 -47bb-0310-9956-
ffa450edef68
Sander Striker [Sat, 6 Apr 2002 01:11:50 +0000 (01:11 +0000)]
Add DASL(SEARCH) support to mod_dav.
Submitted by: Sung Kim <hunkim@cse.ucsc.edu>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94486
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 6 Apr 2002 00:19:19 +0000 (00:19 +0000)]
Port over some fixes to mod_dav 1.0 so that the Apache 2.0 DAV code
will pass the "litmus" DAV test tool.
In particular, we need to properly handle empty namespaces properly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94482
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Sat, 6 Apr 2002 00:03:32 +0000 (00:03 +0000)]
Added a call to apr_bucket_alloc_destroy() to the clean_child_exit() code that
is called when each worker thread terminates. This stopped the memory leak.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94479
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 23:12:11 +0000 (23:12 +0000)]
Use the new format for the tarballs. httpd-2.0.xx-alpha.tar.gz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94476
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 22:17:34 +0000 (22:17 +0000)]
Bump after the tag and roll
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94475
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Fri, 5 Apr 2002 21:39:11 +0000 (21:39 +0000)]
Added replacement values for the new tags in the httpd.conf file template
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94473
13f79535 -47bb-0310-9956-
ffa450edef68
Bradley Nicholes [Fri, 5 Apr 2002 21:38:28 +0000 (21:38 +0000)]
Changed the make file to pick up the renamed httpd.conf file template.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94472
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 21:24:13 +0000 (21:24 +0000)]
Fix a segfault. Only try to set this if the sub_Request has a c-t.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94471
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 21:16:11 +0000 (21:16 +0000)]
If we are doing a fast_redirect, and we don't have a main request, then
make sure that we don't have the sub_req_output_filter. This was
causing problems when there were multiple sub_Requests, and some should
have had the filter, but the last one shouldn't.
This fixes the final known bug in 2.0.35
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94470
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 5 Apr 2002 20:55:38 +0000 (20:55 +0000)]
Whoops, missed this. Moved these symbols to mod_core.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94469
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 5 Apr 2002 20:55:00 +0000 (20:55 +0000)]
Correct partitioning of filter handles between core and http, and
export the handle pointers on Win32.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94468
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 5 Apr 2002 20:06:52 +0000 (20:06 +0000)]
Clean up breakage introduced recently that sent the wrong headers through
the http_headers output filter. Now we will always point every filter at
the 'redirected' request, e.g. the actual error message response rather
than the request that failed.
Reviewed by: JimJag, Rbb, DougM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94467
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 5 Apr 2002 20:05:05 +0000 (20:05 +0000)]
Bump for the 2.0.35 tag. Just waiting for Will's commit to actually do
the tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@94466
13f79535 -47bb-0310-9956-
ffa450edef68
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