]>
granicus.if.org Git - apache/log
Doug MacEachern [Mon, 6 Aug 2001 22:32:57 +0000 (22:32 +0000)]
plug mod_cgid restart leak
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89959
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 21:51:58 +0000 (21:51 +0000)]
Per Silve's request, some docs that I was messing with these.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89957
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 21:48:10 +0000 (21:48 +0000)]
Whoops, missing win32 goodness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89956
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 6 Aug 2001 21:36:32 +0000 (21:36 +0000)]
a couple of hacks to mod_example to get it to behave a little better:
1) return DECLINED instead of OK from the quick_handler so we get
some output
2) don't install x_fixer_upper() as a create_request handler; otherwise
we segfault since r->per_dir_config hasn't been initialized yet
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89955
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:42:42 +0000 (19:42 +0000)]
Gone, see .html.en flavors
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89951
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:37:27 +0000 (19:37 +0000)]
These will _not_ be required in 2.0 If they are required today, there is
still a bug to track down.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89950
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:13:02 +0000 (19:13 +0000)]
Remove the ->mtime reset back to negotiation, who decided to do this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89949
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:10:12 +0000 (19:10 +0000)]
_THIS_ is why mod_dir wouldn't serve the results of mod_negotiation
with a query string
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89948
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:09:08 +0000 (19:09 +0000)]
Fix typo from extracting the fast-redirect code
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89947
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 19:03:37 +0000 (19:03 +0000)]
The real slim shady finally stood up. This patch segregates the fast
internal redirect logic back into http_request, the next patch will
actually fix it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89946
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 18:50:53 +0000 (18:50 +0000)]
Kill some deadwood
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89945
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 18:43:30 +0000 (18:43 +0000)]
Same cleanups as applied to mod_cgi, falling out of scope != destruction
in plain ol' C.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89944
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 18:41:31 +0000 (18:41 +0000)]
We are done with this subrequest (before we even got started...) so
dump it early.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89943
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 18:38:43 +0000 (18:38 +0000)]
This is not C++, falling out of scope doesn't constitute destruction :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89942
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 6 Aug 2001 15:55:43 +0000 (15:55 +0000)]
Explain the worker MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89938
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 6 Aug 2001 13:46:48 +0000 (13:46 +0000)]
Remove all the warnings from mod_example.c.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89935
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 05:26:37 +0000 (05:26 +0000)]
This was entirely broken. We cannot skip the location walk just because
we are in a file subrequest (think of a file server-status sitting in
the document root, this shouldn't be blindly served as a 'file'.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89934
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 05:07:34 +0000 (05:07 +0000)]
Just a little cleaner.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89933
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 04:47:12 +0000 (04:47 +0000)]
Multiviews and mod_negotiation will already handle this case, it never
belonged in mod_cgi itself.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89932
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 6 Aug 2001 02:27:26 +0000 (02:27 +0000)]
More explanation
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89931
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 5 Aug 2001 18:41:38 +0000 (18:41 +0000)]
Get the worker MPM working again. This should fix the serialization
problems, and it makes up initialize the queue only once.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89930
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Sun, 5 Aug 2001 18:08:49 +0000 (18:08 +0000)]
Speed up the server's response to a spike in incoming workload
or restarts.
New processes aren't able to start all their threads right away
if other dying processes share the same scoreboard real estate.
So give empty process slots in the scoreboard top priority.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89928
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 4 Aug 2001 11:40:16 +0000 (11:40 +0000)]
cosmetic changes only for a clean build; no serialization problems
addressed; I presume those are waiting for an APR-ization of the
queue/condition mechanism
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89921
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 4 Aug 2001 11:37:12 +0000 (11:37 +0000)]
minimal changes to get it to compile
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89920
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sat, 4 Aug 2001 04:32:59 +0000 (04:32 +0000)]
Subtle variation for security. If the mod_mime file has nothing specific
to say about a given set of file extentions (and has only based the
resolved fields on the default language, encoding and content type)
then tell us we can ignore the result by leaving the exception list
entirely undefined. If mod_mime adds anything (a language, charset, or
whatnot) then proceed to use the file in the Multiviews evaluation,
otherwise mod_negotation will ignore the file found.
This points out a need for a slightly twisted DefaultClientLanguage,
as opposed to creating foo.html.html files. Either that, or introduce
a 'neutral' entity that the user can list (say, .default) for mod_mime
to declare it as a fallback language/encoding/content-type/handler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89919
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 4 Aug 2001 01:29:38 +0000 (01:29 +0000)]
axe unused variable
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89917
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Fri, 3 Aug 2001 23:41:35 +0000 (23:41 +0000)]
Correct the default.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89913
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 22:57:47 +0000 (22:57 +0000)]
Solve the major underlying problem of content negotation by passing
mod_negotiation the 'unresolved' parts of the path in a ->notes
array ap-mime-exceptions-list.
If mod_mime is given index.html.bad.en it will add index and bad
to the list (presuming html and en are both defined.)
mod_negotiation will decide if index and bad are it's fault (the
user requested index.html.bad[.*]) or if it's a messed up file
(say .old, .junk, or .bak).
The next patch to allow any-order negotiation should check each
of these list elements, so that asking for index.bad in the prior
example would succeed. Right now that request would fail because
.html was recognized, so it's not in the exceptions list. This
patch uses a simple strcmp to the given name.
Also, this patch allows any mod_mime processed file to be served,
even if the content type cannot be determined (think README.en).
This is crippled by the client expect headers and omitting the
default content type.
PLEASE vet this code carefully.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89912
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 3 Aug 2001 21:44:34 +0000 (21:44 +0000)]
remove a gcc warning, leave object code unchanged
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89911
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 3 Aug 2001 21:26:47 +0000 (21:26 +0000)]
Forgot the CHANGES, as usual....
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89910
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 18:32:03 +0000 (18:32 +0000)]
Save hundreds of cycles on every autoindex request by _not_ attempting
to to test the parent (..) sub request! This patch also allows the user
to see things that will redirect them. That way, the lnk or dir within
the directory is displayed correctly.
Also allows an ALT text entry other than DIR by providing AddAlt
^^DIRECTORY^^, as the user (might) expect to be allowed to do.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89909
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 3 Aug 2001 18:00:38 +0000 (18:00 +0000)]
Add a timeout when making connections from within the proxy.
Now, if someone wants to add a special scoreboard state for proxy
attempting to make connection, be my guest.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89908
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 3 Aug 2001 16:25:10 +0000 (16:25 +0000)]
Both the ftp and http proxies were erroneously sending a flush bucket after
an eos bucket. This had been put in place to repair a bug, but was covering
the symptoms, rather than providing the cure. Bug repaired, and kludge
removed.
Submitted by: barbee@veribox.net
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89907
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 3 Aug 2001 14:26:03 +0000 (14:26 +0000)]
Update this custom bucket to use the free function pointer in apr_bucket_type_t
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89906
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Fri, 3 Aug 2001 08:57:39 +0000 (08:57 +0000)]
Expand .html.en, .html.fr and .html.ja.jis as well as
.html and .html.html.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89905
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 3 Aug 2001 03:41:51 +0000 (03:41 +0000)]
Handle the ap_pass_brigade inside the SPLIT_BRIGADE... macro.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89902
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 02:22:47 +0000 (02:22 +0000)]
That's enough for tonight ... gheesh. Allow 2xx + OK (0) results from
the subrequest to go out to the client. This doesn't address (..)
anomilies, which I will address in the a.m.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89901
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 02:17:44 +0000 (02:17 +0000)]
Allow a slightly larger range of acceptable responses.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89900
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 01:31:26 +0000 (01:31 +0000)]
Fix some major brokenness. We were not validating that the autoindex
subrequest'ed file was valid, and did not check a subrequest at all if
the user didn't use FancyIndexing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89899
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 01:00:12 +0000 (01:00 +0000)]
Begone ancient beast. IndexOptions FancyIndexing is sufficiently less
confusing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89897
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 00:59:01 +0000 (00:59 +0000)]
Provide an ap_set_deprecated() fn for quick-and-dirty 'we don't do this'
entries in the command table.
(Also fixes a nit about returning a single bit of an apr_int_64 as an int.
Know how this group loves !! expresssions :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89896
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 00:50:26 +0000 (00:50 +0000)]
Thanks Justin :) This also looked a bit klunky
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89895
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Fri, 3 Aug 2001 00:33:24 +0000 (00:33 +0000)]
Somebody please teach OtherBill how to spell "deprecated". ;-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89894
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Fri, 3 Aug 2001 00:24:40 +0000 (00:24 +0000)]
It's a new book. Time to throw out the old switch-hitter plays.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89892
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 22:54:39 +0000 (22:54 +0000)]
Undo my unintentionally overzelous name change, and fix the style of sizeof()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89887
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 22:12:45 +0000 (22:12 +0000)]
If it won't let us run in APR_POOLS_DEBUG mode, it's broken.
We should be implementing this all in terms of apr_threads, and fix
the apr_pools code to allow 'trusted subpools' with their own root
allocations that bypass the mutexes. Unrooting a pool just glosses
over the real problems.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89885
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Thu, 2 Aug 2001 21:24:14 +0000 (21:24 +0000)]
fix a problem in the threaded and worker mpm's where a keepalive connection
on one thread can prevent the process from exiting.
let's rename ap_graceful_restart_signalled to something more appropriate
after the next beta.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89881
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 19:37:46 +0000 (19:37 +0000)]
Make this legible. Points out a huge headache in the new conftree pools
mechanism, that we aren't joined properly, so we hit the 'not ancestor'
abend here.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89880
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 17:25:05 +0000 (17:25 +0000)]
Really compress the add_/remove_ handling, and fix pool allocations.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89878
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 2 Aug 2001 16:35:22 +0000 (16:35 +0000)]
I forgot to catch all the other return calls in this function, so this
cleans up the warnings. Thanks OtherBill for beating me up about this.
:-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89876
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 2 Aug 2001 05:28:27 +0000 (05:28 +0000)]
XBitHack has just been re-enabled in Apache 2.0, so the docs need to
be updated to reflect that.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89874
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 05:28:00 +0000 (05:28 +0000)]
Fix typo in prior commit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89873
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 2 Aug 2001 05:27:06 +0000 (05:27 +0000)]
Add a handler to mod_includes.c. This handler is designed to
implement the XbitHack directive. This can't be done with a
fixup, because we need to check the content-type, which is
only available in the handler phase.
PR: 7751
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89872
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 05:25:53 +0000 (05:25 +0000)]
Adapt to changed declaration of apr_pool_sub_make()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89871
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 2 Aug 2001 04:59:51 +0000 (04:59 +0000)]
Make the includes filter check return codes from filters lower in
the filter chain. If a lower level filter returns an error, then
the request needs to stop immediately. This allows mod_include to
stop parsing data once a lower filter recognizes an error.
PR: 8102
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89870
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 2 Aug 2001 04:25:20 +0000 (04:25 +0000)]
Add the ability to extend the methods that Apache understands
and have those methods <limit>able in the httpd.conf. It uses
the same bit mask/shifted offset as the original HTTP methods
such as M_GET or M_POST, but expands the total bits from an int to
an ap_int64_t to handle more bits for new request methods than
an int provides.
Submitted by: Cody Sherr <csherr@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89869
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Thu, 2 Aug 2001 00:17:45 +0000 (00:17 +0000)]
Need some context for the iterator! Finally get to use that accessor :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89866
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 23:33:08 +0000 (23:33 +0000)]
Solve the merge bugs, by storing a copy bit to save us a ton of
reallocation in the merge config phase. Should keep most of the
savings realized by moving to tables.
Need others to vet this code, please! Look at this and the prior
patch as a single diff (-r n -r n-2) to see the overall changes.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89865
13f79535 -47bb-0310-9956-
ffa450edef68
Justin Erenkrantz [Wed, 1 Aug 2001 20:49:05 +0000 (20:49 +0000)]
APR-util has renamed buildconf.sh to buildconf to match APR and httpd-2.0.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89864
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 19:15:22 +0000 (19:15 +0000)]
This patch fixes more untold breakage than you can shake a stick at.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89863
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 1 Aug 2001 11:59:55 +0000 (11:59 +0000)]
fix some warnings in resolve_symlink(), one of which seems to be for
a genuine bug...
The old logic
if (!(opts & OPT_SYM_OWNER | OPT_SYM_LINKS))
wouldn't seem to work properly. I think it would act like
if (!((opts & OPT_SYM_OWNER) | OPT_SYM_LINKS))
This clearly isn't intended since OPT_SYM_LINKS is a constant non-zero, such
that we never really fail invalid parameters.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89860
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 06:27:08 +0000 (06:27 +0000)]
Port mod_tls.c from Eastern Europe to Apache-land
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89858
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 06:23:00 +0000 (06:23 +0000)]
Thanks Jerry, this was forgotten in my tree.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89857
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 06:12:37 +0000 (06:12 +0000)]
Replace check_symlinks in the ap_sub_req_lookup_* calls with
the new resolve_symlink (also used by the new directory_walk)
especially for performance and readability. Left check_symlinks
in the soon-to-be-gone get_path_info flavor of directory_walk.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89856
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Wed, 1 Aug 2001 05:50:29 +0000 (05:50 +0000)]
inet_addr and inet_network are not interchangable.
Furthermore, use apr_inet_addr, rather than ap_inet_addr (though they map
to the same thing).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89855
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Wed, 1 Aug 2001 05:48:33 +0000 (05:48 +0000)]
Remove a no-longer-needed header.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89854
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 04:08:36 +0000 (04:08 +0000)]
Restore to 1.333 state (problematic, in that we could be facing >(size_t)
bytes, but better till I figure out the _right_ fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89853
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 1 Aug 2001 01:58:24 +0000 (01:58 +0000)]
Add the new directory_walk logic, eliminating get_path_info and
check_symlinks, in a protected define REPLACE_PATH_INFO_METHOD.
This allows others to work on vetting, caching, etc, while keeping
the existing logic stable till it's sufficiently optimal for beta.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89847
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Wed, 1 Aug 2001 01:34:28 +0000 (01:34 +0000)]
Do this the traditional/correct way.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89846
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 21:03:56 +0000 (21:03 +0000)]
Ooops... my fooness.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89843
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 20:46:06 +0000 (20:46 +0000)]
Exported symbols for mod_pop
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89842
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Tue, 31 Jul 2001 19:21:51 +0000 (19:21 +0000)]
Get dav_fs to follow options for dav.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89839
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Tue, 31 Jul 2001 19:19:34 +0000 (19:19 +0000)]
After checking what this does with Bill Rowe, and discovering it to be dead
wood, I am tossing it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89838
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Tue, 31 Jul 2001 19:12:56 +0000 (19:12 +0000)]
Being slightly picky: properly namespace protect make_fake_req()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89837
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Tue, 31 Jul 2001 17:30:12 +0000 (17:30 +0000)]
Oops. Include the right headers...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89836
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 17:01:34 +0000 (17:01 +0000)]
Clean up mod_dav error reporting to HTML/XHTML cross-compliance.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89835
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 16:49:23 +0000 (16:49 +0000)]
Erg... sorry for the version snafu
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89834
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 16:45:10 +0000 (16:45 +0000)]
Another huge file check, and one fewer emits
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89833
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 16:41:13 +0000 (16:41 +0000)]
Clean up some emits
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89832
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 16:40:41 +0000 (16:40 +0000)]
Force the tryssl block to run in the Win32 DevStudio IDE build.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89831
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 16:34:14 +0000 (16:34 +0000)]
Provide some cast safety tests and close the _last_ of the build errors
report (at -w3) by Win32 in the server.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89830
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Tue, 31 Jul 2001 16:25:18 +0000 (16:25 +0000)]
Nobody screamed. ;)
This gets rid of ap_proxy_host2addr, and a few other useless functions,
and allows us to be threadsafe when doing DNS resolution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89829
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Tue, 31 Jul 2001 15:35:28 +0000 (15:35 +0000)]
It helps if we broadcast to the workers that we are trying to shutdown.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89827
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 13:00:50 +0000 (13:00 +0000)]
Ok, this looks better to me this morning, and suggests others who have
dabbled a bit.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89826
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 31 Jul 2001 12:19:55 +0000 (12:19 +0000)]
get "make extraclean" working for apr-util again
the apr-util build now depends on files in apr;
"make extraclean" in apr removes some of those files, causing
a subsequent "make extraclean" in apr-util to blow*; make in
apr-util first so we don't have this problem
*on some platforms make aborted; on others the error was
ignored though apr-util wasn't cleaned
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89825
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 07:42:46 +0000 (07:42 +0000)]
If I forgot anyone, please holler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89824
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 07:27:58 +0000 (07:27 +0000)]
Ok... for _today_ ...
This patch conditionally builds against openssl 0.9.6b _if_ openssl is
unpacked and properly built (using pretty much the defaults) in the
srclib/openssl/ directory. Someday soon this needs to be more exhaustive,
but this should solve the 80% problem :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89823
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 07:21:59 +0000 (07:21 +0000)]
Missed a small bit
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89822
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 31 Jul 2001 06:22:32 +0000 (06:22 +0000)]
don't count workers in processes which aren't actively serving requests.
it is necessary to check for the generation as well as "quiescing", in the
case of a restart where no workers have seen the PoD yet.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89821
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 31 Jul 2001 05:35:06 +0000 (05:35 +0000)]
mod_status: don't include workers from dead or quiescing processes in the
"requests currently being processed" or "idle" counts
also, change term from "servers" to "workers" - servers sounds like what
you call the whole thing
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89820
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 03:40:47 +0000 (03:40 +0000)]
enables the use of the ssl_var_lookup functionality in the various source
files in modules/ssl. The ap_hook_* functions are still not yet ported to
Apache 2.0 style
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89819
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 03:16:55 +0000 (03:16 +0000)]
This patch eliminates the direct use of OS library calls (fopen and
other depreciated Apache 1.3 library utilities) from ssl_engine_pphrase.c
and ssl_util_ssl.c.
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89818
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Tue, 31 Jul 2001 03:08:42 +0000 (03:08 +0000)]
threads in process which are quiescing (due to PoD or MaxRequestsPerChild)
should not be counted as idle threads. This can cause the server to stall.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89817
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 03:04:55 +0000 (03:04 +0000)]
- eliminated the use of ssl_log - it used to cause seg faults during cleanup
since the conn_rec will no longer be valid.
- eliminated the "for (;;)" processing loop in ssl_io_filter_Output() -
we'll have to do that in churn_output() if required, so that any remaining
OpenSSL data (if available) is transferred before we call the
CloseConnection.
- Any remaining data in SSL should be cleaned up ideally in the
APR_BUCKET_IS_EOS() processing stage itself, as we close the SSL connection
here.
Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>
Reviewed by: William Rowe
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89816
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 02:58:55 +0000 (02:58 +0000)]
Activate ssl_hook_pre_config
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89815
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 02:56:37 +0000 (02:56 +0000)]
Change lib locations for openssl's debugging default targets
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89814
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Tue, 31 Jul 2001 02:10:29 +0000 (02:10 +0000)]
un-win32ize
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89812
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 31 Jul 2001 01:55:08 +0000 (01:55 +0000)]
s/seperate/separate/
Also consolidate the two hints
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89811
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Tue, 31 Jul 2001 01:46:34 +0000 (01:46 +0000)]
Thanks Madhu, I think backing out the last bit, and using this instead,
may be a bit simpler. Could still exist a problem feel free to fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89810
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 31 Jul 2001 00:34:27 +0000 (00:34 +0000)]
The read() in apr_recv() would always be called first and return EAGAIN.
This one change to eliminate the read unless there are really bytes to read
is good for a 7 to 9% performance boost on AIX.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89809
13f79535 -47bb-0310-9956-
ffa450edef68