1
0
mirror of https://github.com/apache/httpd.git synced 2026-01-26 19:01:35 +03:00
Commit Graph

586 Commits

Author SHA1 Message Date
Cliff Woolley
c8bed16dbf Bump for 2.0.22
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89758 13f79535-47bb-0310-9956-ffa450edef68
2001-07-28 03:22:56 +00:00
William A. Rowe Jr
c86f120560 Doc formatting fixes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89749 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 21:01:16 +00:00
William A. Rowe Jr
26676d06d2 Proper doc style
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89748 13f79535-47bb-0310-9956-ffa450edef68
2001-07-27 20:59:20 +00:00
Cliff Woolley
150d9561b4 Bump mmn for 2.0.22-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89739 13f79535-47bb-0310-9956-ffa450edef68
2001-07-26 19:02:56 +00:00
William A. Rowe Jr
5b71e358f3 Change the length of the content args to apr_off_t identifiers, and fix
mod_negotation to treat a size of -1 and indeterminate, instead of 0.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89727 13f79535-47bb-0310-9956-ffa450edef68
2001-07-26 15:53:15 +00:00
William A. Rowe Jr
ed317a04fc Cliff's most sane advise :-)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89719 13f79535-47bb-0310-9956-ffa450edef68
2001-07-25 22:38:21 +00:00
William A. Rowe Jr
c9148bcd49 This same patch is needed in mod_asis and others, I'm testing the waters
for this solution.  I'm easily convinced to choose AP_MAX_SENDFILE based
  on any reasonable argument, provided it's smaller than 2^30 :-)


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89714 13f79535-47bb-0310-9956-ffa450edef68
2001-07-25 21:41:44 +00:00
William A. Rowe Jr
5b96031409 Change over to apr_strfsize() for apr_off_t file size formatting.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89713 13f79535-47bb-0310-9956-ffa450edef68
2001-07-25 21:34:15 +00:00
Cliff Woolley
8f8d186a8d Document and future-proof the dependency between apr_read_type_e and
ap_input_mode_t.  It's now safe(r) to cast from ap_read_type_e to
ap_input_mode_t.

Submitted by:	Justin Erenkrantz, Sander Striker


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89671 13f79535-47bb-0310-9956-ffa450edef68
2001-07-24 00:10:26 +00:00
William A. Rowe Jr
0d3a73e395 Downgrade non-stopper from XXX->###
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89664 13f79535-47bb-0310-9956-ffa450edef68
2001-07-23 19:02:03 +00:00
Ryan Bloom
a92e3e0532 Bump after the tag.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89626 13f79535-47bb-0310-9956-ffa450edef68
2001-07-19 21:49:41 +00:00
Ryan Bloom
c21c903e1e 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
2001-07-19 21:43:38 +00:00
Greg Ames
590a1bde98 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
2001-07-18 21:16:40 +00:00
William A. Rowe Jr
c4549d2816 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
2001-07-18 21:14:21 +00:00
Ryan Bloom
3d8f3ce64b 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
2001-07-18 20:45:36 +00:00
Paul J. Reder
620a48e609 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
2001-07-18 20:29:00 +00:00
Jeff Trawick
db088722d7 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
2001-07-18 19:38:35 +00:00
Ryan Bloom
6a04393470 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
2001-07-16 02:29:33 +00:00
Greg Ames
5139e492bd 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
2001-07-12 03:20:50 +00:00
Ryan Bloom
2843b8672e 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
2001-07-10 19:00:03 +00:00
Ryan Bloom
bc6842137c 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
2001-07-09 02:55:35 +00:00
Ryan Bloom
815897922b 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
2001-07-09 02:51:20 +00:00
Ryan Bloom
1f4f4c5942 Bump after the tag/roll
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89469 13f79535-47bb-0310-9956-ffa450edef68
2001-06-28 05:33:05 +00:00
Ryan Bloom
354c688711 Bump a couple things for the tag and roll!!!!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89467 13f79535-47bb-0310-9956-ffa450edef68
2001-06-28 05:15:07 +00:00
Roy T. Fielding
2bb1fb4a72 bump and grind for another beta
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89451 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 23:37:00 +00:00
William A. Rowe Jr
a7a28bd8c0 Here, finally are a few cleanups of my fat fingers.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89444 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:57:14 +00:00
William A. Rowe Jr
8ba66cccaf Move duplicated rnew cloning from apr_ap_sub_req_lookup_*() functions,
and add an ap_sub_req_lookup_dirent() to create a subrequest from the
  results of an apr_dir_read() for mod_negotiation and mod_autoindex.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89437 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 20:09:24 +00:00
