]> granicus.if.org Git - apache/log
apache
24 years agoDe-errno ap_pcfg_openfile().
Brian Havard [Tue, 2 Nov 1999 15:15:08 +0000 (15:15 +0000)]
De-errno ap_pcfg_openfile().

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

24 years agoDelete useless code...
Bill Stoddard [Tue, 2 Nov 1999 14:34:32 +0000 (14:34 +0000)]
Delete useless code...

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

24 years agoFirst cut at adding a sendfile API to IOL. Eventually need to move iol_socket
Bill Stoddard [Tue, 2 Nov 1999 14:30:23 +0000 (14:30 +0000)]
First cut at adding a sendfile API to IOL. Eventually need to move iol_socket
into APR...

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

24 years agoChange the BeOS iol_socket layer to use apr. Also update mpmt_beos.c
David Reid [Tue, 2 Nov 1999 12:26:41 +0000 (12:26 +0000)]
Change the BeOS iol_socket layer to use apr.  Also update mpmt_beos.c
to reflect this change.

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

24 years agoFirst hack at getting mod_include to work. Everything seems to work ok but
Brian Havard [Mon, 1 Nov 1999 11:45:29 +0000 (11:45 +0000)]
First hack at getting mod_include to work. Everything seems to work ok but
error handling probably needs some work.

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

24 years agoOS/2: When shutting down, kill off child threads properly before shutting
Brian Havard [Mon, 1 Nov 1999 11:25:04 +0000 (11:25 +0000)]
OS/2: When shutting down, kill off child threads properly before shutting
down parent thread.

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

24 years agoOS/2: Bump up thread stack size. 64k just wasn't enough when doing
Brian Havard [Mon, 1 Nov 1999 10:58:55 +0000 (10:58 +0000)]
OS/2: Bump up thread stack size. 64k just wasn't enough when doing
sub-requests in mod_include.

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

24 years agoIn ap_send_fb_length() don't treat APR_EOF as a fatal error.
Brian Havard [Mon, 1 Nov 1999 10:50:47 +0000 (10:50 +0000)]
In ap_send_fb_length() don't treat APR_EOF as a fatal error.

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

24 years agoStill no progress on the PalmPilot MPM, though.
Manoj Kasichainula [Mon, 1 Nov 1999 04:30:52 +0000 (04:30 +0000)]
Still no progress on the PalmPilot MPM, though.

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

24 years agoFix mod_asis handler name. This was messed up with Ryans accidental
Brian Havard [Mon, 1 Nov 1999 04:27:05 +0000 (04:27 +0000)]
Fix mod_asis handler name. This was messed up with Ryans accidental
search/replace of "-i" -> " ap_context_t " and the subsequent fix was
slightly out.

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

24 years agoEliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
Brian Havard [Sun, 31 Oct 1999 09:26:03 +0000 (09:26 +0000)]
Eliminate use of FILE * & ap_get_os_file() in mod_asis by APRizing
ap_scan_script_header_err().

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

24 years agoFinish removing references to errno from buff, by introducing
Manoj Kasichainula [Sun, 31 Oct 1999 09:13:22 +0000 (09:13 +0000)]
Finish removing references to errno from buff, by introducing
ap_berror() to return the status from calls that don't return an
ap_status_t.

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

24 years agoUndo the ap_bgets errno patch. It will return status with ap_berror().
Manoj Kasichainula [Sun, 31 Oct 1999 09:02:55 +0000 (09:02 +0000)]
Undo the ap_bgets errno patch. It will return status with ap_berror().

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

24 years agoAn errnoless interface for ap_bgets
Manoj Kasichainula [Sat, 30 Oct 1999 08:05:10 +0000 (08:05 +0000)]
An errnoless interface for ap_bgets

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

24 years agoap_bwrite now exports an errnoless interface.
Manoj Kasichainula [Sat, 30 Oct 1999 05:25:32 +0000 (05:25 +0000)]
ap_bwrite now exports an errnoless interface.

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

24 years agoChange ap_bread's interface to no longer require errno.
Manoj Kasichainula [Sat, 30 Oct 1999 02:06:34 +0000 (02:06 +0000)]
Change ap_bread's interface to no longer require errno.

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

