]>
granicus.if.org Git - apache/log
Jeff Trawick [Tue, 12 Jun 2001 12:55:22 +0000 (12:55 +0000)]
get threaded.c to compile on non-AIX systems which have sys/processor.h
if we want to call bindprocessor(), we should check for bindprocessor(),
not some header file
(prefork and perchild to be fixed shortly)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89351
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Mon, 11 Jun 2001 23:43:22 +0000 (23:43 +0000)]
Clean up formatting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89347
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Mon, 11 Jun 2001 22:45:45 +0000 (22:45 +0000)]
SINGLE_LISTEN_UNSERIALIZED_ACCEPT applies to every kernel after
2.2, not just 2.2.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89346
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Mon, 11 Jun 2001 21:41:56 +0000 (21:41 +0000)]
Make the processor unbinding/re-binding stuff on AIX work again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89341
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 11 Jun 2001 18:23:21 +0000 (18:23 +0000)]
back out a change from last week that reversed the meaning of pod_in and
pod_out; after that change, all read and write syscalls on the handles
failed because pod_in was only readable and pod_out was only writable
we could instead reverse the order of the parameters to apr_pipe_create
so that the descriptors returned by pipe() get put in the right place,
but it seems better to stick with APR terminology for what is the input
handle and what is the output handle
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89335
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Mon, 11 Jun 2001 17:52:37 +0000 (17:52 +0000)]
Document the fact that this is now an autogenerated file.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89334
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 11 Jun 2001 14:46:30 +0000 (14:46 +0000)]
Silence gcc warning about rv being used when possibly uninitialized. That
can only happen if n<=1 (ie, a bad parameter value), so I figure APR_EINVAL
is the correct default value.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89333
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sun, 10 Jun 2001 21:01:57 +0000 (21:01 +0000)]
Fix look in htdigest. Reimplemented getline to work properly with
APR. Shuld consider adding apr_file_getline() to APR. Should also consider
changing apr_file_getc() to return characters rather than apr_status.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89331
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 10 Jun 2001 20:47:22 +0000 (20:47 +0000)]
Whoops, wanted the original unix language, not win32's, for both
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89330
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 10 Jun 2001 20:44:17 +0000 (20:44 +0000)]
Bring win32 and the rest of the world into sync, or closer into sync.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89329
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 10 Jun 2001 20:11:31 +0000 (20:11 +0000)]
Two duplicate working cvs copies down, several to go.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89328
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 10 Jun 2001 19:57:28 +0000 (19:57 +0000)]
Now that it works, adjust the conf appropriately.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89327
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 10 Jun 2001 00:37:59 +0000 (00:37 +0000)]
Was certain I had committed this. Position the scoreboard members such
that the size and members can be derrived by the most stable elements,
followed by derived elements. [Harrie Hazewinkel]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89326
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sat, 9 Jun 2001 15:57:06 +0000 (15:57 +0000)]
Enable SetEnvIf to handle taking a regex on the header name (SPECIAL_NOT case).
For example:
SetEnvIf ^TS* ^[a-z].* HAVE_TS
will cause HAVE_TS to be set if a header beginning with TS appears in the request
and the value of that header starts with [a-z]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89325
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 11:33:07 +0000 (11:33 +0000)]
Updating docs to change around the order of extern and
AP[RU]_DECLARE_DATA. If this is incorrect, please yell.
However, the vast majority of the code follows the convention
documented in this patch.
If this is in error, I will gladly back it out.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89324
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:47:23 +0000 (08:47 +0000)]
WooHoo!
(Only limitations - mod_proxy and mod_dav, soon to be corrected).
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89322
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:28:08 +0000 (08:28 +0000)]
Make this little hack slightly more palatable.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89321
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:20:11 +0000 (08:20 +0000)]
Still needs to be built, though.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89320
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:16:14 +0000 (08:16 +0000)]
No, libtool shouldn't build this. :p
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89319
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:06:38 +0000 (08:06 +0000)]
xlC isn't as accepting as gcc; make things tolerable for it.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89318
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 08:05:53 +0000 (08:05 +0000)]
Slight Clean-up.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89317
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 06:33:50 +0000 (06:33 +0000)]
Add the missing AP[RU]_DECLARE_DATA symbols to httpd.exp.
httpd.exp should now be generated automatically.
Any missing symbols are now the fault of awk scripts.
Or rather, their authors. :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89316
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Sat, 9 Jun 2001 04:21:27 +0000 (04:21 +0000)]
Ordering changes, for detection's sake.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89315
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 9 Jun 2001 02:57:46 +0000 (02:57 +0000)]
pod_in shouldn't be non-blocking after all
Submitted by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89314
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 8 Jun 2001 20:36:09 +0000 (20:36 +0000)]
Clean up this relative path too.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89312
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 8 Jun 2001 16:53:10 +0000 (16:53 +0000)]
the input handle to the pod (used by child processes) needs to be non-blocking
before this, no requests could be processed by prefork since after connect
from the client prefork would block reading the pod
the write handle to the pod probably doesn't have to be non-blocking, but
getting EAGAIN for the pipe-full condition, rather than blocking, is nice
for now since it would tend to indicate that something is FUBAR; on the other
hand, this probably needs to change in order to support more than 4K workers
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89310
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 8 Jun 2001 16:39:48 +0000 (16:39 +0000)]
We need to increment i during this for loop. Without this change, we will
end up in an infinite loop.
Submitted by: Ryan Morgan
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89309
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 8 Jun 2001 15:02:25 +0000 (15:02 +0000)]
Greg was right, I was wrong.
We don;t need these here anymore, since the copy is done directly from the
server directory.
I need more sleep. :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89308
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 8 Jun 2001 14:49:20 +0000 (14:49 +0000)]
DISTCLEAN, not EXTRACLEAN.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89307
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 8 Jun 2001 14:43:02 +0000 (14:43 +0000)]
Make sure httpd.exp gets cleaned up only with a distclean, and not every time.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89306
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Fri, 8 Jun 2001 11:00:14 +0000 (11:00 +0000)]
Convert the filter and brigade writing functions to return status values,
not byte counts.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89305
13f79535 -47bb-0310-9956-
ffa450edef68
Chuck Murcko [Fri, 8 Jun 2001 09:59:25 +0000 (09:59 +0000)]
moved CHANGES here
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89304
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 8 Jun 2001 04:55:44 +0000 (04:55 +0000)]
It helps to write to the input side of the pipe, and read from the output
side.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89303
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Fri, 8 Jun 2001 02:13:18 +0000 (02:13 +0000)]
(A few) Small changes to pass full paths instead of relatives.
One relative left; not sure whether to change it too or not.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89302
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Fri, 8 Jun 2001 02:00:47 +0000 (02:00 +0000)]
Small change to pass full paths instead of relatives.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89301
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 23:32:14 +0000 (23:32 +0000)]
Clean out httpd.exp when cleaning up.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89300
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 23:29:54 +0000 (23:29 +0000)]
Ignore the now-irrelevant httpd.exp.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89299
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 20:54:38 +0000 (20:54 +0000)]
On the trail to getting make_export.awk pull in the right symbols.
Hence, we are tossing this old pain in the neck :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89297
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 17:22:12 +0000 (17:22 +0000)]
trace failures of a couple of crucial socket calls in ap_mpm_pod_signal()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89296
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 16:49:03 +0000 (16:49 +0000)]
check the pod in the child at a different spot so that we check it
when we get a new connection; we were (essentially) never checking it
before
we check it when weird errors occur too but that shouldn't matter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89295
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 15:18:28 +0000 (15:18 +0000)]
improve ap_mpm_pod_signal() by not let it loop until it fills the pipe
it still doesn't handle the pipe being full for other reasons (bazillions
of child processes?), but I'm not sure that is a real occurrence
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89294
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 14:45:03 +0000 (14:45 +0000)]
fix a thread-safety bug by using apr_strtok() instead of strtok()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89293
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 10:46:12 +0000 (10:46 +0000)]
A little cloudy, but clearing...
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89292
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Thu, 7 Jun 2001 10:38:13 +0000 (10:38 +0000)]
correct the back-out of this change. it used to be ap_log_perror()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89291
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 10:31:09 +0000 (10:31 +0000)]
Ooopsie. Some unintended things slipped in.
Backing them out.
Sorry.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89290
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Thu, 7 Jun 2001 10:13:25 +0000 (10:13 +0000)]
*) Add apr_bucket_setaside_noop to use for buckets that do not require a
setaside function. It simply returns APR_SUCCESS.
- adjust the EOS, FLUSH, IMMORTAL, and HEAP buckets to use _noop.
*) Make the setaside() function take a pool to define the (new) lifetime for
the bucket's data.
- Adjust the apr_bucket_setaside() macro.
- Adjust the apr_bucket_setaside_notimpl() and transient_setaside()
functions.
- Pass the additional parameter in ap_save_brigade()
*) Update docs for setaside()
*) Minor nit with macros in apr_buckets.h: add parens for binding safety.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89289
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Thu, 7 Jun 2001 10:03:29 +0000 (10:03 +0000)]
Generate httpd.exp on the fly.
This should allow DSOs to work on AIX, without the headache of maintaining
the httpd.exp file.
This is adapted from OS/2's generation of ApacheCoreOS2.def.
There exist a few bugs still:
1) mod_dav and mod_proxy may not yet work, due to certain namespace issues.
2) Some symbols may need to be added, a la core_header.def
Once these have been fixed, the old httpd.exp file will be deleted.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89288
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Thu, 7 Jun 2001 05:14:13 +0000 (05:14 +0000)]
Port typo fix from 1.3.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89287
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 03:02:03 +0000 (03:02 +0000)]
back out bogus "fix" for subrequest buckets using wrong pool
Submitted by: Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89286
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 01:29:20 +0000 (01:29 +0000)]
the subrequest pool issue wasn't recent breakage so mention it in
CHANGES
subsequent fixers feel free to overlay may name with yours :)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89285
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 01:24:44 +0000 (01:24 +0000)]
implement Ryan's suggested fix for buckets associated with a subrequest
having private data in the wrong (i.e., subrequest) pool, leading to
a segfault later in processing the main request
in the patch posted on new-httpd, the temporary brigade was allocated from
the connection pool; the committed code allocates the brigade from the
main-request pool, as suggested by Ian Holsman
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89284
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 7 Jun 2001 01:14:24 +0000 (01:14 +0000)]
don't add BYTERANGE, CONTENT_LENGTH, or HTTP_HEADER for
subrequests; they only make sense for main requests and
internal redirects
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89283
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Thu, 7 Jun 2001 00:09:16 +0000 (00:09 +0000)]
First pass at the pipe_of_death logic for the prefork MPM. This does
pass some initial testing, but it needs to be banged on more. It looks
like if the server gets a lot of requests to restart all at once, there
are potential problems, but other than that this does seem to solve our
current restart issues.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89282
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 6 Jun 2001 22:24:54 +0000 (22:24 +0000)]
Add a new request phase, for allowing management modules to forward
error logs to their management agents.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89281
13f79535 -47bb-0310-9956-
ffa450edef68
Chuck Murcko [Wed, 6 Jun 2001 21:51:58 +0000 (21:51 +0000)]
Use apr-util's date functions now
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89280
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Wed, 6 Jun 2001 21:28:20 +0000 (21:28 +0000)]
Make mod_echo use filters for all communication with clients.
Submitted by: Ryan Morgan <rmorgan@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89279
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 19:37:15 +0000 (19:37 +0000)]
get rid of util_date.c/util_date.h and associated test program
test_date.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89278
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 19:30:54 +0000 (19:30 +0000)]
use apr-util's apr_date_parse_http() instead of the to-be-removed
ap_parseHTTPdate()
(proxy needs to make similar changes)
build changes forthcoming...
Submitted by: Justin Erenkrantz
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89277
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 12:51:21 +0000 (12:51 +0000)]
nicer to compare r->finfo.filetype with APR_NOFILE instead of 0
the sub request output filter shouldn't lose the return code from
the next filter
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89275
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 12:48:45 +0000 (12:48 +0000)]
filters should return APR status codes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89274
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 10:43:46 +0000 (10:43 +0000)]
initialize local condition_var var to keep garbage out of struct
header_entry->condition_var and avoid a segfault later
(untested, but it looks good to me :) )
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89273
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 6 Jun 2001 00:54:06 +0000 (00:54 +0000)]
ap_getword_conf wants const char **, not char **
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89272
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 5 Jun 2001 21:44:48 +0000 (21:44 +0000)]
Extend mod_headers to support conditional driven Header
add, append and set. Use SetEnvIf to set an envar and conditionally
add/append/set headers based on this envar thusly:
SetEnvIf TSMyHeader value HAVE_TSMyHeader
Header add MyHeader "%t %D" env=HAVE_TSMyHeader
If the request contains header "TSMyHeader: value" then header
MyHeader: "t=xxxxxxxxxx D=yyyy" will be sent on the response.
Update mod_headers.html.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89271
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 5 Jun 2001 18:24:28 +0000 (18:24 +0000)]
it's hot out there
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89270
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 4 Jun 2001 21:43:08 +0000 (21:43 +0000)]
Fix the reset_filters function. If we set r->output_filters to NULL,
then we also have to reset the connection's filters.
Submitted by: John Sterling <sterling@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89269
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Mon, 4 Jun 2001 15:29:53 +0000 (15:29 +0000)]
Further explain the custom bucket types idea for mod_file_cache
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89267
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Mon, 4 Jun 2001 14:20:20 +0000 (14:20 +0000)]
mod_file_cache brokeness
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89266
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 4 Jun 2001 10:43:50 +0000 (10:43 +0000)]
void * isn't compatible with a function pointer; deal with retrieving a
function pointer from apr_hash_get()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89263
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 4 Jun 2001 04:00:03 +0000 (04:00 +0000)]
Fix some broken logic in the prefork MPM. Basically, in the past, if we
accepted a request, we didn't want to die if given a graceful restart
signal. The logic I am removing stops us from dying for a graceless
restart/stop signal, which is just wrong. If we are sent a graceless
restart/stop, then we need to stop immediately.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89262
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 3 Jun 2001 11:59:18 +0000 (11:59 +0000)]
Doxygenation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89261
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 3 Jun 2001 11:21:51 +0000 (11:21 +0000)]
Function declaration must be a prototype.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89260
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 2 Jun 2001 00:22:19 +0000 (00:22 +0000)]
mention another problem experienced on daedalus using 2_0_16
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89257
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 1 Jun 2001 22:14:01 +0000 (22:14 +0000)]
Optimise reset_filter() in http_protocol.c
PR:
Obtained from:
Submitted by: Greg Stein
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89256
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 1 Jun 2001 19:55:48 +0000 (19:55 +0000)]
Extend Header add|set|append support to accept format strings for the
header values. Configure thusly:
Header add MyHeader "%t %D yadda"
%t is the time the request was received relative to CUT since the epoch measured in microseconds.
%D is the time delta from the time the request was received to the time the headers are sent
on the wire. To facilitate parsing the header response, %D results in the string D=xxx and
%t results in the string t=xxx. Thus the config directive above will result in this header
being included in the response:
MyHeader: t=
991424704447256 D=
3775428 yadda
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89255
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 1 Jun 2001 19:34:23 +0000 (19:34 +0000)]
Return "1" to apr_table_do()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89254
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 1 Jun 2001 17:35:07 +0000 (17:35 +0000)]
Add a check to ap_die() to make sure the filter stack is sane and
contains the correct basic filters when an error occurs. This fixes
a problem where headers are not being sent on error.
PR:
Obtained from:
Submitted by: John Sterling
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89253
13f79535 -47bb-0310-9956-
ffa450edef68
Graham Leggett [Fri, 1 Jun 2001 17:26:19 +0000 (17:26 +0000)]
Move the addition of default AP_HTTP_HTTP_HEADER filters to the
insert_filter phase so that other filters are not bypassed by default.
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89252
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 1 Jun 2001 04:39:08 +0000 (04:39 +0000)]
Update doc with info on Header echo directive
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89251
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 1 Jun 2001 02:58:44 +0000 (02:58 +0000)]
Add the 'echo' option to mod_headers Header directive. Use the new option
like this:
Header echo regex
If a header received on a request matches regex, it is copied to the response
headers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89250
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Thu, 31 May 2001 18:10:04 +0000 (18:10 +0000)]
handle the SERVER_IDLE_KILL state in some of the ExtendedStatus=On
output
I don't have 100% confidence in my guess as to why some of the state labels
are in bold and some aren't (e.g., "<b>Write</b>" vs. "Graceful". Hopefully
any rhyme or reason to it is maintained with my change.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89249
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 30 May 2001 14:14:26 +0000 (14:14 +0000)]
a worker being cleaned up is not processing a request; filter out such
workers when counting the number of requests being processed
we won't count such workers as idle either, since they aren't available
to process new requests
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89248
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 10:27:24 +0000 (10:27 +0000)]
Add png's
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89247
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 10:22:19 +0000 (10:22 +0000)]
Add description strings for AuthDb*File
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89246
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 08:37:27 +0000 (08:37 +0000)]
Add RequestHeader
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89245
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 08:35:33 +0000 (08:35 +0000)]
Fix broken #target
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89244
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 07:54:51 +0000 (07:54 +0000)]
First step at stamping out gif's: convert them to png
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89243
13f79535 -47bb-0310-9956-
ffa450edef68
Martin Kraemer [Wed, 30 May 2001 07:48:56 +0000 (07:48 +0000)]
First step at stamping out gif's: convert them to png
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89242
13f79535 -47bb-0310-9956-
ffa450edef68
Doug MacEachern [Wed, 30 May 2001 05:18:33 +0000 (05:18 +0000)]
back out filter change that is preventing headers to be sent
PR:
Obtained from:
Submitted by: john sterling
Reviewed by: dougm
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89239
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Mon, 28 May 2001 15:50:27 +0000 (15:50 +0000)]
Remove many redundant semicolons.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89237
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Mon, 28 May 2001 15:49:17 +0000 (15:49 +0000)]
Merging was bollocks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89236
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Mon, 28 May 2001 15:32:50 +0000 (15:32 +0000)]
Doxygenation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89235
13f79535 -47bb-0310-9956-
ffa450edef68
Yoshiki Hayashi [Mon, 28 May 2001 10:37:34 +0000 (10:37 +0000)]
Typo fix.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89233
13f79535 -47bb-0310-9956-
ffa450edef68
Ben Laurie [Sun, 27 May 2001 15:31:08 +0000 (15:31 +0000)]
Utility to list available hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89232
13f79535 -47bb-0310-9956-
ffa450edef68
Ralf S. Engelschall [Fri, 25 May 2001 20:04:47 +0000 (20:04 +0000)]
mod_ssl status
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89231
13f79535 -47bb-0310-9956-
ffa450edef68
Victor J. Orlikowski [Wed, 23 May 2001 15:13:02 +0000 (15:13 +0000)]
Change strtok() calls to use apr_strtok().
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89221
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 23 May 2001 14:25:49 +0000 (14:25 +0000)]
export apr_strtok() too
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89218
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 23 May 2001 13:56:34 +0000 (13:56 +0000)]
include/ap_compat.h tested and set APR_COMPAT_H instead of AP_COMPAT_H.
This prevented the inclusion of apr_compat.h.
PR: 7773
Submitted by: Oleg Broytmann <phd@phd.pp.ru>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89217
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 23 May 2001 13:34:46 +0000 (13:34 +0000)]
One drawback to .dsps, nobody watches the command line build head
anymore :-) Fix for relocation of uri_delims
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89216
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 23 May 2001 13:31:59 +0000 (13:31 +0000)]
Unnecessary with apxs
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89215
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 23 May 2001 13:31:05 +0000 (13:31 +0000)]
Need to have apxs for building such things
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89214
13f79535 -47bb-0310-9956-
ffa450edef68