William A. Rowe Jr
7a5c5c4965 Add additional query datum to the MPMs.
Harrie Hazewinkel <harrie@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89433 13f79535-47bb-0310-9956-ffa450edef68
2001-06-27 17:43:51 +00:00
Ben Laurie
7e5f12306c Documentation updates.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89377 13f79535-47bb-0310-9956-ffa450edef68
2001-06-17 14:34:14 +00:00
Greg Stein
e5640cedcc Define a hook for fetching management/status items.
This patch was submitted by Ian Holsman. Greg revised some names, applied
the Apache style, and namespace-prefixed the public symbols. Minor bugfix in
the use of the hook implementation macro.

Submitted by: Ian Holsman <IanH@cnet.com>
Reviewed by: Greg Stein


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89364 13f79535-47bb-0310-9956-ffa450edef68
2001-06-13 20:11:45 +00:00
Ryan Bloom
66a61c359d 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
2001-06-13 13:44:40 +00:00
William A. Rowe Jr
0ba63f0532 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
2001-06-10 00:37:59 +00:00
Victor J. Orlikowski
08ce0bc1b2 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
2001-06-09 11:33:07 +00:00
Greg Stein
0c0d157331 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
2001-06-08 11:00:14 +00:00
Ryan Bloom
931fe85b8d 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
2001-06-07 00:09:16 +00:00
Ryan Bloom
06ca840aa4 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
2001-06-06 22:24:54 +00:00
Jeff Trawick
7135d12e6c 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
2001-06-06 19:37:15 +00:00
Ben Laurie
9b7d636ba9 Doxygenation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89261 13f79535-47bb-0310-9956-ffa450edef68
2001-06-03 11:59:18 +00:00
Ben Laurie
102fde2e91 Doxygenation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89235 13f79535-47bb-0310-9956-ffa450edef68
2001-05-28 15:32:50 +00:00
Jeff Trawick
5e23c1edc6 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
2001-05-23 13:56:34 +00:00
Roy T. Fielding
2898ad6b42 Moved to the apr-util library.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89200 13f79535-47bb-0310-9956-ffa450edef68
2001-05-22 02:07:22 +00:00
Roy T. Fielding
43b9634ceb Moved util_uri to apr-util/uri/apr_uri, which means adding the apr_
prefix to all of the uri functions (yuck), changing some includes,
and using APR error codes instead of HTTP-specific error codes.

Other notes to test this patch:
- You need to delete the util_uri.h file - exports picks up on this.
- I'd like to remove the apr_uri.h from httpd.h, but that might
  increase the complexity of this patch even further.  Once this patch
  is accepted (in some form), then I can focus on removing apr_uri.h
  from httpd.h entirely.  I need baby steps (heh) right now.
- I imagine that this might break a bunch of stuff in Win32 or other OS
  builds with foreign dependency files.  Any help here is appreciated.

This is a start...  -- justin

Submitted by:	Justin Erenkrantz
Reviewed by:	Roy Fielding


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89198 13f79535-47bb-0310-9956-ffa450edef68
2001-05-22 01:31:12 +00:00
Ben Laurie
eb517580bd More cleanup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89179 13f79535-47bb-0310-9956-ffa450edef68
2001-05-20 15:26:18 +00:00
Ben Laurie
883a3b25bf AP_ function for optional hooks.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89178 13f79535-47bb-0310-9956-ffa450edef68
2001-05-20 14:13:33 +00:00
Bill Stoddard
6c51b19679 On to 2.0.19-dev
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89155 13f79535-47bb-0310-9956-ffa450edef68
2001-05-18 16:34:06 +00:00
Bill Stoddard
78433b6dfd Preparing for the tag and roll of 2.0.18.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89152 13f79535-47bb-0310-9956-ffa450edef68
2001-05-18 16:02:15 +00:00
Paul J. Reder
768f9e72e4 Ooops. Didn't remove *all* of the new_scoreboard stuff. This was harmless,
but should be consistent and complete. It is now completely removed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89117 13f79535-47bb-0310-9956-ffa450edef68
2001-05-15 13:41:27 +00:00
Paul J. Reder
1b2262dd30 Make first phase changes to the scoreboard data structures in
preparation for the rewriting of the scoreboard per my posted
design notes. [Paul J. Reder]


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89115 13f79535-47bb-0310-9956-ffa450edef68
2001-05-15 02:38:17 +00:00
Jeff Trawick
03962d5f86 Separate enablement of AP_DEBUG code from enablement of code
which depends on the compiler supporting designated initializers.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89103 13f79535-47bb-0310-9956-ffa450edef68
2001-05-13 12:21:25 +00:00
Greg Stein
ab9d00b0c4 Implement Jeff's idea for an autoconf-defined symbol to enable the special
command function prototype stuff. AP_DEBUG is always set in maintainer mode
and AP_DEBUG_HAVE_GCC is set when the compiler is GCC.

Submitted by: Jeff Trawick


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89102 13f79535-47bb-0310-9956-ffa450edef68
2001-05-13 10:37:06 +00:00