]> granicus.if.org Git - apache/log
apache
23 years agoAdd a pool to the ap_save_brigade prototype. This removes a todo from
Ryan Bloom [Wed, 13 Jun 2001 13:44:40 +0000 (13:44 +0000)]
Add a pool to the ap_save_brigade prototype.  This removes a todo from
the comments that is really necessary before the setaside stuff will
work properly.

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

23 years agoFix seg faults and/or missing output from mod_include. The
Greg Ames [Tue, 12 Jun 2001 19:03:08 +0000 (19:03 +0000)]
Fix seg faults and/or missing output from mod_include.  The
default_handler was using the subrequest pool for files and
MMAPs, even though the associated APR structures typically
live longer than the subrequest.

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

23 years agoExtend mod_setenvif to support specifying regular expressions
Bill Stoddard [Tue, 12 Jun 2001 17:06:04 +0000 (17:06 +0000)]
Extend mod_setenvif to support specifying regular expressions
on the SetEnvIf (and SetEnvIfNoCase) directive attribute field.
Example:  SetEnvIf ^TS*  [a-z].* HAVE_TS
will cause HAVE_TS to be set if any of the request headers begins
with "TS" and has a value that begins with any character in the
set [a-z]. [Bill Stoddard]

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

23 years agofix the bindprocessor() code selection; we need to test for the
Jeff Trawick [Tue, 12 Jun 2001 14:04:12 +0000 (14:04 +0000)]
fix the bindprocessor() code selection; we need to test for the
presence of the bindprocessor() function, not for sys/processor.h,
which exists on some systems that don't have bindprocessor()

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

23 years agoget threaded.c to compile on non-AIX systems which have sys/processor.h
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

23 years agoClean up formatting.
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

23 years agoSINGLE_LISTEN_UNSERIALIZED_ACCEPT applies to every kernel after
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

23 years agoMake the processor unbinding/re-binding stuff on AIX work again.
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

23 years agoback out a change from last week that reversed the meaning of pod_in and
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

23 years agoDocument the fact that this is now an autogenerated file.
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

23 years agoSilence gcc warning about rv being used when possibly uninitialized. That
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

23 years agoFix look in htdigest. Reimplemented getline to work properly with
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

23 years ago Whoops, wanted the original unix language, not win32's, for both
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

23 years ago Bring win32 and the rest of the world into sync, or closer into sync.
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

23 years ago Two duplicate working cvs copies down, several to go.
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

23 years ago Now that it works, adjust the conf appropriately.
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

23 years ago Was certain I had committed this. Position the scoreboard members such
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

23 years agoEnable SetEnvIf to handle taking a regex on the header name (SPECIAL_NOT case).
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

23 years agoUpdating docs to change around the order of extern and
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

23 years agoWooHoo!
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

23 years agoMake this little hack slightly more palatable.
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

23 years agoStill needs to be built, though.
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

23 years agoNo, libtool shouldn't build this. :p
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

23 years agoxlC isn't as accepting as gcc; make things tolerable for it.
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

23 years agoSlight Clean-up.
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

23 years agoAdd the missing AP[RU]_DECLARE_DATA symbols to httpd.exp.
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

23 years agoOrdering changes, for detection's sake.
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

23 years agopod_in shouldn't be non-blocking after all
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

23 years agoClean up this relative path too.
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

23 years agothe input handle to the pod (used by child processes) needs to be non-blocking
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

23 years agoWe need to increment i during this for loop. Without this change, we will
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

23 years agoGreg was right, I was wrong.
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

23 years agoDISTCLEAN, not EXTRACLEAN.
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

23 years agoMake sure httpd.exp gets cleaned up only with a distclean, and not every time.
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

23 years agoConvert the filter and brigade writing functions to return status values,
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

23 years agomoved CHANGES here
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

23 years agoIt helps to write to the input side of the pipe, and read from the output
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

23 years ago(A few) Small changes to pass full paths instead of relatives.
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

23 years agoSmall change to pass full paths instead of relatives.
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