24 years agoGet rid of an implicit malloc, by making ap_create_tcp_socket use the
Manoj Kasichainula [Sat, 30 Oct 1999 01:56:35 +0000 (01:56 +0000)]
Get rid of an implicit malloc, by making ap_create_tcp_socket use the
process context.

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

24 years agoForce ap_put_os_sock() to create a new ap_socket_t by presetting what's
Manoj Kasichainula [Sat, 30 Oct 1999 01:49:53 +0000 (01:49 +0000)]
Force ap_put_os_sock() to create a new ap_socket_t by presetting what's
passed in to NULL.

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

24 years agoFix a couple of pool-related bugs that may or may not be causing actual
Manoj Kasichainula [Fri, 29 Oct 1999 20:42:49 +0000 (20:42 +0000)]
Fix a couple of pool-related bugs that may or may not be causing actual
problems. This makes sure that all interactions with the
thread_pool_parent are mutexed, and makes ap_put_os_sock use the correct
pool in worker_thread().

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

24 years agoOS/2: APRize iol_socket
Brian Havard [Fri, 29 Oct 1999 14:37:31 +0000 (14:37 +0000)]
OS/2: APRize iol_socket

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

24 years agoThis gets the BeOS mpm working again. I'm still using the poll provided
David Reid [Thu, 28 Oct 1999 22:14:54 +0000 (22:14 +0000)]
This gets the BeOS mpm working again.  I'm still using the poll provided
by RSE as so far the APR poll hasn't delivered enough performance.  I'll
fix it once I've got some other problems out of the way.

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

24 years agoInclude all the registered media types as of today.
Tony Finch [Thu, 28 Oct 1999 14:09:12 +0000 (14:09 +0000)]
Include all the registered media types as of today.

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

24 years agoAdd CVS Revision number to ab.c to allow for detecting changes
Martin Kraemer [Wed, 27 Oct 1999 22:36:20 +0000 (22:36 +0000)]
Add CVS Revision number to ab.c to allow for detecting changes
which were not marked by a version number update. Additionally,
display base repository name (apache-2.0)

Also, merge revision 1.34 of the 1.3 branch:
 Made sure ApacheBench (ab) performs no more requests than
 specified on command line (option -n).

Submitted by: Jim Cox <jc@superlink.net>
Reviewed by: Ralf S. Engelschall
PR: 4839

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

24 years agoOps, I forgot to include this file in previous commit
Ralf S. Engelschall [Wed, 27 Oct 1999 09:14:32 +0000 (09:14 +0000)]
Ops, I forgot to include this file in previous commit

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

24 years agoA little bit of error logging to help with debugging.
Manoj Kasichainula [Wed, 27 Oct 1999 06:16:48 +0000 (06:16 +0000)]
A little bit of error logging to help with debugging.

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

24 years agoOnly process a connection if we've actually accepted one.
Manoj Kasichainula [Wed, 27 Oct 1999 06:11:21 +0000 (06:11 +0000)]
Only process a connection if we've actually accepted one.

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

24 years agoap_bflush and ap_bclose now return ap_status_t error codes instead of
Manoj Kasichainula [Tue, 26 Oct 1999 22:25:02 +0000 (22:25 +0000)]
ap_bflush and ap_bclose now return ap_status_t error codes instead of
returning -1 and setting errno.

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

24 years agoOne ap_bflush to the client wasn't checked. Now fixed.
Manoj Kasichainula [Tue, 26 Oct 1999 22:15:16 +0000 (22:15 +0000)]
One ap_bflush to the client wasn't checked. Now fixed.

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

24 years agoTake advantage of ap_new_apr_connection in dexter
Manoj Kasichainula [Tue, 26 Oct 1999 06:07:36 +0000 (06:07 +0000)]
Take advantage of ap_new_apr_connection in dexter

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

24 years agoFix warnings from the local/remote_addr stuff properly.
Manoj Kasichainula [Tue, 26 Oct 1999 06:05:38 +0000 (06:05 +0000)]
Fix warnings from the local/remote_addr stuff properly.

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

