]>
granicus.if.org Git - apache/log
Jeff Trawick [Sat, 3 Mar 2001 02:01:30 +0000 (02:01 +0000)]
Get rid of unnecessary apr_status_t variables in a couple of functions.
In load_file(), use apr_dso_error() instead of apr_strerror() to build
an error message after a apr_dso_load() failure.
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88444
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 3 Mar 2001 01:46:16 +0000 (01:46 +0000)]
Fix some APR-ization issues:
1) we're using an apr_time_t file mtime, but trying to fit it in
a time_t entry in the cache and in parameters to the cache
access routines; use apr_time_t everywhere
2) we need to use apr_fileperms_t instead of mode_t for APR
file permissions
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88443
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 3 Mar 2001 01:07:00 +0000 (01:07 +0000)]
purple, yellow, and aqua.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88442
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 2 Mar 2001 22:46:33 +0000 (22:46 +0000)]
Allow modules to query the MPM about it's execution profile. This
query API can and should be extended in the future, but for now,
max_daemons, and threading or forking is a very good start.
Non-Unix MPM's do have the MPM query function, although there is no
garauntee that the information is perfect, please check.
Submitted by: Jon Travis <jtravis@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88437
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 22:05:39 +0000 (22:05 +0000)]
In ap_method_in_list(), fix a typo which inadvertently cleared
l->method_list.
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88433
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 22:00:30 +0000 (22:00 +0000)]
get rid of unused parameter filename to function get_req()
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88432
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 21:51:00 +0000 (21:51 +0000)]
no need to calculate the config file name in display_info() since we
don't have to read it
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88431
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 21:44:14 +0000 (21:44 +0000)]
get rid of unused variable b_copy in function handle_echo()
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88430
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 21:38:29 +0000 (21:38 +0000)]
Back out an unintended commit from a minute ago. Ouch!
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88429
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 21:36:21 +0000 (21:36 +0000)]
Use the proper enum for the block/non-block parameter to apr_bucket_read().
A couple of these changed in meaning (e.g., 1->APR_BLOCK_READ).
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88428
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 19:46:08 +0000 (19:46 +0000)]
in rfc1413_query():
use the buflen variable even on ASCII machines to get rid of a
warning from the SGI compiler as well as to make it go a wee
bit faster
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88425
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 2 Mar 2001 18:52:23 +0000 (18:52 +0000)]
fix the type of ap_my_pid and make it static since it is used
in only one file per build (prefork.c or threaded.c)
PR: 6980
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88423
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Fri, 2 Mar 2001 15:46:14 +0000 (15:46 +0000)]
fix make install so that suexec is installed where the server expects to
find it ( <prefix>/sbin by default).
also enable ./configure --sbindir=DIR to work as advertised.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88422
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 2 Mar 2001 06:58:00 +0000 (06:58 +0000)]
Modify mod_include to send blocks of data no larger than 9k.
Without this, mod_include will wait until the whole file is parsed,
or the first tag is found to send any data to the client.
Submitted by: Paul J. Reder <rederpj@raleigh.ibm.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88417
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Fri, 2 Mar 2001 05:50:05 +0000 (05:50 +0000)]
Fix mod_info, so that <Directory> and <Location> directives are
not displayed twice when displaying the current configuration.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88416
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Thu, 1 Mar 2001 00:55:03 +0000 (00:55 +0000)]
Don't directly include ap_config_auto.h directly. It isn't available on
Windows platforms. Including ap_config.h will pick it up, or it will grab
the appropriate Windows header/defines.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88402
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 28 Feb 2001 18:41:44 +0000 (18:41 +0000)]
Fix a problem displaying status when a threaded MPM is used.
The line
int indx = (i * HARD_THREAD_LIMIT) + j;
in the vicinity of the change was bad; k needed to be added
instead of j.
I swapped the use of j and k in this section so that i and j
had the same meaning as in an earlier nested loop. I suspect
that the difference in meaning is what led to the bug.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88397
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Wed, 28 Feb 2001 18:23:37 +0000 (18:23 +0000)]
Pass the correct worker thread id to worker_thread() when the initial
thread of the child process becomes a worker thread.
Prior to this, perchild segfaulted over and over at startup.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88396
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 16:28:52 +0000 (16:28 +0000)]
More crufty stuff
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88395
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 16:19:47 +0000 (16:19 +0000)]
Crufty stuff now gone [Ben indicated this was a first hack that was
never pursued.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88394
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 16:10:00 +0000 (16:10 +0000)]
Moved to modules/arch/win32/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88393
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 15:31:29 +0000 (15:31 +0000)]
Hmmm... missed one. There has to be a better home for this.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88391
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 15:24:09 +0000 (15:24 +0000)]
Goodbye ap_send_http_header
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88390
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Wed, 28 Feb 2001 15:13:30 +0000 (15:13 +0000)]
Another missing AP_DECLARE mismatch
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88389
13f79535 -47bb-0310-9956-
ffa450edef68
Eric Cholet [Wed, 28 Feb 2001 10:57:26 +0000 (10:57 +0000)]
use ISO-8859-1
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88386
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Wed, 28 Feb 2001 07:43:12 +0000 (07:43 +0000)]
core_pre_config isn't needed
Submitted by: Cliff Woolley
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88384
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Wed, 28 Feb 2001 04:48:44 +0000 (04:48 +0000)]
Remove references to apr_bucket_init_types() and
apr_bucket_insert_type(). I imagine that core_pre_config() could
go away completely, but I'll leave that to someone who knows
more about hooks than I do.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88381
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Wed, 28 Feb 2001 04:41:24 +0000 (04:41 +0000)]
Adjusted links for files being moved into platform/ (were ./, now ../).
Matched up <p></p> & <pre></pre>.
Fixed misspellings.
Fixed links to ../install-tpf.html & ebcdic.html (which should probably be
moved down into platform/).
Changed links to windows.html#test to windows.html@cmdline.
Entities encoded.
Changed bogus <emp> tags to <em>.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88379
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Wed, 28 Feb 2001 03:40:40 +0000 (03:40 +0000)]
More entity quoting.
<p></p> & <a></a> cleanup.
Removed link to mod_cookies.html (missing in 2.0).
Fixed <a name="#.
Fixed link to fragment removed from mod_proxy.html.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88377
13f79535 -47bb-0310-9956-
ffa450edef68
Chris Pepper [Wed, 28 Feb 2001 03:36:00 +0000 (03:36 +0000)]
Some cleanup on the 2.0 FAQ carried over from 1.3. May be irrelevant soon,
or it may give us a better starting point for 2.0 improvements.
Fixed a bunch of <p>...</p> matches.
Removed 1.3 upgrade recommendation.
Fixed some entity encodings.
Updated a bunch of links that moved from core.html to mpm_common.html.
Fixed a few bad/stale links.
Fixed a decrement that was interfering with comment.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88376
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 27 Feb 2001 21:45:02 +0000 (21:45 +0000)]
Move link on httpd command line documentation. Add link to
scoreboardfile directive documentation.
Submitted by: Herve Dumont <hdumont@club-internet.fr>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88374
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Tue, 27 Feb 2001 21:36:14 +0000 (21:36 +0000)]
Some details on mod_rewrite variables.
Submitted by: Miguel Cruz <mnc@un.u.nu>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88373
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Tue, 27 Feb 2001 21:02:15 +0000 (21:02 +0000)]
Update to reflect the absence of the apr_bucket_shared
struct and the newly-added start field of the apr_bucket struct
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88372
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Tue, 27 Feb 2001 18:58:59 +0000 (18:58 +0000)]
Fix Windows compile breaks caused by mod_core.h foobar
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88371
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Tue, 27 Feb 2001 18:46:05 +0000 (18:46 +0000)]
trap a couple of initialization errors related to the signal thread
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88370
13f79535 -47bb-0310-9956-
ffa450edef68
Rich Bowen [Tue, 27 Feb 2001 12:28:17 +0000 (12:28 +0000)]
Applied patch from 1.3 tree - added link back from AllowOverride to
AccessFileName
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88367
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Tue, 27 Feb 2001 01:39:25 +0000 (01:39 +0000)]
um. hello?! doesn't the work "private" mean anything? :-)
Apache should not be involved with building APR's apr_private.h.in. It
should only call APR's buildconf.sh script.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88363
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Mon, 26 Feb 2001 22:43:15 +0000 (22:43 +0000)]
finally figured out why that word looked funny - can't spell
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88362
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Ames [Mon, 26 Feb 2001 22:07:00 +0000 (22:07 +0000)]
insure that canned error msgs are translated to ascii before leaving
an ebcdic server in worst case scenarios.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88361
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 26 Feb 2001 06:26:24 +0000 (06:26 +0000)]
Add config directives to override the DEFAULT_ERROR_MSG and
DEFAULT_TIME_FORMAT.
PR: 6193
Submitted by: Dan Rench <drench@xnet.com>
Reviewed by: Ryan Bloom
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88346
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 26 Feb 2001 06:24:44 +0000 (06:24 +0000)]
Get mod_cgi building again after moving a bunch of code from the HTTP
module to the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88345
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 26 Feb 2001 05:23:24 +0000 (05:23 +0000)]
Comment out some bogosity, and prepare for substitution by an .msi
installation package.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88344
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 26 Feb 2001 04:56:08 +0000 (04:56 +0000)]
cold and damp in Chicago tonight, turning colder and frozen.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88343
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 26 Feb 2001 04:52:04 +0000 (04:52 +0000)]
All but proxy_module can be loaded and shut down without gp faulting :-)
Can't decide what to do with the proxy_module section... so I'm leaving
it alone for now. mod_info and mod_status both work, although the access
control appears broken.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88342
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Mon, 26 Feb 2001 04:38:22 +0000 (04:38 +0000)]
Begin to move functions from the http module to the core. The goal is to
have only functions that are HTTP specific in the http directory.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88341
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Mon, 26 Feb 2001 03:07:31 +0000 (03:07 +0000)]
Hmmm... ap_release.h is a good file to list in the IDE.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88340
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Mon, 26 Feb 2001 00:23:26 +0000 (00:23 +0000)]
Get rid of APACHE_CHECK_SIGWAIT_ONE_ARG.
(I meant to commit this some days back.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88339
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sun, 25 Feb 2001 23:22:36 +0000 (23:22 +0000)]
nice to compile for a change
note that recent tags are FUBAR because this file was broken
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88338
13f79535 -47bb-0310-9956-
ffa450edef68
Cliff Woolley [Sun, 25 Feb 2001 23:08:52 +0000 (23:08 +0000)]
Simplify by using apr_bucket_delete(e) where possible.
(Oh, plus one tiny little loop simplification.)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88337
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 22:20:25 +0000 (22:20 +0000)]
A patch to clean up much bogusity in Win32. Eliminates absolute cd "/..."
references using build/fixwin32mak.pl, and the latest #if APR_HAVE_FOO_H
fixes apparently worked, now that they no longer appear as dependencies
[which had broken the build entirely.]
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88336
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 22:13:40 +0000 (22:13 +0000)]
The only thing about perl that drives me crazy, how many times to
reescape an escaped char ;-/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88335
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 22:03:29 +0000 (22:03 +0000)]
Ok ... .mak files are nasty. Here's a bit to clean up -some- of that
nastyness - the absolute paths that .dsp dependencies off of parent
directories are encoded with. This chops cd "\checkout\httpd-2.0" from
the support directory down to cd "..", a much nicer solution.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88334
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:57:51 +0000 (20:57 +0000)]
Whoops ... if I'm enabling mod_info to build on Win32, better clean
up the declarations of these private core symbols.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88333
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:56:35 +0000 (20:56 +0000)]
A little transformation for rbb's reorg of this morning.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88332
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:55:55 +0000 (20:55 +0000)]
Pay no attention to the man behind the curtain.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88331
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:53:42 +0000 (20:53 +0000)]
Bring in the expat.lib into the static aprutil.lib win32 library.
Fix up the build order that messed up command-line builds due to
the recent dependency of apr-util on expat-lite.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88330
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:51:20 +0000 (20:51 +0000)]
Add the expat.mak to the command-line build
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88329
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 20:50:22 +0000 (20:50 +0000)]
Fix the build schema : add a library version, expat.lib, for static
linkage. Also depreciate the libexpat.def with some export magic.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88328
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 20:05:47 +0000 (20:05 +0000)]
2.0.13 is tagged, so bump everything for 2.0.14
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88327
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 20:02:11 +0000 (20:02 +0000)]
Bump to 2.0.13 for a tag and roll
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88325
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 19:58:22 +0000 (19:58 +0000)]
Remove the APACHE_RELEASE macro. We never use it in the code, and it
makes automating releases harder, because it is one more number to bump.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88324
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Sun, 25 Feb 2001 19:26:23 +0000 (19:26 +0000)]
Fix Windows compile break caused by move of error_bucket.c
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88323
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 17:09:04 +0000 (17:09 +0000)]
Fix a compile break on OS/2, by adding apr_general.h back to httpd.h.
Submitted by: Brian Havard <brianh@kheldar.apana.org.au>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88322
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 17:00:10 +0000 (17:00 +0000)]
Add a note about the lack of threads on FreeBSD to the INSTALL file.
Submitted by: Derek Young <bleach@chek.com>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88321
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 16:57:08 +0000 (16:57 +0000)]
Don't assume that the byterange filter will always be called more than
once. It is perfectly legal to call the byterange filter one time,
with all the data. Without this patch, that case will seg fault.
Submitted by: Ryan Morgan <rmogran@covalent.net>
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88320
13f79535 -47bb-0310-9956-
ffa450edef68
David Reid [Sun, 25 Feb 2001 15:27:07 +0000 (15:27 +0000)]
Use a better format type for sizeof. This stops a few compiler
warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88319
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sun, 25 Feb 2001 04:24:17 +0000 (04:24 +0000)]
Move the error_bucket definition from the HTTP module to the core server.
Every protocol will need this definition, so it belongs in the core.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88318
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 02:53:30 +0000 (02:53 +0000)]
Refresh all .mak files should we choose to roll again shortly.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88317
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 02:24:19 +0000 (02:24 +0000)]
Begin to fix the build schema changes for apr-util
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88315
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sun, 25 Feb 2001 02:17:19 +0000 (02:17 +0000)]
fix typo
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88314
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 01:12:50 +0000 (01:12 +0000)]
Reconsidered the wisdom of this change... back to the drawing board.
The ap_ prefix is still good, IMHO
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88313
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 00:51:32 +0000 (00:51 +0000)]
Clean up namespace badness with s/configfile_t/ap_configfile_t/
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88312
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 00:43:46 +0000 (00:43 +0000)]
A remnant of apr_pcfg_getc()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88311
13f79535 -47bb-0310-9956-
ffa450edef68
William A. Rowe Jr [Sun, 25 Feb 2001 00:43:10 +0000 (00:43 +0000)]
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
Jeff Trawick [Sun, 25 Feb 2001 00:38:17 +0000 (00:38 +0000)]
use the right fmt string for finfo.size
Submitted by: Greg Stein and gcc on FreeBSD
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88309
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 24 Feb 2001 23:03:53 +0000 (23:03 +0000)]
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
Ryan Bloom [Sat, 24 Feb 2001 22:59:37 +0000 (22:59 +0000)]
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
Greg Stein [Sat, 24 Feb 2001 22:40:49 +0000 (22:40 +0000)]
do the redirection for GET requests only
Submitted by: Ryan Bloom and Greg Stein
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88305
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Sat, 24 Feb 2001 21:27:29 +0000 (21:27 +0000)]
include apr_lib.h for apr_isspace() definition
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88304
13f79535 -47bb-0310-9956-
ffa450edef68
Ryan Bloom [Sat, 24 Feb 2001 19:16:04 +0000 (19:16 +0000)]
We need to build expat-lite before APR-utils, so just move that variable
to before apr-util.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88303
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 24 Feb 2001 14:38:06 +0000 (14:38 +0000)]
move the _rini stuff into bs2login.c (the only user)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88300
13f79535 -47bb-0310-9956-
ffa450edef68
Greg Stein [Sat, 24 Feb 2001 14:17:25 +0000 (14:17 +0000)]
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
Greg Stein [Sat, 24 Feb 2001 11:23:31 +0000 (11:23 +0000)]
*) fix inline handling. we had: apr_inline, APR_INLINE, USE_GNU_INLINE, and
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
Greg Stein [Sat, 24 Feb 2001 03:40:50 +0000 (03:40 +0000)]
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
Greg Stein [Sat, 24 Feb 2001 01:38:49 +0000 (01:38 +0000)]
toss ENUM_BITFIELD. used in one place (but didn't need to be used), and it
certainly wasn't namespace protected.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88295
13f79535 -47bb-0310-9956-
ffa450edef68
Brian Havard [Sat, 24 Feb 2001 00:40:28 +0000 (00:40 +0000)]
Fix initialization of thread_control[...].generation.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88294
13f79535 -47bb-0310-9956-
ffa450edef68
Bill Stoddard [Fri, 23 Feb 2001 18:57:36 +0000 (18:57 +0000)]
Modify mod_file_cache to save pre-formatted strings for
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
Doug MacEachern [Fri, 23 Feb 2001 18:17:19 +0000 (18:17 +0000)]
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
Ryan Bloom [Fri, 23 Feb 2001 14:17:25 +0000 (14:17 +0000)]
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
Greg Stein [Fri, 23 Feb 2001 13:16:51 +0000 (13:16 +0000)]
use apr_off_t and APR_OFF_T_FMT (for portability to 64-bit off_t systems)
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
Jeff Trawick [Fri, 23 Feb 2001 11:48:59 +0000 (11:48 +0000)]
fix a warning in a call to apr_psprintf()
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88287
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 23 Feb 2001 11:39:37 +0000 (11:39 +0000)]
Work on a BSD/OS system where GNU make is used instead of the native
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
Brian Havard [Fri, 23 Feb 2001 10:15:08 +0000 (10:15 +0000)]
Clean up a bunch of incompatible pointer type warnings.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88285
13f79535 -47bb-0310-9956-
ffa450edef68
Joshua Slive [Fri, 23 Feb 2001 05:06:10 +0000 (05:06 +0000)]
Typo.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88284
13f79535 -47bb-0310-9956-
ffa450edef68
Jeff Trawick [Fri, 23 Feb 2001 03:19:29 +0000 (03:19 +0000)]
Get it to build on FreeBSD by dropping <stropt.h>. (It still
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
Ryan Bloom [Fri, 23 Feb 2001 00:50:24 +0000 (00:50 +0000)]
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
Ryan Bloom [Thu, 22 Feb 2001 23:52:51 +0000 (23:52 +0000)]
Use "Basic" authentication instead of "basic" in ab, as the spec says we
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
Jeff Trawick [Thu, 22 Feb 2001 21:35:38 +0000 (21:35 +0000)]
get the last worker in a given child initialized properly
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
Ryan Bloom [Thu, 22 Feb 2001 20:50:03 +0000 (20:50 +0000)]
Fix a seg fault in mod_userdir.c. We used to use the pw structure
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
Jeff Trawick [Thu, 22 Feb 2001 18:54:49 +0000 (18:54 +0000)]
Back down the default number of initial threads created with
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