]> granicus.if.org Git - apache/log
apache
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

24 years agoRe-sync to most up-to-date ab.c version 1.3b
Martin Kraemer [Thu, 7 Oct 1999 21:53:46 +0000 (21:53 +0000)]
Re-sync to most up-to-date ab.c version 1.3b

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

24 years agoap_server_argv0 was undefined. Use a simple default (basename(argv[0]))
Martin Kraemer [Thu, 7 Oct 1999 21:48:30 +0000 (21:48 +0000)]
ap_server_argv0 was undefined. Use a simple default (basename(argv[0]))

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

24 years agoap_listeners must be extern, otherwise you get multiple definitions
Martin Kraemer [Thu, 7 Oct 1999 21:47:36 +0000 (21:47 +0000)]
ap_listeners must be extern, otherwise you get multiple definitions

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

24 years agoWell this was thought provoking.
Ben Hyde [Thu, 7 Oct 1999 20:48:26 +0000 (20:48 +0000)]
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@83943 13f79535-47bb-0310-9956-ffa450edef68

24 years agoAdd process_rec to the top of {server,connection,request}_rec
Ben Hyde [Thu, 7 Oct 1999 18:13:17 +0000 (18:13 +0000)]
Add process_rec to the top of {server,connection,request}_rec
hierarchy of structs that abstract server activities.  Store some
stuff in process_rec (finally a place to have nearly guiltless
globals) for example the global and configuration pools.  Put some
operations on process_rec in http_main, in particular the
destroy_and_exit operation, and the use it to do all the exit calls.
Change ap_read_config to operation on this "object" rather than on the
configuration pool.  Modify server_rec to point to the process, so you
can get at it most all the time which should finally allow most of the
server's malloc calls to be eliminated.

There are no locks in the process struct as yet, put them in as needed.
Some of the hooks should take this rather than conf. pool.

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

24 years agoDuh.
Ben Hyde [Thu, 7 Oct 1999 15:36:40 +0000 (15:36 +0000)]
Duh.

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

24 years agoChanged my mind, ptemp maybe "systolic" but since it is empty
Ben Hyde [Thu, 7 Oct 1999 15:33:06 +0000 (15:33 +0000)]
Changed my mind, ptemp maybe "systolic" but since it is empty
during the entire time the server is serving it's best to destroy it.

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

24 years agoMan! This file vastly improved. Thanks Dean!
Ben Hyde [Thu, 7 Oct 1999 14:32:06 +0000 (14:32 +0000)]
Man!  This file vastly improved.  Thanks Dean!

Use the abstraction API_EXPORT_NONSTD for exporting main (aka
apache_main).  Use clear rather than destroy on ptemp as other
'systolic' pools do.  That also fixing a leak of the first ptemp
created.  Let the destroy of pglobal to all the cleanup.  Meanwhile,
all exit paths should destroy pglobal so the cleanup/unwind gets run
and this routine sets a bad example by having many exits that don't -
another day.
PR:
Obtained from:
Submitted by:
Reviewed by:

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

24 years agoBring file_io up to the new parameter order for APR. I have decided to do
Ryan Bloom [Wed, 6 Oct 1999 23:04:16 +0000 (23:04 +0000)]
Bring file_io up to the new parameter order for APR.  I have decided to do
these on a directory by directory basis for the rest of APR.  I hope to
cause fewer problems for other developers by doing it this way.

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

24 years agoRemove obsolete ap_util_init function.
Ben Hyde [Wed, 6 Oct 1999 21:26:53 +0000 (21:26 +0000)]
Remove obsolete ap_util_init function.

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

24 years agoUse new parameter orders.
Ben Laurie [Tue, 5 Oct 1999 11:57:41 +0000 (11:57 +0000)]
Use new parameter orders.

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

24 years agoFix bug with listenmaxfd. Get rid of a few signed/unsigned warnings in the same area.
Bill Stoddard [Tue, 5 Oct 1999 07:01:24 +0000 (07:01 +0000)]
Fix bug with listenmaxfd. Get rid of a few signed/unsigned warnings in the same area.

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

24 years agoAdd a couple of missing function declarations
Bill Stoddard [Tue, 5 Oct 1999 06:01:32 +0000 (06:01 +0000)]
Add a couple of missing function declarations

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

