Checkout Tools
  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
INIT_SIGLIST() is gone; stop using it

  1. … 6 more files in changeset.
Replace reinit_scoreboard with ap_create_scoreboard.

  1. … 8 more files in changeset.
renaming various functions for consistency sake

see: http://apr.apache.org/~dougm/apr_rename.pl

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 94 more files in changeset.
get rid of some cruft related to a now-unused parameter to

make_child() and unnecessary calls to time()

  1. … 6 more files in changeset.
Setup the server start time correctly. This also gets the server uptime

to be reported correctly. I have also moved this code into a common

location, so that individual MPMs do not need to worry about setting up

the start time.

  1. … 6 more files in changeset.
ap_new_connection() returns NULL if an error occurred (prefork MPM

and ap_new_connection() were changed last week)

I have skipped putting the change into WinNT MPM and mod_proxy. I

left a note in the mod_proxy code; for the NT MPM I think I can talk

somebody into doing the right thing for me.

  1. … 9 more files in changeset.
More mod_status work... Get Current Time, Restart Time and Server uptime

displaying properly.

  1. … 6 more files in changeset.

Use the appropriate APR_FINFO_flags for the apr_stat/lstat/getfileinfo

calls to avoid ownership and permissions on Win32 when they are not

required, and until they are implemented.

  1. … 15 more files in changeset.

The changes required for the APR_FINFO_wanted argument to

apr_stat/lstat/getfileinfo. These are -NOT- optimal, they

are simply the required changes to get the server working.

The size of the patch is a warning about how we need to

really look at what we are trying to accomplish with all

of these stat/lstat calls.

  1. … 26 more files in changeset.

The big change. This is part 3 of the apr-util symbols rename, please

see the first commit of srclib/apr-util/include (cvs apr-util/include)

for the quick glance at symbols changed.

  1. … 85 more files in changeset.
fix the declaration of the register-hooks function in the remaining

MPMs... Ryan fixed prefork.c yesterday

  1. … 7 more files in changeset.
Stop using environment variables to set ONE_PROCESS and NO_DETACH. Now

we use the -D command line argument to Apache to configure these

options.

Submitted by: Greg Stein

  1. … 9 more files in changeset.
ap_start_shutdown is not used by anybody outside of the MPMs, so we don't

need to put it in the ap_mpm.h header file. This also makes all of the

instances of ap_start_shutdown static.

  1. … 6 more files in changeset.
Get rid of ap_new_apr_connection(). ap_new_connection() now has

fewer parameters: the local and remote socket addresses were removed

from the parameter list because all required information is available

via the APR socket.

I haven't tested the most important part -- the WinNT MPM changes

-- but it compiles and it looks okay :) If the WinNT MPM works on

Win98 these days let me know.

  1. … 11 more files in changeset.
This begins to remove BUFF from the server. The idea is to go very slowly

with this. To begin with, we store both the socket and the BUFF in the

conn_rec. Functions are free to use which ever they want, in the end all

of the data goes to the same place. This modifies all of the MPMs except

Windows. All of the Unix MPMs are working, but the others need to be

tested.

  1. … 10 more files in changeset.

Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbols

for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper)

and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE.

All _VAR_ flavors changes to _DATA to be absolutely clear.

Thank you Greg, for the most obvious suggestion.

  1. … 102 more files in changeset.
Remove IOLs from Apache. They are no longer necessary, now that we have

filtering beginning to work. There is a hack that has been repeated

through this patch, we morph a pipe into a socket, and put the socket

into the BUFF. Everytime we do that, we are working with a pipe from

a CGI, and we should be creating a pipe bucket and passing that bucket

back. Because we don't actually have pipe buckets yet, we are using this

hack. When we get pipe buckets, this will be fixed.

  1. … 19 more files in changeset.
More tidy up for mpmt_beos mpm.

Guess this one was missed when the rest were fixed :(

Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...

see src/lib/apr/apr_compat.h for most details.

Also a few minor nits to get Win32 to build.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 73 more files in changeset.
prefix libapr functions and types with apr_

  1. … 143 more files in changeset.
Add a NO_DETACH environment variable to all MPMs that understand

ONE_PROCESS. This allows Apache to start up without detaching from

the controlling terminal, but also not going into single process mode.

The main purpose of this patch is to make it very easy to debug the

child process startup code.

PR: 2144

  1. … 5 more files in changeset.
Change semantics of ap_child_table somewhat. Instead of checking for a

dead process with status == SERVER_DEAD, check with pid == 0. This

makes somewhat more sense conceptually, and also matches the behavior

of MPMs that use a shmem scoreboard to track children.

  1. … 5 more files in changeset.
Remove iol_socket.h. This file had one declaration, and it makes more

sense for that declaraion to move to ap_iol.h. This also modifies all of

the files that include iol_socket.h to include ap_iol.h

  1. … 12 more files in changeset.

Add APR_EOL_STR for a platform specific text delimiter, provided by

apr.h (defined in apr.h.in and apr.hw). This is needed -only- in APR

created files (true raw files) such as logs. It is not required in any

splat to screen (stderr/stdout) formatting, nor any html markup.

Some other modules slipped through in the prior apr_strings.h commit.

Sorry 'bout that.

PR:

Obtained from:

Submitted by:

Reviewed by:

  1. … 10 more files in changeset.
Move all APR functions related to strings to their own directory, and

create a new header for those functions. This is the first step to

removing the apr/lib directory completely, and moving those files/functions

to descriptive directories.

  1. … 36 more files in changeset.
#ifdef APR_HAS_OTHER_CHILD to #if APR_HAS_OTHER_CHILD. Not tested.

  1. … 8 more files in changeset.
Move setup_listeners to listen.c. This renames it to ap_setup_listeners,

and removes the duplicated code from all effected MPMs. The only this

doesn't touch, is Windows. That MPM was using a different setup_listeners.

If one of the Windows guys would like to modify the WinNT MPM to use the

same setup_lsiteners, that would be VERY cool.

  1. … 7 more files in changeset.
Move process_child_status to mpm_common.c. This requires re-naming it

to ap_process_child_status and opening up ap_coredump_dir. I have

modified all of the MPMs that I saw using this function to work with this

patch. Sorry if I broke anybody.

  1. … 13 more files in changeset.
Allocate iols out of the ptrans pool rather than mallocing them out

of the heap. The extra malloc/free is a significant performance

hit on some platforms and repeatedly alloc/freeing small chunks of storage

can fragment the heap.

  1. … 6 more files in changeset.