24 years agoFix warnings, and fix a segfault in the process.
Manoj Kasichainula [Mon, 25 Oct 1999 23:16:29 +0000 (23:16 +0000)]
Fix warnings, and fix a segfault in the process.

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

24 years agoMake args to CGIs work.
Brian Havard [Mon, 25 Oct 1999 12:45:39 +0000 (12:45 +0000)]
Make args to CGIs work.

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

24 years agoSize rigour.
Ben Laurie [Sun, 24 Oct 1999 19:24:13 +0000 (19:24 +0000)]
Size rigour.

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

24 years agoAdd a context parameter to ap_accept() for the connection socket to be
Brian Havard [Sun, 24 Oct 1999 13:08:30 +0000 (13:08 +0000)]
Add a context parameter to ap_accept() for the connection socket to be
allocated from. This is needed because the lifetime of a connection is
ususally much shorter than that of the listen socket. Only tested on
OS/2.

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

24 years agoFix an ap_log_error() call.
Brian Havard [Sun, 24 Oct 1999 07:43:45 +0000 (07:43 +0000)]
Fix an ap_log_error() call.

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

24 years agoEnhancements for APR network_io. Adds separate local/remote access methods for
Brian Havard [Sun, 24 Oct 1999 05:59:22 +0000 (05:59 +0000)]
Enhancements for APR network_io. Adds separate local/remote access methods for
a socket's port, IP address and sockaddr_in.

Updates for Apache code to use these, allowing the correct IP address of
clients to be logged.

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

24 years agoBe on the safe side
Martin Kraemer [Sat, 23 Oct 1999 21:27:38 +0000 (21:27 +0000)]
Be on the safe side

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

24 years agomod_speling runs in 2.0-dev now: a bug in (linux?) readdir_r handling and
Martin Kraemer [Sat, 23 Oct 1999 21:20:16 +0000 (21:20 +0000)]
mod_speling runs in 2.0-dev now: a bug in (linux?) readdir_r handling and
interface adaption to APR functions did it. [Martin Kraemer]

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

24 years agoI am not claiming that the modules work now, but at least the parameter lists
Martin Kraemer [Fri, 22 Oct 1999 16:01:27 +0000 (16:01 +0000)]
I am not claiming that the modules work now, but at least the parameter lists
are prepared for the updated ap_log_rerror() format. BTW: What is APLOG_NOERROR
for now that we have an explicit error code? This is still WIP!

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

24 years ago**WARNING** DO NOT USE YET - interim state
Martin Kraemer [Fri, 22 Oct 1999 15:50:12 +0000 (15:50 +0000)]
**WARNING** DO NOT USE YET - interim state
This module now compiles, but it appears to loop. I'm currently on the
Systems'99 trade fair and will continue work on the module after returning
home.
Pool types have been adapted to ap_context_t; ap_popendir() has been
replaced by the new ap_opendir() APR function.

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

24 years agoBring the BeOS mpm up to date with the error logging changes.
David Reid [Fri, 22 Oct 1999 11:28:33 +0000 (11:28 +0000)]
Bring the BeOS mpm up to date with the error logging changes.

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

24 years agoThis brings BeOS back up to date with the recent changes.
David Reid [Fri, 22 Oct 1999 11:25:41 +0000 (11:25 +0000)]
This brings BeOS back up to date with the recent changes.

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

24 years agoThis patch fixes EBCDIC conversion for Apache 1.3.9 on platforms that
Bill Stoddard [Thu, 21 Oct 1999 18:28:14 +0000 (18:28 +0000)]
This patch fixes EBCDIC conversion for Apache 1.3.9 on platforms that
support mmap.  Currently, ap_checkconv() is called only if mmap is not
supported, or if mmap fails.  This results in mangled .gif's and .jpg's
etc. because EBCDIC-ASCII conversion is done by default when
CHARSET_EBCDIC is defined.

Note: I suspect all this will radically change when EBCDIC support is
done in an IOL. However, I think it is valuable to put this patch into
Apache 2.0 as a reminder since it is just a code move rather than new code.

Submitted by: Greg Ames
Reviewed by: Bill Stoddard

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