24 years agoConvert CriticalSection and mutex into apr_lock_t and delete the old lock code.
Bill Stoddard [Tue, 5 Oct 1999 05:47:33 +0000 (05:47 +0000)]
Convert CriticalSection and mutex into apr_lock_t and delete the old lock code.

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

24 years agoUpdate ap_send_fd() and ap_send_fd_length() to use an ap_file_t. Hummm...
Bill Stoddard [Tue, 5 Oct 1999 05:14:43 +0000 (05:14 +0000)]
Update ap_send_fd() and ap_send_fd_length() to use an ap_file_t. Hummm...
Still need to get sendfile() in. First, lets get the serving basically
working again :-)

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

24 years agoTemporary hacks to the Win32 project files to get the server working
Bill Stoddard [Tue, 5 Oct 1999 04:51:10 +0000 (04:51 +0000)]
Temporary hacks to the Win32 project files to get the server working

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

24 years agoSimple name change. the function ap_gets has been renamed to ap_fgets.
Ryan Bloom [Mon, 4 Oct 1999 17:24:52 +0000 (17:24 +0000)]
Simple name change.  the function ap_gets has been renamed to ap_fgets.
This is more in-line with what the function does, and how it acts, so
it makes sense.

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

24 years agoFirst patch to re-order function parameters. This one gets the low hanging
Ryan Bloom [Mon, 4 Oct 1999 16:38:16 +0000 (16:38 +0000)]
First patch to re-order function parameters.  This one gets the low hanging
fruit, and moves most of the result parameters to the first argument.
Future patches in this series will move the rest of the result parameters
to the beginning of the list, and will move the context's to the end of the
list

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

24 years agoExit the child process if too many select errors
Bill Stoddard [Fri, 1 Oct 1999 17:18:28 +0000 (17:18 +0000)]
Exit the child process if too many select errors

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

24 years agoStop CVS from complaing about a manually created src/lib/pth/ subdir
Ralf S. Engelschall [Mon, 27 Sep 1999 07:29:08 +0000 (07:29 +0000)]
Stop CVS from complaing about a manually created src/lib/pth/ subdir
if one build with GNU Pth through the pre-configured setup in config.options.

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

24 years agoMake the support stuff finitely working again.
Ralf S. Engelschall [Mon, 27 Sep 1999 07:19:55 +0000 (07:19 +0000)]
Make the support stuff finitely working again.

BTW, how can it be that nowadays it can happen that the Apache Group has a
source tree which doesn't compile under Unix for more than two weeks (I was
busy with exams and it didn't compile src/support/ already there)? In the past
this was definitely not possible.  Seems like the source-centered hacker focus
drifts away... sorry, for me this seems like a horrifying evolution, friends.
Please let us always make sure that the source at least compiles. I don't want
to say it should also run, but hell, it should at least compile and if not it
should be fixed within a few days...

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

24 years agoRestarts were hosed after the APR changes because we were opening
Manoj Kasichainula [Fri, 24 Sep 1999 22:01:21 +0000 (22:01 +0000)]
Restarts were hosed after the APR changes because we were opening
sockets even when we had them open already. So, for now, add an "active"
flag that indicates whether the socket stored in the listen_rec is an
actual open socket yet.

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

24 years agoFix some broken logic. This logic now replicates what is in Apache 1.3.
Bill Stoddard [Fri, 24 Sep 1999 21:21:20 +0000 (21:21 +0000)]
Fix some broken logic. This logic now replicates what is in Apache 1.3.

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

24 years agoWhen generating the Location: header, mod_speling forgot
Martin Kraemer [Thu, 23 Sep 1999 19:29:13 +0000 (19:29 +0000)]
When generating the Location: header, mod_speling forgot
to escape the spelling-fixed uri. (Forward-Port from 1.3)

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

24 years agoMove ap_pregcomp and ap_pregfree from APR to Apache proper, since these
Manoj Kasichainula [Mon, 20 Sep 1999 22:18:51 +0000 (22:18 +0000)]
Move ap_pregcomp and ap_pregfree from APR to Apache proper, since these
functions depend on Apache's regex libraries. This also should fix
compilation on platforms not using hsregex.

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

24 years agoMake ap_getipaddr threadsafe.
Ben Laurie [Sat, 18 Sep 1999 11:48:17 +0000 (11:48 +0000)]
Make ap_getipaddr threadsafe.

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

