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

468 Commits

Author SHA1 Message Date
William A. Rowe Jr
8d775a46ca No MMN bump in ages - time to start codifing this entity. Change the
COOKIE to something useful, "AP20", for the new module structure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88310 13f79535-47bb-0310-9956-ffa450edef68
2001-02-25 00:43:10 +00:00
Ryan Bloom
0bace42746 Tag is done, update the source tree
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88308 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 23:03:53 +00:00
Ryan Bloom
8c07738f7e Update the version string before the roll.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88306 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 22:59:37 +00:00
Greg Stein
0660784172 Shift XML handling code from Apache down into APRUTIL
- teach APRUTIL how to find Expat and respond to --with-expat
- Apache's configure points APRUTIL's configure at its srclib/expat-lite
  (this will go away; aprutil can work against installed expats or fallback
   to an expat bundled within aprutil)
- shift some of the timing of INCLUDES and top_builddir processing in the
  APRUTIL configure.in script
- expose the new apr_xml functions in apr_xml.h, apr_xml.c (by building it),
  and apu_compat.h
- rewrite util_xml.[ch] in terms of apr_xml


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88299 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 14:17:25 +00:00
Greg Stein
4f28702c9c clean out some old crud from ap_config.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88296 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24 03:40:50 +00:00
Doug MacEachern
24e2ea6b10 remove ap_{post_config,child_init}_hook
replace usage with ap_run_{post_config,child_init}
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88291 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23 18:17:19 +00:00
Ryan Bloom
9af0cedb87 Remove the b1 description from ap_release. It doesn't belong there anymore.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88289 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23 14:17:25 +00:00
Ryan Bloom
192cc6b8a5 Namespace protect IOBUFSIZ since it is a public symbol.
Submitted by:	Jon Travis <jtravis@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88282 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23 00:50:24 +00:00
Doug MacEachern
ffdad830aa just making server_signature enum decl easier to read (for both humans and C::Scan)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88274 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22 08:42:09 +00:00
Doug MacEachern
d1125529fa server_rec* -> server_rec * (sorry for nit, C::Scan made me doit)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88273 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22 08:17:41 +00:00
Doug MacEachern
dd0b7af133 avoid c++ keywords
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88272 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22 08:15:49 +00:00
Ryan Bloom
e552aeb0e3 Add a couple of GCC attribute tags to printf style functions. This also
fixes a couple of mismatched parameters highlighted revealed by the
attribute.
Submitted by:   Jon Travis <jtravis@covalent.net>


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88271 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22 04:05:58 +00:00
Ryan Bloom
962f73f2a2 Remove the rest of the pthreads functions from the threaded MPM
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88256 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21 01:18:39 +00:00
Greg Stein
e78825ca70 - more ap_conf_vector_t fixup.
- break out the cmd_parms to ap_set_config_vectors to clarify/doc what is
  happening in there and because the function operates independent of cmds.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88227 13f79535-47bb-0310-9956-ffa450edef68
2001-02-18 04:26:13 +00:00
Greg Stein
b66380e941 shift some declarations over to mod_core.h where they're totally private.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88226 13f79535-47bb-0310-9956-ffa450edef68
2001-02-18 03:18:35 +00:00
Greg Stein
dd9b08e321 *) Introduce "ap_conf_vector_t" type to assist with legibility and provide
some type safety. (unfortunately, our old "void*" is type-safe with the
   new one, but over time we should be better)

*) Propagate the new type to all appropriate functions.

*) Random cleaning, whitespace, stylistic nits.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88225 13f79535-47bb-0310-9956-ffa450edef68
2001-02-18 02:58:53 +00:00
Roy T. Fielding
381f88d56a Update copyright to 2001
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88184 13f79535-47bb-0310-9956-ffa450edef68
2001-02-16 04:26:53 +00:00
Bill Stoddard
6bb2157915 Start getting extended status working again.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88151 13f79535-47bb-0310-9956-ffa450edef68
2001-02-14 02:52:23 +00:00
Doug MacEachern
c0311e3bf2 rename:
ap_bucket_create_error -> ap_bucket_error_create
ap_bucket_make_error   -> ap_bucket_error_make
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88142 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 20:24:38 +00:00
Bill Stoddard
526d01a486 Windows doesn't have ap_config_auto. Perhaps we need a HAVE_CONFIG_AUTO
macro?


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88138 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 19:48:59 +00:00
Greg Ames
71f08f39bb The "src/" directory no longer exists. Clean up the HARD_SERVER_LIMITS
warning msg to reflect the current directory structure.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88137 13f79535-47bb-0310-9956-ffa450edef68
2001-02-13 19:22:27 +00:00
Jeff Trawick
f1c0b3bf58 string.h needs to be included before monkeying around with strchr et al,
since some system header files do their own monkeying around with those
functions in ways that don't get along with us unless we include their
definitions first

examples: gcc 2.8.1 on Solaris
          gcc 2.95.2 on AIX


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88113 13f79535-47bb-0310-9956-ffa450edef68
2001-02-12 15:44:36 +00:00
Greg Stein
1229603b02 *) remove some obsolete/unused defines from httpd.h.
*) remove DEFAULT_XFERLOG from main.c; it is never set/used
*) move ap_get_max_daemons() to ap_mpm.h
*) move DEFAULT_LISTENBACKLOG to mpm_common.h


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88103 13f79535-47bb-0310-9956-ffa450edef68
2001-02-12 02:49:56 +00:00
Greg Stein
f9a0bf606e bring along the comment (from httpd.h) that went with these defines
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88100 13f79535-47bb-0310-9956-ffa450edef68
2001-02-12 02:11:24 +00:00
Ben Laurie
29a10959c0 First cut of TLS support.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88090 13f79535-47bb-0310-9956-ffa450edef68
2001-02-11 17:46:19 +00:00
Greg Stein
bb282b75f7 Clean up some of the includes:
- explicitly include apr_lib.h since ap_config.h doesn't
- use apr_want.h where possible
- use APR_HAVE_ where possible
- remove some unneeded includes


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88060 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 13:05:29 +00:00
Greg Stein
0513fb50e4 *) clean out some old crap from ap_config.h; other simplifications; don't
include stuff randomly (let users include them explicitly)
*) toss ap_config_path.h -- we can put those values into ap_config_auto.h


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88057 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 11:59:58 +00:00
Greg Stein
23714288fe *) remove obsolete http_conf_globals.h
*) simplify all this #ifdef'ing: just nuke the unixd.h header. it isn't
   actually needed.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88045 13f79535-47bb-0310-9956-ffa450edef68
