summaryrefslogtreecommitdiffstats
path: root/os (unfollow)
Commit message (Collapse)AuthorFilesLines
2001-02-24move the _rini stuff into bs2login.c (the only user)Greg Stein2-10/+10
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88300 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24Shift XML handling code from Apache down into APRUTILGreg Stein3-1000/+30
- 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*) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, andGreg Stein17-186/+79
INLINE. Now, we just have APR_INLINE and APR_HAS_INLINE. - convert all usage - note that apr_general messed up the defn (compared to apr.h) - simplify the inline decision logic in os/*/os.h - simplify the code in os/*/os-inline.c *) toss ap_checkconv() [no longer used] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88298 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24clean out some old crud from ap_config.hGreg Stein3-25/+7
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88296 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24toss ENUM_BITFIELD. used in one place (but didn't need to be used), and itGreg Stein1-5/+3
certainly wasn't namespace protected. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88295 13f79535-47bb-0310-9956-ffa450edef68
2001-02-24Fix initialization of thread_control[...].generation.Brian Havard1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88294 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Modify mod_file_cache to save pre-formatted strings forBill Stoddard2-2/+35
content-length and last-modified headers for performance. Submitted by: Mike Abbot <mja@trudge.engr.sgi.com> Reviewed by: Bill Stoddard git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88292 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23remove ap_{post_config,child_init}_hookDoug MacEachern9-40/+8
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-23Remove the b1 description from ap_release. It doesn't belong there anymore.Ryan Bloom1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88289 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23use apr_off_t and APR_OFF_T_FMT (for portability to 64-bit off_t systems)Greg Stein1-9/+15
Submitted by: Jeff Trawick Reviewed by: Greg Stein git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88288 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23fix a warning in a call to apr_psprintf()Jeff Trawick1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88287 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Work on a BSD/OS system where GNU make is used instead of the nativeJeff Trawick1-1/+7
make. Roy suggests using the variable set by AC_PROG_MAKE; we don't use that yet, though I guess we could. Greg suggests leaving this to Roy since he will revamp this stuff soon anyway. Inspired by: Joe Orton's patch to APR to accomplish the same thing git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88286 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Clean up a bunch of incompatible pointer type warnings.Brian Havard2-4/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88285 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Typo.Joshua Slive2-2/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88284 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Get it to build on FreeBSD by dropping <stropt.h>. (It stillJeff Trawick2-12/+6
builds on Linux.) Pass an initialized thread attribute instead of an accidental autodata value to apr_create_signal_thread(). This should avoid a segfault. It seemed to behave a little better for me at this point. Get rid of some warnings. gcc on FreeBSD still warns about a few variables that might be clobbered by longjmp() in worker_thread(). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88283 13f79535-47bb-0310-9956-ffa450edef68
2001-02-23Namespace protect IOBUFSIZ since it is a public symbol.Ryan Bloom4-5/+8
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-23Use "Basic" authentication instead of "basic" in ab, as the spec says weRyan Bloom2-4/+7
should. PR: 7294 Submitted by: Andre Breiler <andre.breiler@rd.bbc.co.uk> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88281 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22get the last worker in a given child initialized properlyJeff Trawick1-1/+3
by getting a new pool for its own proc_info structure instead of overlaying the pool in the proc_info structure for the prior thread we also move through the SERVER_STARTING scoreboard state for this worker, though this isn't as important as with the other workers, for which a new thread must be created (potentially time consuming) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88280 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22Fix a seg fault in mod_userdir.c. We used to use the pw structureRyan Bloom2-5/+12
without ever filling it out. PR: 7271 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> and Cliff Woolley <cliffwoolley@yahoo.com>] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88279 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22Back down the default number of initial threads created withJeff Trawick3-7/+7
the threaded Unix MPM. Tweak the sample configuration files to reflect the default settings. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88278 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22Remove a semicolon from a macro. This makes things a bit more readable,Ryan Bloom3-5/+5
and it makes this macro look like the rest of our macros. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88277 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22clean up a call to apr_psprintf() (trailing NULL not needed)Jeff Trawick1-1/+1
previously: mod_auth_digest.c: In function `set_shmem_size': mod_auth_digest.c:625: warning: too many arguments for format git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88275 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22just making server_signature enum decl easier to read (for both humans and ↵Doug MacEachern1-2/+10
C::Scan) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88274 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22server_rec* -> server_rec * (sorry for nit, C::Scan made me doit)Doug MacEachern1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88273 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22avoid c++ keywordsDoug MacEachern2-4/+4
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88272 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22Add a couple of GCC attribute tags to printf style functions. This alsoRyan Bloom3-3/+7
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-22Add the correct language tag for interoperation with the TaiwaneseTony Finch3-0/+5
versions of MSIE and Netscape. PR: 7142 Submitted by: Clive Lin <clive@CirX.ORG> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88270 13f79535-47bb-0310-9956-ffa450edef68
2001-02-22Remove a completed item from STATUSRyan Bloom1-4/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88268 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Make the perchild MPM use the APR signal child and apr thread functions.Ryan Bloom3-168/+133
This allows perchild to compile and run out of CVS again. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88267 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21BUFF is gone!Bill Stoddard1-23/+2
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88266 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Performance: apr_now() was being called for -all- requests. Call it onlyBill Stoddard1-1/+2
for calls to server-status. This module is still a mess... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88265 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Close the accepted socket before creating the CGI process in mod_cgid.Ryan Bloom2-1/+16
This is safe, because we have already dup'ed the socket for the CGI process itself. This change allows CGI processes to fork long-lived child processes without affecting how quickly the response gets back to the broswer. PR: 7273 Submitted by: Taketo Kabe <kabe@sra-tohoku.co.jp> Reviewed by: Ryan Bloom git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88264 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Split the mod_dir fixup into two parts. The first determines if thisRyan Bloom1-6/+22
is a MOVED_PERMANANTLY response, and is done from the fixup. The second is a handler that redirects to an index.html page. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88263 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Remove mod_proxy from the Windows project fileBill Stoddard1-87/+69
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88262 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Oops - better *think* first. Fix typo.Martin Kraemer1-1/+1
PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88261 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Display APACHE_MPM_DIR in the list of #defines, andMartin Kraemer1-2/+2
remove the duplicate APR_HAS_MMAP test. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88260 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Get rid of Apache's concern for foo_CHECK_SIGWAIT_ONE_ARG.Jeff Trawick1-2/+0
Apache no longer needs to define nor invoke such a macro since it is handled in APR. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88258 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Remove the rest of the pthreads functions from the threaded MPMRyan Bloom3-40/+28
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88256 13f79535-47bb-0310-9956-ffa450edef68
2001-02-21Make mod_dir use a fixup for sending a redirect to the browser.Ryan Bloom2-4/+9
Before this, we were using a handler, which doesn't make much sense, because the handler wasn't generating any data, it would either return a redirect error code, or DECLINED. This fits the current hooks better. Submitted by: Ryan Morgan <rmorgan@covalent.net> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88255 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Migrate the threaded MPM to use all APR threading calls. This isn't quiteRyan Bloom2-25/+9
perfect yet, because of the sigwait and sigmask calls. Those are going away next. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88252 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Revert out the build changes made last night. Ryan and Chuck make good points.Victor J. Orlikowski1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88251 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Fix windows compile break introduced by Martin's module structure rename.Bill Stoddard1-9/+9
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88250 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Fix windows compile breakBill Stoddard1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88249 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20make the linkage of clean_child_exit() consistent to fix aJeff Trawick1-1/+1
warning on HP-UX git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88247 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20get rid of a type mismatch warningJeff Trawick1-1/+1
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88246 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Update APR macro usage to new name-protected names.Roy T. Fielding2-5/+13
Replace REENTRANCY_FLAGS with direct use of THREAD_CPPFLAGS. This is a temporary band-aid, since the way we currently set the standard make vars (CFLAGS, CPPFLAGS, LDFLAGS, etc.) is bogus and frequently redundant [to be fixed later]. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88245 13f79535-47bb-0310-9956-ffa450edef68
2001-02-20Allow proxy to build until we fit a proper build dirChuck Murcko1-1/+1
PR: Obtained from: Victor Orlikowski Submitted by: Reviewed by: Chuck Murcko git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88244 13f79535-47bb-0310-9956-ffa450edef68
2001-02-19Cleaning up and moving around .cvsignore files for the threaded mpmVictor J. Orlikowski1-0/+0
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88239 13f79535-47bb-0310-9956-ffa450edef68
2001-02-19Fix META tag.Joshua Slive1-2/+2
PR: 6570 Submitted by: Martin Cermak <cermak@trimedia.cz> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88233 13f79535-47bb-0310-9956-ffa450edef68
2001-02-19rename miss: s/apr_clear_pool/apr_pool_clear/gDoug MacEachern12-15/+15
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88232 13f79535-47bb-0310-9956-ffa450edef68