24 years agoInstead of blocking all signals in child_main, we were unblocking them;
Manoj Kasichainula [Fri, 17 Sep 1999 23:32:11 +0000 (23:32 +0000)]
Instead of blocking all signals in child_main, we were unblocking them;
this fixes that. Reported by Dave Colasurdo <davecola@us.ibm.com>.

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

24 years agoUpdate FAQ with winsock 2 info..
Bill Stoddard [Fri, 17 Sep 1999 17:31:37 +0000 (17:31 +0000)]
Update FAQ with winsock 2 info..

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

24 years agoA change to how APR uses user data. Now, user data is a linked list that
Ryan Bloom [Tue, 14 Sep 1999 13:37:45 +0000 (13:37 +0000)]
A change to how APR uses user data.  Now, user data is a linked list that
is retreivable using a char string.  Basically, you provide a string that
will be used as a key when you store the data.  If the key was used before,
we will overwrite the old data.  When you want to retreive your data, pass
in the same key, and we will find the data you care about.  This also makes
it harder to put user data in when creating a context, so that option has
disappeared.  It is also impossible to inherit user data from parent contexts.
This option may be added in later.  I will be documenting this VERY soon.

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

24 years agoCut out cruft... More APR'izing...
Bill Stoddard [Mon, 13 Sep 1999 18:30:32 +0000 (18:30 +0000)]
Cut out cruft... More APR'izing...

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

24 years agoAdd apr include file search path. Remove alloc.c and alloc.h
Bill Stoddard [Mon, 13 Sep 1999 17:03:29 +0000 (17:03 +0000)]
Add apr include file search path. Remove alloc.c and alloc.h

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

24 years agoAdd apr include path to win32 dsp and make file
Bill Stoddard [Mon, 13 Sep 1999 15:20:53 +0000 (15:20 +0000)]
Add apr include path to win32 dsp and make file

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

24 years agoA bit of WIN32 header file cleanup
Bill Stoddard [Mon, 13 Sep 1999 14:07:22 +0000 (14:07 +0000)]
A bit of WIN32 header file cleanup

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

24 years agoFix warnings.
Ben Laurie [Sat, 11 Sep 1999 22:14:37 +0000 (22:14 +0000)]
Fix warnings.

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

24 years agoUse return status instead of character value for EOF.
Ben Laurie [Sat, 11 Sep 1999 22:14:11 +0000 (22:14 +0000)]
Use return status instead of character value for EOF.

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

24 years agoReally get rid of unused options.
Ben Laurie [Sat, 11 Sep 1999 19:52:27 +0000 (19:52 +0000)]
Really get rid of unused options.

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

24 years agoThis change should allow Apache to build on all platforms with the popenf
Ryan Bloom [Sat, 11 Sep 1999 15:58:37 +0000 (15:58 +0000)]
This change should allow Apache to build on all platforms with the popenf
changes.  I have not been able to test this, but it should be evident what I
am doing if it doesn't work.

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

24 years agoMake prefork compile on FreeBSD.
Ben Laurie [Sat, 11 Sep 1999 10:25:59 +0000 (10:25 +0000)]
Make prefork compile on FreeBSD.

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

24 years agoUpdate dexter to work with the latest APR changes
Manoj Kasichainula [Wed, 8 Sep 1999 18:58:46 +0000 (18:58 +0000)]
Update dexter to work with the latest APR changes

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

24 years agoRemove all of the calls to functions like "ap_popenf". These functions were
Ryan Bloom [Wed, 8 Sep 1999 14:15:55 +0000 (14:15 +0000)]
Remove all of the calls to functions like "ap_popenf".  These functions were
moved down to APR, but they are being removed.  They are not portable, and
were only moved down for backwards compatability.  With this change, they can
be safely removed, which is the next commit on it's way.
Submitted by:  Ryan Bloom and Paul Reder

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

24 years agobeos updates from David Reid <beos@server1.jetnet.co.uk>
dgaudet [Tue, 7 Sep 1999 22:31:02 +0000 (22:31 +0000)]
beos updates from David Reid <beos@server1.jetnet.co.uk>

Submitted by: David Reid <beos@server1.jetnet.co.uk>

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

24 years agoThe closesocket define causes problems on BeOS. Get rid of it where
Manoj Kasichainula [Mon, 6 Sep 1999 03:23:39 +0000 (03:23 +0000)]
The closesocket define causes problems on BeOS. Get rid of it where
appropriate.