24 years agoMissed this one when I was making the support programs compile on
David Reid [Wed, 20 Oct 1999 23:11:48 +0000 (23:11 +0000)]
Missed this one when I was making the support programs compile on
BeOS.  All should now compile on "vanilla" BeOS.

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

24 years agoFix an ap_log_rerror call in a Win32 code branch
Bill Stoddard [Wed, 20 Oct 1999 21:00:00 +0000 (21:00 +0000)]
Fix an ap_log_rerror call in a Win32 code branch

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

24 years agoNuke WIN32ERROR
Bill Stoddard [Wed, 20 Oct 1999 19:57:23 +0000 (19:57 +0000)]
Nuke WIN32ERROR

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

24 years agoFix broken ap_log_error() calls.
Bill Stoddard [Wed, 20 Oct 1999 19:51:20 +0000 (19:51 +0000)]
Fix broken ap_log_error() calls.

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

24 years agoFix dexter after adding a status code to ap_log_error broke it.
Manoj Kasichainula [Wed, 20 Oct 1999 19:07:49 +0000 (19:07 +0000)]
Fix dexter after adding a status code to ap_log_error broke it.

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

24 years agoFix mod_cgi so it works on Unix systems. We need to be VERY careful
Ryan Bloom [Wed, 20 Oct 1999 18:28:04 +0000 (18:28 +0000)]
Fix mod_cgi so it works on Unix systems.  We need to be VERY careful
about calling ap_cleanups_for_exec now.  There is really no reason to call
this from outside of APR, unless you are specifically doing a fork/exec.
If you use ap_create_process, it will call ap_cleanups_for_exec for you
in the right spot now.  Also cleaned up some of the code because it helped
with debugging.  We need better error messages in mod_cgi now.
iCVS:

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

24 years agoApply ap_log_error() errno parameter addition to a few more files.
Brian Havard [Wed, 20 Oct 1999 15:15:41 +0000 (15:15 +0000)]
Apply ap_log_error() errno parameter addition to a few more files.

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

24 years agoAdd a status value to ap_log_error and ap_log_rerror. This allows us to use
Ryan Bloom [Wed, 20 Oct 1999 12:50:12 +0000 (12:50 +0000)]
Add a status value to ap_log_error and ap_log_rerror.  This allows us to use
apr_status codes in our error logs.  The main advantage of this, is portable
error codes.  Now, Windows will finally be able to use errno!

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

24 years agoUse APR's getopt.
Brian Havard [Tue, 19 Oct 1999 15:54:52 +0000 (15:54 +0000)]
Use APR's getopt.

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

24 years agoNeed APR_CREATE flag when opening error log & pid file.
Brian Havard [Tue, 19 Oct 1999 15:52:24 +0000 (15:52 +0000)]
Need APR_CREATE flag when opening error log & pid file.

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

24 years agoFix GetAcceptExSockaddrs plus a few tweaks.
Bill Stoddard [Tue, 19 Oct 1999 14:55:35 +0000 (14:55 +0000)]
Fix GetAcceptExSockaddrs plus a few tweaks.

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

24 years agoPrevent collision with APR symbol of same name.
Brian Havard [Tue, 19 Oct 1999 02:41:39 +0000 (02:41 +0000)]
Prevent collision with APR symbol of same name.

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

24 years agoDelete some old unused code that was breaking compiles.
Manoj Kasichainula [Mon, 18 Oct 1999 22:41:04 +0000 (22:41 +0000)]
Delete some old unused code that was breaking compiles.

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

24 years agoUpdate spmt_os2 MPM with APR changes.
Brian Havard [Mon, 18 Oct 1999 17:00:43 +0000 (17:00 +0000)]
Update spmt_os2 MPM with APR changes.

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

24 years agoEliminate warning about create_argv_cmd being unused. Code's topology needs work.
Ben Hyde [Sun, 17 Oct 1999 16:39:42 +0000 (16:39 +0000)]
Eliminate warning about create_argv_cmd being unused.  Code's topology needs work.

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

