]> granicus.if.org Git - apache/log
apache
23 years agoSome doc updates realted to ssi.
Joshua Slive [Mon, 23 Jul 2001 15:50:47 +0000 (15:50 +0000)]
Some doc updates realted to ssi.

1. Add info on how to activate ssi to upgrading.html.

2. Remove mention of the ssi magic mime-types, since they no
longer work.

3. Place a warning on xbithack that it doesn't currently work,
and reference the bug report.

4. Add a warning about mod_include parsing non-html content.

5. Misc little fixups.

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

23 years agoThe bucket should be created with the size of the data NOT including a null
Cliff Woolley [Mon, 23 Jul 2001 13:45:44 +0000 (13:45 +0000)]
The bucket should be created with the size of the data NOT including a null
terminator as its length.  Otherwise, the bucket length value is wrong (too big
by one).

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

23 years agotweak make_exports.awk so it works with nawk on Solaris
Jeff Trawick [Mon, 23 Jul 2001 12:40:40 +0000 (12:40 +0000)]
tweak make_exports.awk so it works with nawk on Solaris

Submitted by: Sander Striker

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

23 years agofix a typo (duplicate return statement)
Jeff Trawick [Mon, 23 Jul 2001 11:50:11 +0000 (11:50 +0000)]
fix a typo (duplicate return statement)

Submitted by: Justin Erenkrantz

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

23 years agoFix a cosmetic problem with mod_include. Non-existant SSI vars
Ryan Bloom [Sun, 22 Jul 2001 23:00:52 +0000 (23:00 +0000)]
Fix a cosmetic problem with mod_include.  Non-existant SSI vars
used to appear as '(none', without the closing paren.
Submitted by: G�nter Knauf <eflash@gmx.net>

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

23 years agoSander says:
Brian Havard [Sat, 21 Jul 2001 13:33:31 +0000 (13:33 +0000)]
Sander says:

  I missed the hook declarations in my previous
  script. This is added by the patch below.

  The patch also removes unneeded ; that slipped
  in because I use c a lot more than awk :)

  I moved a rule around so removal of leading
  whitespace could go into one rule
  (see AP[RU]?_DECLARE).

  Also removed the additional idx variable in
  favor of checking the return value of the
  index function.

Submitted by: Sander Striker <striker@apache.org>
Reviewed by: Brian Havard <brianh@kheldar.apana.org.au>

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

23 years agoAPR now uses the correct gethostbyname_r when available, so this has
Ryan Bloom [Sat, 21 Jul 2001 06:47:58 +0000 (06:47 +0000)]
APR now uses the correct gethostbyname_r when available, so this has
effectively been solved.
Submitted by: Justin Erenkrantz <jerenkrantz@ebuilt.com>

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

23 years agoThese two files aren't used anymore, so we can get rid of them now.
Ryan Bloom [Sat, 21 Jul 2001 06:40:14 +0000 (06:40 +0000)]
These two files aren't used anymore, so we can get rid of them now.

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

23 years agoImprove the exports generating awk script. In the past, we had
Ryan Bloom [Sat, 21 Jul 2001 06:34:54 +0000 (06:34 +0000)]
Improve the exports generating awk script.  In the past, we had
work around problems in the awk script by avoiding some #if and
#ifdefs.  This has bitten us many times in generating the exports.c
file.  This improvement allows corrects the header file parsing.

Submitted by: Sander Striker <striker@apache.org>

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

23 years ago Do we hear any objections?
William A. Rowe Jr [Fri, 20 Jul 2001 20:39:30 +0000 (20:39 +0000)]
  Do we hear any objections?

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

23 years ago Update for latest structure changes for 2.0.21
William A. Rowe Jr [Fri, 20 Jul 2001 20:00:50 +0000 (20:00 +0000)]
  Update for latest structure changes for 2.0.21

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