Submitted by: In part by David Reid <abb37@dial.pipex.com>

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

25 years agoFix hyperlink
Ralf S. Engelschall [Sat, 4 Sep 1999 14:19:25 +0000 (14:19 +0000)]
Fix hyperlink

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

25 years agoMoved mod_auth_digest.c from experimental to standard.
Roy T. Fielding [Wed, 1 Sep 1999 22:48:13 +0000 (22:48 +0000)]
Moved mod_auth_digest.c from experimental to standard.

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

25 years agoMore TPF-related changes. Among them:
Manoj Kasichainula [Wed, 1 Sep 1999 04:28:52 +0000 (04:28 +0000)]
More TPF-related changes. Among them:
  - Code reorganization to eliminate some TPF #ifdefs
  - Tweaks to the regex code for easier testing
  - Documentation and build updates
  - Notes in the CHANGES file
Submitted by: David McCreedy <McCreedy@us.ibm.com> and others at IBM

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

25 years agoFix all of those annoying --i -> - ap_context_t problems caused by a
Ryan Bloom [Tue, 31 Aug 1999 21:54:52 +0000 (21:54 +0000)]
Fix all of those annoying --i -> - ap_context_t problems caused by a
search/replace gone wrong.

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

25 years ago"Our computers are down. We'll call you back tomorrow morning." Grumble.
Manoj Kasichainula [Tue, 31 Aug 1999 21:46:35 +0000 (21:46 +0000)]
"Our computers are down. We'll call you back tomorrow morning." Grumble.

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

25 years agoFix dexter to work after Ryan's context patches.
Manoj Kasichainula [Tue, 31 Aug 1999 21:34:05 +0000 (21:34 +0000)]
Fix dexter to work after Ryan's context patches.

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

25 years agoFix faulty comparison. MSVC TRUE == 1 while Borland TRUE == -1
Bill Stoddard [Tue, 31 Aug 1999 15:26:45 +0000 (15:26 +0000)]
Fix faulty comparison. MSVC TRUE == 1 while Borland TRUE == -1
PR: 4333, 4887
Submitted by: Sergey Verlan

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

25 years agoFix some errors from a global search and replace gone wrong. This should
Ryan Bloom [Tue, 31 Aug 1999 12:33:08 +0000 (12:33 +0000)]
Fix some errors from a global search and replace gone wrong.  This should
let the new context changes work on all platforms.

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

25 years agoChanged pools to contexts. Tested with prefork and pthread mpm's. I'll
Ryan Bloom [Tue, 31 Aug 1999 05:35:52 +0000 (05:35 +0000)]
Changed pools to contexts.  Tested with prefork and pthread mpm's.  I'll
check this out tomorrow and make sure everything was checked in correctly.

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

25 years agoForgot this hook...
Bill Stoddard [Mon, 30 Aug 1999 20:39:33 +0000 (20:39 +0000)]
Forgot this hook...

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

25 years agoLink in the winnt mpm
Bill Stoddard [Mon, 30 Aug 1999 20:37:16 +0000 (20:37 +0000)]
Link in the winnt mpm

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

25 years agoPort a few more modules to use the new hooks style.
Bill Stoddard [Mon, 30 Aug 1999 15:43:48 +0000 (15:43 +0000)]
Port a few more modules to use the new hooks style.

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

25 years agoAdd couple of hooks to the APacheCore.def file. Port mod_auth_anon and mod_digest to
Bill Stoddard [Mon, 30 Aug 1999 15:21:32 +0000 (15:21 +0000)]
Add couple of hooks to the APacheCore.def file. Port mod_auth_anon and mod_digest to
use the new hooks.

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

25 years agoLost the Apache feather icon along the way. Adding it back in...
Bill Stoddard [Mon, 30 Aug 1999 15:04:27 +0000 (15:04 +0000)]
Lost the Apache feather icon along the way. Adding it back in...

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

25 years agoUpdate OS/2 MPM for latest hooks.
Brian Havard [Mon, 30 Aug 1999 14:47:21 +0000 (14:47 +0000)]
Update OS/2 MPM for latest hooks.

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

25 years agoRemove some shadowing
Jim Jagielski [Sat, 28 Aug 1999 13:31:36 +0000 (13:31 +0000)]
Remove some shadowing
warnings. Avoid some possible confusion as well :)

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