24 years agoA couple of arg swaps on ap_open
Bill Stoddard [Sun, 17 Oct 1999 15:26:07 +0000 (15:26 +0000)]
A couple of arg swaps on ap_open

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

24 years agoifdef ap_call_exec out but keep it around until we get mod_include updated to use the
Bill Stoddard [Sun, 17 Oct 1999 01:59:20 +0000 (01:59 +0000)]
ifdef ap_call_exec out but keep it around until we get mod_include updated to use the
new APR proc API.

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

24 years agoFix argv list generation bug.
Bill Stoddard [Fri, 15 Oct 1999 00:05:01 +0000 (00:05 +0000)]
Fix argv list generation bug.

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

24 years agoI missed one function when swapping paramters. This fixes it. I think I
Ryan Bloom [Thu, 14 Oct 1999 14:36:49 +0000 (14:36 +0000)]
I missed one function when swapping paramters.  This fixes it.  I think I
have caught them all this time.  I really hope this is the final time I have
to swap parameters.

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

24 years agoGrrrr, commit apachecore.dsp rather than apachecore.def... This adds mod_cgi
Bill Stoddard [Thu, 14 Oct 1999 14:07:55 +0000 (14:07 +0000)]
Grrrr, commit apachecore.dsp rather than apachecore.def... This adds mod_cgi
back into the Win32 build

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

24 years agoAdd mod_cgi back into the Win32 build
Bill Stoddard [Thu, 14 Oct 1999 14:01:16 +0000 (14:01 +0000)]
Add mod_cgi back into the Win32 build

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

24 years agoStill does not work reliably, but it's closer to being right.
Bill Stoddard [Thu, 14 Oct 1999 13:51:41 +0000 (13:51 +0000)]
Still does not work reliably, but it's closer to being right.

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

24 years agoAdd calls ap_get_connections and ap_get_connection_keys to the
Manoj Kasichainula [Wed, 13 Oct 1999 22:40:09 +0000 (22:40 +0000)]
Add calls ap_get_connections and ap_get_connection_keys to the
connection status API, and add implementations of these calls to Dexter.

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

24 years agoThis correct mpmt_beos for the recent changes of argument ordering for
David Reid [Wed, 13 Oct 1999 22:37:19 +0000 (22:37 +0000)]
This correct mpmt_beos for the recent changes of argument ordering for
ap_get_os_sock.

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

24 years agoWhack a warning.
Manoj Kasichainula [Wed, 13 Oct 1999 22:35:40 +0000 (22:35 +0000)]
Whack a warning.

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

24 years agoRemove two bogus decls.
Ben Hyde [Wed, 13 Oct 1999 20:52:55 +0000 (20:52 +0000)]
Remove two bogus decls.

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

24 years agoRedundent and out of synch global.
Ben Hyde [Wed, 13 Oct 1999 20:36:32 +0000 (20:36 +0000)]
Redundent and out of synch global.

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

24 years agoRemove all but one WIN32 from http_main. Other minor changes.
Ben Hyde [Wed, 13 Oct 1999 20:27:55 +0000 (20:27 +0000)]
Remove all but one WIN32 from http_main.  Other minor changes.

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

24 years agoAdd a config directive to Dexter to not maintain any connection status,
Manoj Kasichainula [Wed, 13 Oct 1999 20:14:53 +0000 (20:14 +0000)]
Add a config directive to Dexter to not maintain any connection status,
similarly to what ExtendedStatus did in 1.3.  It's not perfect, since
the server might still go through effort to derive status info only to
have it not recorded, but it does go most of the way.

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

24 years agoMy connection status patch broke all the MPMs that didn't have
Manoj Kasichainula [Wed, 13 Oct 1999 18:16:50 +0000 (18:16 +0000)]
My connection status patch broke all the MPMs that didn't have
connection status support yet. For now, throw in stub functions so that
the server compiles.

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

24 years agoMust have missed this in the past. Sorry.
Dirk-Willem van Gulik [Wed, 13 Oct 1999 08:41:52 +0000 (08:41 +0000)]
Must have missed this in the past. Sorry.

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