23 years agoClean out httpd.exp when cleaning up.
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

23 years agoIgnore the now-irrelevant httpd.exp.
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

23 years agoOn the trail to getting make_export.awk pull in the right symbols.
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

23 years agotrace failures of a couple of crucial socket calls in ap_mpm_pod_signal()
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

23 years agocheck the pod in the child at a different spot so that we check it
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

23 years agoimprove ap_mpm_pod_signal() by not let it loop until it fills the pipe
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

23 years agofix a thread-safety bug by using apr_strtok() instead of strtok()
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

23 years agoA little cloudy, but clearing...
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

23 years agocorrect the back-out of this change. it used to be ap_log_perror()
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

23 years agoOoopsie. Some unintended things slipped in.
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

23 years ago*) Add apr_bucket_setaside_noop to use for buckets that do not require a
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

23 years agoGenerate httpd.exp on the fly.
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

23 years agoPort typo fix from 1.3.
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

23 years agoback out bogus "fix" for subrequest buckets using wrong pool
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

23 years agothe subrequest pool issue wasn't recent breakage so mention it in
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

23 years agoimplement Ryan's suggested fix for buckets associated with a subrequest
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

23 years agodon't add BYTERANGE, CONTENT_LENGTH, or HTTP_HEADER for
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

23 years agoFirst pass at the pipe_of_death logic for the prefork MPM. This does
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

23 years agoAdd a new request phase, for allowing management modules to forward
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

23 years agoUse apr-util's date functions now
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

23 years agoMake mod_echo use filters for all communication with clients.
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

23 years agoget rid of util_date.c/util_date.h and associated test program
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

23 years agouse apr-util's apr_date_parse_http() instead of the to-be-removed
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

23 years agonicer to compare r->finfo.filetype with APR_NOFILE instead of 0
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

23 years agofilters should return APR status codes
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

23 years agoinitialize local condition_var var to keep garbage out of struct
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

23 years agoap_getword_conf wants const char **, not char **
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

23 years agoExtend mod_headers to support conditional driven Header
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

23 years agoit's hot out there
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

23 years agoFix the reset_filters function. If we set r->output_filters to NULL,
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

23 years agoFurther explain the custom bucket types idea for mod_file_cache
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

23 years agomod_file_cache brokeness
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

23 years agovoid * isn't compatible with a function pointer; deal with retrieving a
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

23 years agoFix some broken logic in the prefork MPM. Basically, in the past, if we
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

23 years agoDoxygenation.
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

23 years agoFunction declaration must be a prototype.
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

23 years agomention another problem experienced on daedalus using 2_0_16
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

23 years agoOptimise reset_filter() in http_protocol.c
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

23 years agoExtend Header add|set|append support to accept format strings for the
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

23 years agoReturn "1" to apr_table_do()
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

23 years agoAdd a check to ap_die() to make sure the filter stack is sane and
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

23 years agoMove the addition of default AP_HTTP_HTTP_HEADER filters to the
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

23 years agoUpdate doc with info on Header echo directive
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

23 years agoAdd the 'echo' option to mod_headers Header directive. Use the new option
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

23 years agohandle the SERVER_IDLE_KILL state in some of the ExtendedStatus=On
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

23 years agoa worker being cleaned up is not processing a request; filter out such
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

23 years agoAdd png's
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

23 years agoAdd description strings for AuthDb*File
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

23 years agoAdd RequestHeader
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

23 years agoFix broken #target
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

23 years agoFirst step at stamping out gif's: convert them to png
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

23 years agoFirst step at stamping out gif's: convert them to png
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

23 years agoback out filter change that is preventing headers to be sent
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

23 years agoRemove many redundant semicolons.
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

23 years agoMerging was bollocks.
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

23 years agoDoxygenation.
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

23 years agoTypo fix.
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

23 years agoUtility to list available hooks.
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

23 years agomod_ssl status
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

23 years agoChange strtok() calls to use apr_strtok().
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

23 years agoexport apr_strtok() too
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