2001-02-10 03:03:18 +00:00
Greg Stein
a66d4ddfe2 "v" in the name has come to mean that a va_arg is in the parameter list.
putstrs is clearer in this case.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88041 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 22:57:50 +00:00
Bill Stoddard
0c9ba2539b Fix another windows compile break.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88038 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 18:15:01 +00:00
Bill Stoddard
e2456e4963 Replace reinit_scoreboard with ap_create_scoreboard.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88037 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 16:11:50 +00:00
Ryan Bloom
d196c4648e A few small docs changes (there were ';' in the ScanDoc), and remove some
very cool but totally unportable macros.  :-(


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88034 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 14:47:48 +00:00
Greg Stein
fef290bf18 *) namespace protect the filter_flush() function
*) don't toss the status value from ap_pass_brigade in ap_fflush; return it
*) doc/macro nits


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88031 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 11:15:03 +00:00
Ryan Bloom
b3ea914127 Make the header filter use the brigade buffering functions for creating
the header string.  This allows us to clean up the header handling a bit,
because we don't need to compute the correct length before we can create
the headers.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88029 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 07:17:53 +00:00
Ryan Bloom
b98ee5e9ed Allow filters to buffer data in a brigade using the ap_f* functions.
These have become simple macros that just wrap the apr_brigade functions,
allowing filter writers to ignore the flush function and the ctx pointer.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88028 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 07:04:52 +00:00
Bill Stoddard
45ac04075e Fix windows compile break
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88027 13f79535-47bb-0310-9956-ffa450edef68
2001-02-09 04:19:42 +00:00
Doug MacEachern
88d3406f9a renaming various functions for consistency sake
see: http://apr.apache.org/~dougm/apr_rename.pl
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88019 13f79535-47bb-0310-9956-ffa450edef68
2001-02-08 07:45:33 +00:00
Brian Havard
0612881f3a Move OS/2 MPM specific variables out of scoreboard & into an array local to
the MPM.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88014 13f79535-47bb-0310-9956-ffa450edef68
2001-02-07 23:25:31 +00:00
Ryan Bloom
ded4233ad5 Get the Unix MPMs restarting again. If we are going to register a cleanup
for ap_cleanup_scoreboard, then we have to kill that cleanup with the same
function.  This also makes ap_cleanup_scoreboard a non-static function, and
makes ap_cleanup_shared_mem a static function.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88012 13f79535-47bb-0310-9956-ffa450edef68
2001-02-07 20:49:25 +00:00
Brian Havard
79a04fdc22 Don't include mpm.h from scoreboard.h as scoreboard.h is included from mpm.h.
Instead, make the MPM type defined before including scoreboard.h.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88001 13f79535-47bb-0310-9956-ffa450edef68
2001-02-06 23:33:31 +00:00
Jeff Trawick
6d788a6303 get Unix MPMs to build again after recent scoreboard changes
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87997 13f79535-47bb-0310-9956-ffa450edef68
2001-02-06 22:22:59 +00:00
Brian Havard
2e86e9ae83 Get OS/2 MPM running again after the reunification of the scoreboard code.
mod_status still doesn't work right, I'll look into that next.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87989 13f79535-47bb-0310-9956-ffa450edef68
2001-02-06 15:16:05 +00:00
Jeff Trawick
bd424f80f3 ap_new_connection() returns NULL if an error occurred (prefork MPM
and ap_new_connection() were changed last week)

I have skipped putting the change into WinNT MPM and mod_proxy.  I
left a note in the mod_proxy code; for the NT MPM I think I can talk
somebody into doing the right thing for me.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87982 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 15:04:32 +00:00
Jeff Trawick
9d684f9e07 I hereby propose that the ASF buy that guy a compiler.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87981 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 12:55:11 +00:00
Doug MacEachern
fe309da4f1 s/l/r/ in ap_send_http_header protototype
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87979 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 03:31:43 +00:00
Ryan Bloom
c87c56c5f8 Move release.h to ap_release.h. This was done to namespace protect the
release header file.  While doing this, I also made sure that the file
was only included once.
Submitted by:	Greg Stein


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87977 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 03:15:20 +00:00
Ryan Bloom
2fb54c456a Move the APACHE_RELEASE macro to release.h
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87975 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 01:12:47 +00:00
Ryan Bloom
31ad32e42e Move the server version information out of httpd.h and into release.h.
This is in preparation of the first tag with the new tag and release
strategy.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87973 13f79535-47bb-0310-9956-ffa450edef68
2001-02-05 01:02:27 +00:00
Doug MacEachern
bcb1a9309e fix minor prototype inconsistencies noticed with C::Scan
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87970 13f79535-47bb-0310-9956-ffa450edef68
2001-02-04 03:00:15 +00:00
Ben Laurie
4e0a0b215d Improved(?) docco.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87968 13f79535-47bb-0310-9956-ffa450edef68
2001-02-03 20:25:13 +00:00