24 years agoAdd a connection status table to replace the old function of the
Manoj Kasichainula [Wed, 13 Oct 1999 05:24:16 +0000 (05:24 +0000)]
Add a connection status table to replace the old function of the
scoreboard. It allows MPMs to implement their own mechanism for the
status table and allows any module to add its own per-connection status
entries.

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

24 years agoEliminate a warning.
Manoj Kasichainula [Tue, 12 Oct 1999 20:38:58 +0000 (20:38 +0000)]
Eliminate a warning.

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

24 years agoAttempt to make ap_send_fb work again. This is untested, but it works
Manoj Kasichainula [Tue, 12 Oct 1999 20:36:56 +0000 (20:36 +0000)]
Attempt to make ap_send_fb work again. This is untested, but it works
better than the old version because it compiles.

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

24 years agoNeed to pass in just the directory, not including the filename. Note that CGI
Bill Stoddard [Tue, 12 Oct 1999 19:19:29 +0000 (19:19 +0000)]
Need to pass in just the directory, not including the filename. Note that CGI
arguments are being completely ignored. suexec needs to be handled, the CGI arguments
need to be canonicalized (e.g., quote args containing spaces, etc.) and ScriptInterpreterSource
needs reimplementing. Whew!

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

24 years agoFix bug interpreting cgi_child return code. Do some clean-up.
Bill Stoddard [Tue, 12 Oct 1999 14:45:57 +0000 (14:45 +0000)]
Fix bug interpreting cgi_child return code. Do some clean-up.

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

24 years agoMake sure to use ap_null_cleanup instead of NULL when setting an empty
Manoj Kasichainula [Tue, 12 Oct 1999 06:14:46 +0000 (06:14 +0000)]
Make sure to use ap_null_cleanup instead of NULL when setting an empty
child_cleanup.

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

24 years agoFix function arguments to respect APR's New World Order.
Manoj Kasichainula [Tue, 12 Oct 1999 04:06:58 +0000 (04:06 +0000)]
Fix function arguments to respect APR's New World Order.

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

24 years agoI cannot solve this right now. But this variable sure was uninitialized
Martin Kraemer [Mon, 11 Oct 1999 22:54:29 +0000 (22:54 +0000)]
I cannot solve this right now. But this variable sure was uninitialized

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

24 years agoRemove most of the annoying "re ap_context_t mplement" mis-replacements
Martin Kraemer [Mon, 11 Oct 1999 22:40:18 +0000 (22:40 +0000)]
Remove most of the annoying "re ap_context_t mplement" mis-replacements
by what I think is their real meaning. Guys, I didn't verify all of this,
please have a close look at my "fixes". Thanks.

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

24 years agoFix typos
Martin Kraemer [Mon, 11 Oct 1999 22:07:29 +0000 (22:07 +0000)]
Fix typos

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

24 years agoTypo
Martin Kraemer [Mon, 11 Oct 1999 21:54:40 +0000 (21:54 +0000)]
Typo

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

24 years agoFirst cut at migrating mod_cgi over to APR. Still needs some work to make it Win32...
Bill Stoddard [Mon, 11 Oct 1999 20:44:28 +0000 (20:44 +0000)]
First cut at migrating mod_cgi over to APR. Still needs some work to make it Win32 friendly (use named pipes, etc.)
Submitted by: Paul Reder
Reviewed by: Bill Stoddard

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

24 years agoThese changes allow the support programs to compile on BeOS.
David Reid [Mon, 11 Oct 1999 20:25:08 +0000 (20:25 +0000)]
These changes allow the support programs to compile on BeOS.

The biggest change is in ab.c where the functions that BeOS needs that
aren't the standard format are hidden behind a new ab_* define.  Tested
on FreeBSD and BeOS.

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

24 years agoThis finishes the argument swaps. The docs haven't been updated, and
Ryan Bloom [Mon, 11 Oct 1999 17:52:28 +0000 (17:52 +0000)]
This finishes the argument swaps.  The docs haven't been updated, and
probably won't be for a while yet.  These argument orders have been
documented in the APR Design doc committed earlier today.

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

24 years agoApply Ben H's patch to the winnt mpm...
Bill Stoddard [Mon, 11 Oct 1999 17:33:24 +0000 (17:33 +0000)]
Apply Ben H's patch to the winnt mpm...