25 years agoget rid of two additional warnings
Ralf S. Engelschall [Sat, 28 Aug 1999 13:00:55 +0000 (13:00 +0000)]
get rid of two additional warnings

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

25 years agoclean_child_exit() is really used globally inside dexter MPM,
Ralf S. Engelschall [Sat, 28 Aug 1999 12:37:58 +0000 (12:37 +0000)]
clean_child_exit() is really used globally inside dexter MPM,
so rename it to ap_clean_child_exit().

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

25 years agoFix the following bunch of warnings in dexter MPM:
Ralf S. Engelschall [Sat, 28 Aug 1999 12:32:11 +0000 (12:32 +0000)]
Fix the following bunch of warnings in dexter MPM:

egcc -c  -I../../../os/unix -I../../../include -I../../../modules/mpm/dexter
-pipe -O2 -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-align
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs -Winline
-Wno-long-long -funsigned-char -DTARGET=\"apache\" -DUSE_EXPAT
-I../../../lib/expat-lite `../../../apaci` dexter.c
dexter.c:188: warning: no previous prototype for `clean_child_exit'
dexter.c:491: warning: no previous prototype for `ap_start_shutdown'
dexter.c:504: warning: no previous prototype for `ap_start_restart'
dexter.c:682: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `setup_listeners':
dexter.c:683: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `process_socket':
dexter.c:744: warning: pointer targets in passing arg 3 of `getsockname'
differ in signedness
dexter.c: In function `worker_thread':
dexter.c:932: warning: pointer targets in passing arg 3 of `accept' differ in
signedness
dexter.c: In function `ap_mpm_run':
dexter.c:1365: warning: declaration of `i' shadows previous local
dexter.c: At top level:
dexter.c:1404: warning: declaration of `pconf' shadows global declaration
dexter.c: In function `dexter_pre_config':
dexter.c:1405: warning: declaration of `pconf' shadows global declaration

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

25 years agoMake ``configure --with-option=devel'' under
Ralf S. Engelschall [Sat, 28 Aug 1999 12:22:10 +0000 (12:22 +0000)]
Make ``configure --with-option=devel'' under
GCC 2.95.1 happy by avoiding various warnings...

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

25 years agoEnough for one week.
Roy T. Fielding [Sat, 28 Aug 1999 03:25:04 +0000 (03:25 +0000)]
Enough for one week.

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

25 years agono shortage of things TODO
Roy T. Fielding [Sat, 28 Aug 1999 02:44:09 +0000 (02:44 +0000)]
no shortage of things TODO

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

25 years agoRemove error message that was missed in an earlier merge with 1.3.x.
Roy T. Fielding [Sat, 28 Aug 1999 02:37:59 +0000 (02:37 +0000)]
Remove error message that was missed in an earlier merge with 1.3.x.

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

25 years agoFix merge bug
Bill Stoddard [Sat, 28 Aug 1999 02:34:37 +0000 (02:34 +0000)]
Fix merge bug

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

25 years agoMove "handler not found" warning message to below the check
Roy T. Fielding [Fri, 27 Aug 1999 23:47:09 +0000 (23:47 +0000)]
Move "handler not found" warning message to below the check
for a wildcard handler.  Gee, you'd think someone would have
fixed it before seven PRs.

PR: 2584, 3349, 3436, 3548, 4384, 4795, 4807
Submitted by: Dirk <dirkm@teleport.com>, Roy Fielding

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

25 years agoA bunch of changes to get the server compiling on WIN32. mod_cgi, mod_include,
Bill Stoddard [Fri, 27 Aug 1999 22:57:27 +0000 (22:57 +0000)]
A bunch of changes to get the server compiling on WIN32. mod_cgi, mod_include,
mod_isapi and mod_so don't work so I am not making them. Moved a lot of code out
of multithread.*  and into os.* (didn't want to add multithread to the new repository).
Much of this can be cleaned up when APR is stable.

And Dean's gonna but me for sure for the http_main hit. It's may be
possible to name a DLL entry point 'main()'. Just havent tried it yet.

Enjoy!

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

25 years agoReverse the unnecessary change to the interface of ap_parseHTTPdate()
Roy T. Fielding [Fri, 27 Aug 1999 22:18:49 +0000 (22:18 +0000)]
Reverse the unnecessary change to the interface of ap_parseHTTPdate()
that was discovered while rebuilding the repository.

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