23 years ago Clean up unnecessary duplicate references to pcre (they fall out of
William A. Rowe Jr [Fri, 20 Jul 2001 19:48:02 +0000 (19:48 +0000)]
  Clean up unnecessary duplicate references to pcre (they fall out of
  libhttpd as our own ap_regexec()) and force InstallBin as the default
  project by moving it to the head of the list, so the first access of
  this .dsp will take InstallBin.dsp as the active project.

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

23 years ago APR_FINFO_TYPE is all we really needed here.
William A. Rowe Jr [Fri, 20 Jul 2001 19:19:39 +0000 (19:19 +0000)]
  APR_FINFO_TYPE is all we really needed here.

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

23 years ago A pool is a REQUIRED ARGUMENT, never optional (NULL).
William A. Rowe Jr [Fri, 20 Jul 2001 19:13:44 +0000 (19:13 +0000)]
  A pool is a REQUIRED ARGUMENT, never optional (NULL).
  This is why Mladen observed that htpasswd was still broken.

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

23 years agoGet ONE_PROCESS working again for beos.
David Reid [Fri, 20 Jul 2001 10:09:43 +0000 (10:09 +0000)]
Get ONE_PROCESS working again for beos.

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

23 years agoIf we've spent the effort of getting some connections, when we die with an
David Reid [Fri, 20 Jul 2001 09:51:43 +0000 (09:51 +0000)]
If we've spent the effort of getting some connections, when we die with an
error at least inform the user how many we completed before dying.
Tidy up some formatting...

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

23 years ago That's it. Adjust for our pcre transition, and the whole thing links
William A. Rowe Jr [Thu, 19 Jul 2001 22:35:32 +0000 (22:35 +0000)]
  That's it.  Adjust for our pcre transition, and the whole thing links
  once again.

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

23 years ago We want the ssl_expr evaluators, now
William A. Rowe Jr [Thu, 19 Jul 2001 22:23:38 +0000 (22:23 +0000)]
  We want the ssl_expr evaluators, now

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

23 years ago Hope I've got these generated bits right. Note bison is more common
William A. Rowe Jr [Thu, 19 Jul 2001 22:20:58 +0000 (22:20 +0000)]
  Hope I've got these generated bits right.  Note bison is more common
  for Win32 then lexx.

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

23 years ago Take care of folk's assert() undefined errors.
William A. Rowe Jr [Thu, 19 Jul 2001 22:20:09 +0000 (22:20 +0000)]
  Take care of folk's assert() undefined errors.

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

23 years agoBump after the tag.
Ryan Bloom [Thu, 19 Jul 2001 21:49:41 +0000 (21:49 +0000)]
Bump after the tag.

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

23 years agoBumps for the release. The tag will be moved to this version.
Ryan Bloom [Thu, 19 Jul 2001 21:43:38 +0000 (21:43 +0000)]
Bumps for the release.  The tag will be moved to this version.

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

23 years ago A dash of portability
William A. Rowe Jr [Thu, 19 Jul 2001 21:39:26 +0000 (21:39 +0000)]
  A dash of portability

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

23 years ago Since mpm.h wraps unixd.h and scoreboard.h nicely, and win32 has
William A. Rowe Jr [Thu, 19 Jul 2001 21:30:37 +0000 (21:30 +0000)]
  Since mpm.h wraps unixd.h and scoreboard.h nicely, and win32 has
  no unixd.h, well...

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

23 years ago Uhmm... need to NOCRYPT away WinCrypt.h
William A. Rowe Jr [Thu, 19 Jul 2001 21:29:20 +0000 (21:29 +0000)]
  Uhmm... need to NOCRYPT away WinCrypt.h

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

23 years agoUpdate TODO list
Ralf S. Engelschall [Thu, 19 Jul 2001 21:03:43 +0000 (21:03 +0000)]
Update TODO list

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

23 years ago Workaround till connection_hook details are resolved
William A. Rowe Jr [Thu, 19 Jul 2001 20:02:28 +0000 (20:02 +0000)]
  Workaround till connection_hook details are resolved
  [MATHIHALLI,MADHUSUDAN <madhusudan_mathihalli@hp.com>]

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

23 years ago A smart answer to users attempting the -s arg to ab.
William A. Rowe Jr [Thu, 19 Jul 2001 16:40:42 +0000 (16:40 +0000)]
  A smart answer to users attempting the -s arg to ab.

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

23 years agoApply mod_ssl MEGA porting patch. This is a cleaned up version of the
Ralf S. Engelschall [Thu, 19 Jul 2001 16:08:01 +0000 (16:08 +0000)]
Apply mod_ssl MEGA porting patch. This is a cleaned up version of the
latest patches from Madhusudan which makes mod_ssl 95% working inside
Apache 2.0. There is still a lot of more work (both porting and cleanup)
to do be done. See modules/ssl/README for details.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoSome small changes...
David Reid [Thu, 19 Jul 2001 12:49:32 +0000 (12:49 +0000)]
Some small changes...
- use palloc instead of pcalloc
- add code to set larger FD_SETSIZE if appropriate
- some formatting tidy up

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

23 years agofix the type of parms to apr_send() and apr_recv()
Jeff Trawick [Thu, 19 Jul 2001 12:43:22 +0000 (12:43 +0000)]
fix the type of parms to apr_send() and apr_recv()

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

23 years ago Truncate the working set in ab by introducing a connection pool.
William A. Rowe Jr [Thu, 19 Jul 2001 04:39:17 +0000 (04:39 +0000)]
  Truncate the working set in ab by introducing a connection pool.

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

23 years agofix memory leak of apr_sockaddr_t and apr_socket_t in ap_mpm_pod_signal,
Greg Ames [Wed, 18 Jul 2001 21:16:40 +0000 (21:16 +0000)]
fix memory leak of apr_sockaddr_t and apr_socket_t in ap_mpm_pod_signal,
called by perform_idle_server_maintenance.

allocate & init one apr_sockaddr_t for the dummy connect at pod open time.
use a temporary subpool for the apr_socket_t

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

23 years ago Last of the ignore goodness for today.
William A. Rowe Jr [Wed, 18 Jul 2001 21:15:50 +0000 (21:15 +0000)]
  Last of the ignore goodness for today.

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

23 years ago Remainder of Win32 ap_create_scoreboard fooness
William A. Rowe Jr [Wed, 18 Jul 2001 21:14:21 +0000 (21:14 +0000)]
  Remainder of Win32 ap_create_scoreboard fooness

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

23 years ago Fix ap_create_scoreboard fooness on Win32.
William A. Rowe Jr [Wed, 18 Jul 2001 21:13:04 +0000 (21:13 +0000)]
  Fix ap_create_scoreboard fooness on Win32.

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

23 years agoMake scoreboard creation a hook. This allows management
Ryan Bloom [Wed, 18 Jul 2001 20:45:36 +0000 (20:45 +0000)]
Make scoreboard creation a hook.  This allows management
modules to have access to the scoreboard at the time that it is
created, and at every restart request.
Submitted by: Cody Sherr <csherr@covalent.net>
Reviewed by: Ryan Bloom

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

23 years agoRemove APR_NO_INHERIT as it is now private.
Ian Holsman [Wed, 18 Jul 2001 20:35:13 +0000 (20:35 +0000)]
Remove APR_NO_INHERIT as it is now private.
sigh... the cost of being bleeding edge
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agos/destroy/free/g; likeness to SSL naming
Doug MacEachern [Wed, 18 Jul 2001 20:35:07 +0000 (20:35 +0000)]
s/destroy/free/g; likeness to SSL naming

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

23 years agogive some more diagnostics if server cert or key file cannot be read
Doug MacEachern [Wed, 18 Jul 2001 20:29:29 +0000 (20:29 +0000)]
give some more diagnostics if server cert or key file cannot be read

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

23 years agoChanged AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
Paul J. Reder [Wed, 18 Jul 2001 20:29:00 +0000 (20:29 +0000)]
Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and
added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
daemon index actually used in the scoreboard. I also
updated the pertinent calls.

Paul J. Reder

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

23 years agoBringing forward from 1.3: small changes to standardize argument types.
Joshua Slive [Wed, 18 Jul 2001 20:25:19 +0000 (20:25 +0000)]
Bringing forward from 1.3: small changes to standardize argument types.

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

23 years ago Missed one, all should have recovered from APR_INHERIT now.
William A. Rowe Jr [Wed, 18 Jul 2001 19:58:49 +0000 (19:58 +0000)]
  Missed one, all should have recovered from APR_INHERIT now.

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

23 years agoonly reset request level filters in reset_filters(), else for example
Doug MacEachern [Wed, 18 Jul 2001 19:52:40 +0000 (19:52 +0000)]
only reset request level filters in reset_filters(), else for example
TLSFilter gets wiped out, breaking any response that comes through ap_die
(including the frequent '304 not modified')
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years ago Remove last public vestigages of APR_INHERIT
William A. Rowe Jr [Wed, 18 Jul 2001 19:41:20 +0000 (19:41 +0000)]
  Remove last public vestigages of APR_INHERIT

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

23 years agoThis patch removes spaces that shouldn't be there.
Jeff Trawick [Wed, 18 Jul 2001 19:38:35 +0000 (19:38 +0000)]
This patch removes spaces that shouldn't be there.
It bit me when I tried to get the new make_exports
to work.  I now fixed my make_exports (will commit
patch later), so that will eat this anyway, but
it seems nicer to make this obey the coding style
rules as well.

Submitted by: Sander Striker

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

23 years agoadd dump_filters macro for printing r->{input,output}_filters chain info
Doug MacEachern [Wed, 18 Jul 2001 18:44:45 +0000 (18:44 +0000)]
add dump_filters macro for printing r->{input,output}_filters chain info

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

23 years agoadd cleanup of SSLStateMachine to tls filter
Doug MacEachern [Wed, 18 Jul 2001 18:18:20 +0000 (18:18 +0000)]
add cleanup of SSLStateMachine to tls filter

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

23 years ago Hmmm... editing with tabs != 8, eeuh. Just cleaning and fixing casts.
William A. Rowe Jr [Wed, 18 Jul 2001 18:08:57 +0000 (18:08 +0000)]
  Hmmm... editing with tabs != 8, eeuh.  Just cleaning and fixing casts.

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

23 years ago Fix some casting
William A. Rowe Jr [Wed, 18 Jul 2001 17:56:14 +0000 (17:56 +0000)]
  Fix some casting

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

23 years ago Omitted the arg
William A. Rowe Jr [Wed, 18 Jul 2001 17:14:09 +0000 (17:14 +0000)]
  Omitted the arg

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

23 years ago rbb's names still need work :)
William A. Rowe Jr [Wed, 18 Jul 2001 17:13:01 +0000 (17:13 +0000)]
  rbb's names still need work :)

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

23 years ago Changes to back out inherit flag from apr_os_sock_make()
William A. Rowe Jr [Wed, 18 Jul 2001 16:56:55 +0000 (16:56 +0000)]
  Changes to back out inherit flag from apr_os_sock_make()
  and apr_socket_create()

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

23 years ago sweep up some cruft, and clean out a good solve by Mr. Stoddard
William A. Rowe Jr [Wed, 18 Jul 2001 07:01:32 +0000 (07:01 +0000)]
  sweep up some cruft, and clean out a good solve by Mr. Stoddard

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

23 years ago Fix incl/libpath to / slashes for an upcoming patch to cvtdsp.c
William A. Rowe Jr [Tue, 17 Jul 2001 22:13:57 +0000 (22:13 +0000)]
  Fix incl/libpath to / slashes for an upcoming patch to cvtdsp.c

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

23 years agoChange the APR_INHERIT flag to APR_NO_INHERIT,which is the default (as recommended...
Ian Holsman [Tue, 17 Jul 2001 21:43:35 +0000 (21:43 +0000)]
Change the APR_INHERIT flag to APR_NO_INHERIT,which is the default (as recommended by rbb)

PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoBringing forward from 1.3: Changes to standardize the "argument types"
Joshua Slive [Tue, 17 Jul 2001 20:20:21 +0000 (20:20 +0000)]
Bringing forward from 1.3: Changes to standardize the "argument types"
in the syntax entires.

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

23 years agoRemember current porting state
Ralf S. Engelschall [Tue, 17 Jul 2001 17:26:48 +0000 (17:26 +0000)]
Remember current porting state

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

23 years agodummy ssl hooks need to return an int value for server to function with mod_ssl compi...
Doug MacEachern [Tue, 17 Jul 2001 16:36:15 +0000 (16:36 +0000)]
dummy ssl hooks need to return an int value for server to function with mod_ssl compiled in

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

23 years agoMerge in part II of a set of mod_ssl porting changes.
Ralf S. Engelschall [Tue, 17 Jul 2001 14:57:35 +0000 (14:57 +0000)]
Merge in part II of a set of mod_ssl porting changes.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoMerge in part of a set of mod_ssl porting changes.
Ralf S. Engelschall [Tue, 17 Jul 2001 14:38:06 +0000 (14:38 +0000)]
Merge in part of a set of mod_ssl porting changes.

Submitted by: Madhusudan Mathihalli <madhusudan_mathihalli@hp.com>

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

23 years agoNote the change to the CVS server in the buildconf script.
Ryan Bloom [Tue, 17 Jul 2001 04:57:43 +0000 (04:57 +0000)]
Note the change to the CVS server in the buildconf script.

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

23 years ago Obvious files that need inheritance, correct me if I'm wrong.
William A. Rowe Jr [Mon, 16 Jul 2001 21:07:40 +0000 (21:07 +0000)]
  Obvious files that need inheritance, correct me if I'm wrong.

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

23 years ago Fix for the new schema
William A. Rowe Jr [Mon, 16 Jul 2001 18:14:51 +0000 (18:14 +0000)]
  Fix for the new schema

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

23 years agoapplies change in APR function apr_socket_create, which added a new parameter.
Ian Holsman [Mon, 16 Jul 2001 17:54:38 +0000 (17:54 +0000)]
applies change in APR function apr_socket_create, which added a new parameter.
I defaulted these to APR_INHERIT.
Also..
the connection-close was being merged, insted of 'set'
PR:
Obtained from:
Submitted by:
Reviewed by:

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

23 years agoAdded an inherit flag to apr_socket_create and other socket creation
Ryan Bloom [Mon, 16 Jul 2001 16:11:05 +0000 (16:11 +0000)]
Added an inherit flag to apr_socket_create and other socket creation
functions.  This allows APR programs to specify that a socket should
be passed to any child processes that are created.  The inherit flag
is only meaningful if programs use apr_process_create().  This
also adds a couple of macros that allow APR types to set and unset
the inherit flag.

This also fixes Apache to use the new API.

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

23 years agoRemove a couple fields from the scoreboard that aren't currently used.
Ryan Bloom [Mon, 16 Jul 2001 02:29:33 +0000 (02:29 +0000)]
Remove a couple fields from the scoreboard that aren't currently used.
If we need these, they should be added when we begin to use them.

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

23 years agoLast Log entry was bogus.
Ian Holsman [Sat, 14 Jul 2001 20:18:45 +0000 (20:18 +0000)]
Last Log entry was bogus.
Changed to 'setting' the X-Forwarded-Server X-Forwarded-Host X-Forwarded-For
headers instead of merging them
PR:

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

23 years agoPR:
Ian Holsman [Sat, 14 Jul 2001 20:17:07 +0000 (20:17 +0000)]
PR:

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

23 years agoWin32: Prevent listening sockets from being inherited by
Bill Stoddard [Fri, 13 Jul 2001 18:46:15 +0000 (18:46 +0000)]
Win32: Prevent listening sockets from being inherited by
the Apache child process, CGI scripts, rotatelog process
etc.  If the Apache child process segfaults, any processes
that the child started are not reaped. Prior to this fix,
these processes inherited the listening sockets which sometimes
prevented the restarted Apache child process from accepting
connections (ie, the server would hang).

The Sleep(1000) is a bit of a hack but it is sufficient I believe. All
that is really necessary is for the parent to give up its quantum and
allow the child to run. I could not get WaitForInputIdle to work properly.
Will investigate alternative solutions later.

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

23 years agoWin32: First of two patches to prevent child processes from inheriting open
Bill Stoddard [Fri, 13 Jul 2001 12:45:19 +0000 (12:45 +0000)]
Win32: First of two patches to prevent child processes from inheriting open
socket descriptors.

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

23 years agoSome STATUS updates.
Bill Stoddard [Thu, 12 Jul 2001 03:50:19 +0000 (03:50 +0000)]
Some STATUS updates.

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

23 years agoscratch an old itch - give lingering close its own state in the scoreboard.
Greg Ames [Thu, 12 Jul 2001 03:20:50 +0000 (03:20 +0000)]
scratch an old itch - give lingering close its own state in the scoreboard.

clean up SERVER_ACCEPTING and SERVER_QUEUEING (never set) while I'm at it.

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

23 years agoProvide vhost and abbreviated request strings on ExtendedStatus displays.
Greg Ames [Thu, 12 Jul 2001 02:19:41 +0000 (02:19 +0000)]
Provide vhost and abbreviated request strings on ExtendedStatus displays.

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

23 years agoTypo fix.
Joshua Slive [Wed, 11 Jul 2001 16:51:29 +0000 (16:51 +0000)]
Typo fix.

Submitted by: Carl Johnstone <carl.johnstone@gmgrd.co.uk>

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

23 years agoFix an issue with the pod and prefork:
Jeff Trawick [Wed, 11 Jul 2001 14:48:23 +0000 (14:48 +0000)]
Fix an issue with the pod and prefork:

when the parent process wakes up a server process via connect(), use
an APR timeout on the connect() so that we don't hang for a long time
if there aren't server processes around to do accept()

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

23 years agoUpdated with 1.3 stuff in tandem with my 1.3 STATUS file update.
Jason S. Lingohr [Wed, 11 Jul 2001 07:12:53 +0000 (07:12 +0000)]
Updated with 1.3 stuff in tandem with my 1.3 STATUS file update.

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

23 years agoPerformance improvement to mod_mime.c. find_ct() in mod_mime,
Bill Stoddard [Wed, 11 Jul 2001 04:47:02 +0000 (04:47 +0000)]
Performance improvement to mod_mime.c. find_ct() in mod_mime,
spends a lot of time in apr_table_get calls.  Using the default
httpd.conf, the tables for languages and charsets are somewhat
large, so the time spent scanning them on each request is
significant. Replacing the tables with hash tables provides
a nice speedup. [Brian Pane <bpane@pacbell.net>]

Had to handmerge a lot of this patch so please review! Dean had some suggestions
for improvement which are not currently implemented.

Submitted by: Brian Pane
Reviewed by: Bill Stoddard

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

23 years agofix pid numbers in mod_status output when using a threaded mpm. pid_buffer was
Greg Ames [Tue, 10 Jul 2001 22:50:54 +0000 (22:50 +0000)]
fix pid numbers in mod_status output when using a threaded mpm.  pid_buffer was
being indexed by worker slot during initialization, then by process slot when
generating output.

This saves a little storage and a few cycles, too.

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

23 years agoNew directives should really come with documentation. This is
Joshua Slive [Tue, 10 Jul 2001 19:22:40 +0000 (19:22 +0000)]
New directives should really come with documentation.  This is
my best guess at what the documentation for the AcceptMutex directive
should look like.

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

23 years agoAdd two functions to allow modules to access random parts of the
Ryan Bloom [Tue, 10 Jul 2001 19:00:03 +0000 (19:00 +0000)]
Add two functions to allow modules to access random parts of the
scoreboard.  This allows modules compiled for one MPM to access the
scoreboard, even if it the server was compiled for another MPM.

Submitted by: Harrie Hazewinkel <harrie@covalent.net>

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

23 years agoCheck the pod after processing a connection so that we'll go away
Jeff Trawick [Tue, 10 Jul 2001 18:56:55 +0000 (18:56 +0000)]
Check the pod after processing a connection so that we'll go away
if a graceful restart occurred while we were processing the
connection.  Otherwise, we won't wake up until a real connection
comes in and we'll use the wrong config to process it and we may
block in the wrong syscall (because the new generation is using a
different accept mutex) and in general it is goofy.

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

23 years agoExtendedStatus is back.
Joshua Slive [Tue, 10 Jul 2001 18:49:50 +0000 (18:49 +0000)]
ExtendedStatus is back.

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

23 years agoignore generated DSO-related files on OS/390
Jeff Trawick [Tue, 10 Jul 2001 04:54:14 +0000 (04:54 +0000)]
ignore generated DSO-related files on OS/390

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

23 years agouri_delims.h moved
Jeff Trawick [Tue, 10 Jul 2001 04:51:56 +0000 (04:51 +0000)]
uri_delims.h moved

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

23 years agoUse the autoconf variable "host" consistently for platform checks.
Roy T. Fielding [Tue, 10 Jul 2001 02:35:24 +0000 (02:35 +0000)]
Use the autoconf variable "host" consistently for platform checks.

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

23 years ago Remove openssl path-specific .h comparisons
William A. Rowe Jr [Mon, 9 Jul 2001 17:53:16 +0000 (17:53 +0000)]
  Remove openssl path-specific .h comparisons

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

23 years ago Win32 build changes for recent module updates
William A. Rowe Jr [Mon, 9 Jul 2001 17:41:41 +0000 (17:41 +0000)]
  Win32 build changes for recent module updates

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

23 years agoRecover from some APR cont --> pool conversions by D. Reid.
Bill Stoddard [Mon, 9 Jul 2001 14:44:32 +0000 (14:44 +0000)]
Recover from some APR cont --> pool conversions by D. Reid.

Submitted by: Mladen Turk

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

23 years agofix params for logging call
Chuck Murcko [Mon, 9 Jul 2001 06:35:51 +0000 (06:35 +0000)]
fix params for logging call

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

23 years agoWe are tagged, so bump the numbers everywhere.
Ryan Bloom [Mon, 9 Jul 2001 02:55:35 +0000 (02:55 +0000)]
We are tagged, so bump the numbers everywhere.

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

23 years agoUpdate to prepare for 2.0.20 release
Ryan Bloom [Mon, 9 Jul 2001 02:51:20 +0000 (02:51 +0000)]
Update to prepare for 2.0.20 release

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

23 years agoAllow all parts of Apache 2.0 to build when --srcdir is used. This
Ryan Bloom [Mon, 9 Jul 2001 02:31:09 +0000 (02:31 +0000)]
Allow all parts of Apache 2.0 to build when --srcdir is used.  This
required exposing a build directory and a source directory to all parts
of Apache's build system.  It also required a small hack in APR-util, if
we are using the bundled Expat, and we are using VPATH support, then we
have hard-coded the xml/expat location.  I couldn't figure out how to
allow the configure script to determine the correct location.  I added a
comment, but if somebody else figures it out, we should fix that at some
point.

PR: 7630

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

23 years agoAvoid redundant strlen() calls by using apr_brigade_write() instead of
Cliff Woolley [Sun, 8 Jul 2001 06:24:55 +0000 (06:24 +0000)]
Avoid redundant strlen() calls by using apr_brigade_write() instead of
apr_brigade_puts().  There is still some redundancy--it'd be ideal if there
were an apr_pstrcat() variant that returned the length of the string since
it computes it (twice) anyway so we didn't have to do it yet again.  Until
such a beast exists, computing the length three times is better than four.
:-/

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

23 years agoWe need to pass the prefix to APR, APR-util, and PCRE. If we don't
Ryan Bloom [Sun, 8 Jul 2001 03:27:18 +0000 (03:27 +0000)]
We need to pass the prefix to APR, APR-util, and PCRE.  If we don't
pass that information, then all three libraries will install themselves
into their default locations.
PR: 7750

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

23 years agos/cont/pool/
David Reid [Sat, 7 Jul 2001 16:21:53 +0000 (16:21 +0000)]
s/cont/pool/

Bring this back in line with changes to APR.

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

23 years agos/cont/pool/
David Reid [Sat, 7 Jul 2001 16:20:45 +0000 (16:20 +0000)]
s/cont/pool/

This gets us building again after the change in APR.

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

23 years agoGrrr.. Cliff warned me about this. APR should return APR_SUCCESS with
Bill Stoddard [Fri, 6 Jul 2001 19:49:47 +0000 (19:49 +0000)]
Grrr.. Cliff warned me about this.  APR should return APR_SUCCESS with
zero bytes read rather than APR_EOF. Will work on APR later...

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

23 years agoAdd error message and return if we fail reading from a bucket in the
Bill Stoddard [Fri, 6 Jul 2001 18:41:56 +0000 (18:41 +0000)]
Add error message and return if we fail reading from a bucket in the
core_outout_filter(). core_output_filter() is in need of a rewrite, it is
getting quite crufty.

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

23 years agoemulate_sendfile() is a better name for what this function does. No function
Bill Stoddard [Fri, 6 Jul 2001 18:07:24 +0000 (18:07 +0000)]
emulate_sendfile() is a better name for what this function does.  No function
change is made by this patch, only a static function name change.

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