Skip to content
Commits on Feb 25, 2012
  1. Fix another compiler warning

    Stefan Fritsch committed Feb 25, 2012
    Submitted by: Daniel Shahaf <danielsh elego de>
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1293535 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 23, 2011
  1. More cleanup: Expand tabs and some more indentation fixes

    Stefan Fritsch committed Sep 23, 2011
    No functional change
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174929 13f79535-47bb-0310-9956-ffa450edef68
  2. @jimjag

    Cleanup effort in prep for GA push:

    jimjag committed Sep 23, 2011
    Trim trailing whitespace... no func change
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1174748 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 25, 2011
  1. @trawick

    Add child_status hook for tracking creation/termination of MPM child

    trawick committed Apr 25, 2011
    processes.  Add end_generation hook for notification when the last
    MPM child of a generation exits.
    
    end_generation is implemented completely by core using the
    child_status hook run by the MPM.
    
    simple and mpmt_os2 MPMs don't currently run the child_status
    hook, so neither hook is invoked with those MPMs.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1096609 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 8, 2010
  1. Improve the comments for AP_MPMQ_NOT_SUPPORTED/AP_MPMQ_STATIC/AP_MPMQ…

    Stefan Fritsch committed Jun 8, 2010
    …_DYNAMIC
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@952791 13f79535-47bb-0310-9956-ffa450edef68
Commits on Oct 28, 2009
  1. Fix a lot of doxygen warnings. Thanks to Brad Hards for the patch.

    Daniel Earl Poirier committed Oct 28, 2009
    I added a few more fixes, and there are still more that might
    need a doxygen expert.
    
    PR: 48061
    Submitted by: Brad Hards
    Reviewed by: poirier
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@830527 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 5, 2009
  1. @trawick

    main() can use ap_run_mpm() directly, so axe the old ap_mpm_run() fun…

    trawick committed Apr 5, 2009
    …ction
    
    change the mpm hooks to return OK/DONE instead of 0/1
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@762127 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 1, 2009
  1. @trawick

    mpm-query hook: distinguish between DECLINED and APR_ENOTIMPL so that

    trawick committed Apr 1, 2009
    . ap_mpm_query() can return APR_EGENERAL if called too early (for debugging a module)
    . some hypothetical module which implements the mpm-query hook can bypass the MPM
      with APR_ENOTIMPL
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@760864 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 28, 2009
  1. @pquerna

    If serf is available, compile in driving the serf event loop from ins…

    pquerna committed Mar 28, 2009
    …ide the
    
    Event MPM.
    
    Add a new MPM Query to determine if an MPM supports this.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759413 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 27, 2009
  1. @trawick

    fix typo in comment

    trawick committed Mar 27, 2009
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@759113 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 24, 2009
  1. @trawick

    Introduce a new set of APIs to allow MPMs to be proper modules instead

    trawick committed Mar 24, 2009
    of integral parts which share global variables, functions, and macros
    with the rest of httpd.
    
    Converted now:
      prefork, worker, event, simple, WinNT*
    
    *WinNT hasn't been built or tested, and relies on a hack to include the
    WinNT mpm.h to disable Unixy MPM support routines in mpm_common.c
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@757853 13f79535-47bb-0310-9956-ffa450edef68
Commits on Sep 20, 2008
  1. @pquerna

    Introduce Suspendable Requests to the Event MPM.

    pquerna committed Sep 20, 2008
    Using this basic framework, you can return SUSPENDED from an HTTP Handler,
    and then register a callback that is invoked by the MPM at a later time.
    
    This initial version only supports _timers_ as callbacks, but in the future I
    would like to add things like wait for socket activity, on a socket specified by
    the handler.
    
    Once in a callback, It is then the responsibility of the callback fucntion 
    to finish the HTTP Request handling, but this alows you to do cool things like 
    a fully async proxy, COMET support, or even rate limiting.
    
    To prove I'm not insane, I've inlcuded an example module, mod_dialup.
    
    You can configure it like this:
    <Location "/docs">
      ModemStandard "V.32"
    </Location>
    
    And for static files inside that path, you will be rate limited to V.32 speeds, 
    aka 9.6 kilobits/second.
    
    Does anyone besides Rüdiger read commit emails :-) ?
    
    I know there are likely huge problems with this, but I would like to see how far
    we can push the Event MPM, figure out what to do better, if there is anything, 
    and then really dive into the 3.0 development before ApacheCon.
    
    * server/mpm/experimental/event/fdqueue.h:
        (timer_event_t): New structure to hold timer events and callback functions.
        
    * server/mpm/experimental/event/fdqueue.c
        (ap_queue_empty): Modify to also look at Timer Ring.
    
        (ap_queue_init): Initialize Timer Ring.
    
        (ap_queue_push_timer): New function, pushes a timer event into the queue.
    
        (ap_queue_pop_something): Renamed function, returns a timer event or
            a socket/pool for a worker thread to run.
    
    
    * server/mpm/experimental/event/event.c
        (process_socket): If the connection is in SUSPENDED state, don't force it
            into linger mode yet, the callback will have to take care of that.
    
        (push_timer2worker): New shortcut function, pushes timer event into queue
            for a worker to run.
    
        (timer_free_ring): New global data structure to recycle memory used by 
            timer events.
    
        (timer_ring): New global data structure to hold active timer events.
    
        (g_timer_ring_mtx): Thread mutex to protect timer event data structures.
    
        (ap_mpm_register_timed_callback): New Function, registers a callback to be
            invoked by the MPM at a later time.
    
        (listener_thread): Calculate our wakeup time based on the upcoming Event 
            Queue, and after pollset_poll runs, push any Timers that have passed
            onto worker threads to run.
        
        (worker_thread): Call new queue pop method, and if the Timer Event is 
            non-null, invoke the callback.  Once the callback is done, push the
            structure onto the timer_free_ring, to be recycled.
    
        (child_main): Initialize new mutex and ring structures.
    
    
    * server/config.c
        (ap_invoke_handler): Allow SUSPENDED aa valid return code from handlers.
    
    
    * modules/http/http_core.c
        (ap_process_http_async_connection): Don't close the connection when in 
            SUSPENDED state.
    
    
    * modules/http/http_request.c
        (ap_process_request_after_handler): New function, body pulled from the old,
            ap_process_async_request.  Split to let handlers invoke this so they 
            don't need to know all of the details of finishing a request.
    
        (ap_process_async_request): If the handler returns SUSPENDED, don't do
            anything but return.
    
    
    * include/ap_mmn.h: Bump MMN.
    
    
    * include/ap_mpm.h
        (ap_mpm_register_timed_callback): New function.
    
    
    * include/httpd.h:
        (SUSPENDED): New return code for handlers.
        (request_rec::invoke_mtx): New mutex to protect callback invokcations
            from being run before the original handler finishes running.
        (conn_state_e): Add a suspended state.
    
    
    * include/http_request.h
        (ap_process_request_after_handler): New function to make it easier for 
            handlers to finish the HTTP Request.
    
    
    * modules/test/config.m4: Add mod_dialup to build.
    
    
    * modules/test/mod_dialup.c: New rate limiting module, requires the Event MPM 
        to work.
    
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697357 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 7, 2008
  1. @pquerna

    Remove ap_graceful_stop_signalled from all MPMs.

    pquerna committed Apr 7, 2008
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@645437 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 3, 2007
  1. Use correct Doxygen keywords for functions and variables. TODO: figur…

    Sander Temme committed Jul 3, 2007
    …e out whether those keywords are actually necessary. HTML-ify some documentation comments for benefit of Doxygen.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@553013 13f79535-47bb-0310-9956-ffa450edef68
