httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rodent of Unusual Size <Ken.C...@Golux.Com>
Subject [STATUS] (apache-apr) Fri Mar 19 23:45:56 EST 1999
Date Sat, 20 Mar 1999 04:46:00 GMT
Apache Portable Runtime STATUS:
Last modified at [$Date: 1999/03/19 16:32:15 $]


    0.1  : In pre-alpha development


    Everyone discuss and wrangle out the issues on new-httpd,
    and commit changes as appropriate.

Committed Code Changes:

    . docs/ directory created and initial function pre-spec added
    . include/ directory created and start of APRStatus macros added
    . pthreads/ directory tree created and populated with latest
      work on Apache 1.3.5-dev port to pthreads inserted

Available Patches:
In progress:
    Logging statements
        We have some comments along the lines of "log this here".
        Let's actually make those logs at some point. 

        Ensure thread safety.  Does not include mod_proxy, yet.
        Modules that work:
            mod_env.c mod_negotiation.c mod_autoindex.c mod_dir.c mod_cgi.c 
	    mod_actions.c mod_speling.c mod_userdir.c mod_alias.c 
            mod_expires.c mod_headers.c mod_so.c mod_setenvif.c 
            mod_auth_anon.c mod_access.c mod_include.c mod_imap.c 
            mod_log_config.c mod_asis.c mod_rewrite.c mod_mime.c 
            mod_usertrack.c mod_unique_id.c mod_cern_meta.c
            mod_auth.c (I'm assuming mod_auth* also work)

	Modules that don't work:
  	    mod_status.c     -- updating the look needs to be finished
	    mod_mime_magic.c --Doesn't seem to work yet.  More testing needed.
            mod_digest.c     --Anybody have a client that can transmit Digest
	    mod_info.c       --DOES NOT WORK AT ALL!  One of the worker
                                threads actually becomes a zombie!
	    mod_proxy.c      --Doesn't even load into the server right now

	Questionable modules: (Not tested.)         
	    mod_log_agent.c   -- Are we keeping these in 2.0 after Ken's
            mod_log_referer.c -- mod_log_config changes.  If yes, I'll test
			      -- them later.

	Re-write mod_status to use updated scoreboard for hybrid server.
        This is pretty close to completion. 


Needs patch:

Open issues:

  * Whether every APR routine should return a status code
  * What the status codes should look like
  * Various modules aren't pthreads-ready (mod_cgi)
  * Bringing in the libap stuff

  * Mod_proxy
  * Optimize Optimize Optimize


Closed issues:
    Accept Thread Serialization
        Implemented as a blocking queue.  1 accept thread passes connection
        to queue (size of queue is config directive, default # of threads).
        All other threads block on queue.
    Process/Thread hybridization
        put monitor process back into place.  Was removed for initial port, 
	it's time we make sure the server is running, and if not, start 
	it again.
    Bringing this code up-to-date with the changes in the 1.3 branch.
        It's now up-to-date as of the morning of Feb 6th, 1999.
	Design the scoreboard appropriately for a hybrid process web
	server. This includes adding a tid field to the scoreboard.
    Signal Handling
        Investigate signal handling in Apache-pthreads.  SIGUSR1 is not a
	usable signal on Linux 2.0, because pthreads uses it to communicate
	between threads.  SIGWINCH was used for graceful restarts.
    Process/thread management
        Put (back) in the logic to manage the number of processes.
	Managing threads per process other than with a configuration
	constant is in doubt.
    Accept Serialization across Processes
	We now use one mutex per socket.
    Timeouts.  (only soft timeouts)
	Keepalive and Initail Conection timeouts are done.  Are there others?

View raw message