Well this was thought provoking.

Drive out the use of malloc in two places.

In listen.c, using the global process pool instead.  That changes the
API into listen so that a process is passed in rather than the config
pool.  That's all was easy.

The pain is propogating a change into all N of the mpm, they
are all similar but different in their use of listen.c  There
is a lot to dislike about similar but code scattered code.

I changed the N setup_listener routines, they now take only
the server since they can dig the config and global pool
out of there.

Free today: ap_setup_prelinked_modules now takes the process so it
can allocate it's table in the process's pool rathern than use
malloc.

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

24 years agoUpdate win32 exports files
Bill Stoddard [Mon, 11 Oct 1999 15:47:45 +0000 (15:47 +0000)]
Update win32 exports files

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

24 years agoYarg... more argument swaps...
Bill Stoddard [Mon, 11 Oct 1999 15:40:00 +0000 (15:40 +0000)]
Yarg... more argument swaps...

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

24 years agoMake Apache use the new ap_create_process call. This is the first of a
Ryan Bloom [Mon, 11 Oct 1999 14:20:48 +0000 (14:20 +0000)]
Make Apache use the new ap_create_process call.  This is the first of a
group of patches.  This patch, allows the core server to compile and
serve pages.  There is a set of patches which will follow to allow the
standard modules to use ap_create_process.  This change should make
writing code which spawns new processes easy to read and understand.
Submitted by: Paul Reder

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

24 years agoBring network code to the parameter order spec. This means contexts go last,
Ryan Bloom [Sun, 10 Oct 1999 20:35:06 +0000 (20:35 +0000)]
Bring network code to the parameter order spec.  This means contexts go last,
and result parameters go first.  Also fixed a small bug in the Makefile.  We
should be removing the libs dir when we do a distclean, we are now.

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

24 years agoAttempt to port mpmt_pthreads to APR, but threads seem to be broken on my plaform
Ben Laurie [Sun, 10 Oct 1999 17:08:07 +0000 (17:08 +0000)]
Attempt to port mpmt_pthreads to APR, but threads seem to be broken on my plaform
so it is only partially tested.

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

24 years agoIncorporate Ben's changes to ap_listen_open in the beos mpm. Also used
David Reid [Sat, 9 Oct 1999 20:27:25 +0000 (20:27 +0000)]
Incorporate Ben's changes to ap_listen_open in the beos mpm.  Also used
the opportunity to make the setup_listeners routine the same as the other
mpm's.  If we're all doing it the same should it be in an mpm at all?

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

24 years agoUse AcceptEx with an async completion port. What we are gaining here is
Bill Stoddard [Fri, 8 Oct 1999 19:07:05 +0000 (19:07 +0000)]
Use AcceptEx with an async completion port. What we are gaining here is
LIFO dispatching out of the worker thread pool.

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

24 years agoWell here is the first attempt at an mpm for BeOS. It's based
David Reid [Fri, 8 Oct 1999 19:02:36 +0000 (19:02 +0000)]
Well here is the first attempt at an mpm for BeOS.  It's based
on the mpmt_pthread module but is totally threaded as that what
BeOS needs.  There's a lot that can be improved but now that it's
committed others can start looking and helping.

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

24 years agoI think this was missed earlier, and as BeOS doesn't define SO_SNDBUF it was stopping...
David Reid [Fri, 8 Oct 1999 12:56:40 +0000 (12:56 +0000)]
I think this was missed earlier, and as BeOS doesn't define SO_SNDBUF it was stopping the build.  APR_SO_SNDBUF is defined and so all is well again.

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

24 years agoMake prefork's setup_listeners looks like the others'.
Manoj Kasichainula [Thu, 7 Oct 1999 22:23:54 +0000 (22:23 +0000)]
Make prefork's setup_listeners looks like the others'.

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

24 years agoThis module wouldn't even compile:
Martin Kraemer [Thu, 7 Oct 1999 22:21:04 +0000 (22:21 +0000)]
This module wouldn't even compile:
the parameter list of setup_listeners() was wrong

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