Commits on May 4, 2007
  1. * Add extern "C" linkage to several headers to make it easier to use

    Ruediger Pluem committed May 4, 2007
      them in C++ code.
    
    PR: 42286
    Submitted by: Davi Arnaut <davi haxent.com.br>
    Reviewed by: rpluem
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@535169 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 11, 2006
  1. update license header text

    Roy T. Fielding committed Jul 11, 2006
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@420983 13f79535-47bb-0310-9956-ffa450edef68
Commits on Apr 19, 2006
  1. @colmmacc

    Update the copyright year in all .c, .h and .xml files

    colmmacc committed Apr 19, 2006
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@395228 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 28, 2005
  1. Doxygen fixup / cleanup

    Ian Holsman committed Aug 28, 2005
    submited by: Neale Ranns neale ranns.org
    reviewed by: Ian Holsman
    
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@263931 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 4, 2005
  1. Update copyright year to 2005 and standardize on current copyright ow…

    Justin Erenkrantz committed Feb 4, 2005
    …ner line.
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 20, 2004
  1. @pquerna

    The Event MPM.

    pquerna committed Nov 20, 2004
    Designed to minimize Apache's KeepAlive overhead.
    
    This MPM depends on the current APR-trunk for new features added to 
    the apr_pollset interface. Currently the underlying operating
    system must support KQueue or EPoll.
    
    Status:
      Should work as a drop in replacement for all non-ssl servers.
      SSL Requests that use HTTP 1.1 Pipelining do not currently work.
    
    Testing:
      I have tested it with Linux 2.6, FreeBSD 5.2.1, and OS X 10.3.
      
    Originally based on the patch by Greg Ames.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@105919 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 9, 2004
  1. fix name of The Apache Software Foundation

    Andre Malo committed Feb 9, 2004
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102619 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 7, 2004
  1. fix copyright dates according to the first check in

    Andre Malo committed Feb 7, 2004
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102548 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 6, 2004
  1. apply Apache License, Version 2.0

    Andre Malo committed Feb 6, 2004
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102525 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 4, 2004
  1. outch. Fix include guard to match the right name.

    Andre Malo committed Feb 4, 2004
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102504 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jan 1, 2004
  1. update license to 2004.

    Andre Malo committed Jan 1, 2004
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102135 13f79535-47bb-0310-9956-ffa450edef68
Commits on Dec 10, 2003
  1. @trawick

    add new MPM query -- AP_MPMQ_MPM_STATE -- to find out what the MPM

    trawick committed Dec 10, 2003
    is doing
    
    work-in-progress; not so useful until other MPMs support it
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@102019 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 26, 2003
  1. @trawick

    Add fatal exception hook for use by debug modules. The hook is only

    trawick committed Nov 26, 2003
    available if the --enable-exception-hook configure parm is used.
    
    Sample users at http://httpd.apache.org/~trawick/exception_hook.html
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@101899 13f79535-47bb-0310-9956-ffa450edef68
Commits on Feb 3, 2003
  1. finished that boring job:

    Andre Malo committed Feb 3, 2003
    update license to 2003.
    
    Happy New Year! ;-))
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@98573 13f79535-47bb-0310-9956-ffa450edef68
Commits on Mar 13, 2002
  1. Update our copyright for this year.

    Roy T. Fielding committed Mar 13, 2002
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@93918 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 29, 2001
  1. @dougm

    carry over from 1.3: disable profiling in the parent process #ifdef G…

    dougm committed Nov 29, 2001
    …PROF
    
    PR:
    Obtained from:
    Submitted by:
    Reviewed by:
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@92230 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 13, 2001
  1. Allow modules that add sockets to the ap_listeners list to

    Ryan Bloom committed Nov 13, 2001
    define the function that should be used to accept on that
    socket.  Each MPM can define their own function to use for
    the accept function with the MPM_ACCEPT_FUNC macro.  This
    also abstracts out all of the Unix accept error handling
    logic, which has become out of synch across Unix MPMs.
    
    The code flow is much easier now for different transports:
    
    1)  During pre-config, post-config or while parsing the config
        file, add a socket to the ap_listeners list, making sure to
        define an accept function at the same time.
    
    2)  MPMs find the correct listener, and call the accept function
        that was defined in step 1.
    
    3)  That accept function returns a void pointer, which is passed
        to the create_connection hook.
    
    4)  create_connection adds the correct low-level filters.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91916 13f79535-47bb-0310-9956-ffa450edef68
Commits on Nov 7, 2001
  1. Fix the spelling of the AP_MPMQ_MIN_SPARE_DAEMONS and

    Cliff Woolley committed Nov 7, 2001
    AP_MPMQ_MAX_REQUESTS_DAEMON macros.  Better to do it now rather than later.
    
    **WARNING** This will of course break the compile on any third-party MPMs
    you might have floating around, but it's a really quick change to make.
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@91777 13f79535-47bb-0310-9956-ffa450edef68
Commits on Aug 15, 2001
  1. @trawick

    fix some homophonic issues in comments, as well as some

    trawick committed Aug 15, 2001
    mispelings found near "its" or "it's"
    
    (helping our 4th grader with homework, couldn't help but
    grep)
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90173 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jul 18, 2001
  1. Changed AP_MPMQ_MAX_DAEMONS to refer to MaxClients and

    Paul J. Reder committed Jul 18, 2001
    added an AP_MPMQ_MAX_DAEMON_USED to refer to the highest
    daemon index actually used in the scoreboard. I also
    updated the pertinent calls.
    
    Paul J. Reder
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89604 13f79535-47bb-0310-9956-ffa450edef68
Commits on Jun 27, 2001
  1. @wrowe

    Add additional query datum to the MPMs.

    wrowe committed Jun 27, 2001
      Harrie Hazewinkel <harrie@covalent.net>
    
    
    git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89433 13f79535-47bb-0310-9956-ffa450edef68
Something went wrong with that request. Please try again.