summaryrefslogtreecommitdiff
path: root/server/mpm/experimental/event
Commit message (Collapse)AuthorAgeFilesLines
* Use the new APR_POLLSET_NOCOPY option when creating the core pollset.async-devBrian Pane2005-10-231-9/+9
| | | | | | | | | This eliminates the descriptor copying and mutex operations, and O(n)-time apr_pollset_remove() loop when used with an apr_pollset implementation that support the no-copy optimization. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@327757 13f79535-47bb-0310-9956-ffa450edef68
* more verbose error message on write completion errorBrian Pane2005-10-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@312539 13f79535-47bb-0310-9956-ffa450edef68
* Enabled async write completion in the Event MPMBrian Pane2005-10-101-11/+45
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@312536 13f79535-47bb-0310-9956-ffa450edef68
* Fixed processing of pipelined requestsBrian Pane2005-10-091-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@312512 13f79535-47bb-0310-9956-ffa450edef68
* Refactored CONN_STATE_WRITE_COMPLETION handling.Brian Pane2005-10-091-2/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@307380 13f79535-47bb-0310-9956-ffa450edef68
* Refactored ap_process_request() so that in async MPMs, the MPM (and notBrian Pane2005-10-091-0/+21
| | | | | | | | | | | | | | | | | the httpd core) is responsible for write completion. Note that, with this commit, the Event MPM is still doing write completion synchronously. I'll add async write completion as a separate commit. Note also that this commit breaks the (experimental) Leader/Followers MPM on the (equally experimental) async-dev branch. The fix is to add either synchronous or asynchronous write completion to that MPM. Rather than hack in synchronous write completion, I'll revisit Leader/Followers once I have async working in Event. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@307362 13f79535-47bb-0310-9956-ffa450edef68
* Forward-port of the latest event MPM code from the 2.3-dev trunk intoBrian Pane2005-10-083-56/+7
| | | | | | | the async-dev branch git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@307334 13f79535-47bb-0310-9956-ffa450edef68
* New version of ap_core_output_filter...Brian Pane2005-09-251-6/+1
| | | | | | | | | | | The big change is that it now does nonblocking writes when possible. The goal of this redesign is to more cleanly support asynchronous write completion in MPMs such as Event or Leader. However, the nonblocking writes may also help in Worker and Prefork by allowing more overlapping of handler and output filter processing with network writes. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@291377 13f79535-47bb-0310-9956-ffa450edef68
* *) Create an optional function and MPM Query to replace the core output filter.Paul Querna2005-09-053-1/+39
| | | | | | | *) Put an example of using it into the Event MPM, which just calls the original core output filter. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/async-dev@278652 13f79535-47bb-0310-9956-ffa450edef68
* Initiliase all of the first_*_limit variables to zero, so that we can actuallyColm MacCarthaigh2005-08-311-2/+2
| | | | | | | | raise limits beyond their defaults reliably. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@265523 13f79535-47bb-0310-9956-ffa450edef68
* Implement graceful stop in the event MPM. Implementation is identical toColm MacCarthaigh2005-08-292-7/+74
| | | | | | | | the worker MPM implementation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@264105 13f79535-47bb-0310-9956-ffa450edef68
* Doxygen fixup / cleanupIan Holsman2005-08-284-0/+38
| | | | | | | | | 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
* * event.c: Create ptrans pool as a child of pconf, to fix APR pool Paul Querna2005-06-011-1/+1
| | | | | | | | | lifetime checks in apr_tables.c. Based on r170896 changes to the Worker MPM. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@179355 13f79535-47bb-0310-9956-ffa450edef68
* missed a couple. Greg Ames2005-05-061-5/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168649 13f79535-47bb-0310-9956-ffa450edef68
* worker and event mpms: transient thread creation errors shouldn't take downGreg Ames2005-05-041-20/+43
| | | | | | | the whole server. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@168182 13f79535-47bb-0310-9956-ffa450edef68
* sync with mod_status hacks in the worker mpm.Paul Querna2005-03-161-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@157810 13f79535-47bb-0310-9956-ffa450edef68
* Update copyright year to 2005 and standardize on current copyright owner line.Justin Erenkrantz2005-02-047-7/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@151408 13f79535-47bb-0310-9956-ffa450edef68
* ap_queue_push: update comment to reflect realityGreg Ames2004-12-091-3/+4
| | | | | | | pointed out by: Ron Park (ronp cnet.com) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@111385 13f79535-47bb-0310-9956-ffa450edef68
* * server/mpm/experimental/event/event.c: Go through and reformat and correctJustin Erenkrantz2004-12-041-53/+58
| | | | | | | | | comments to be more appropriate. *no functional changes* git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109773 13f79535-47bb-0310-9956-ffa450edef68
* fix child process aborts withGreg Ames2004-12-031-3/+49
| | | | | | | | | assertion "!((queue)->nelts == (queue)->bounds)" failed due to worker queue overflows. The listener/event thread needs to block when all worker threads are busy. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@109631 13f79535-47bb-0310-9956-ffa450edef68
* listener_thread: no functional changes, formatting changes onlyGreg Ames2004-11-271-116/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106744 13f79535-47bb-0310-9956-ffa450edef68
* only need one main listener loop.Greg Ames2004-11-271-13/+5
| | | | | | | logic changes only to minimize diff. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106743 13f79535-47bb-0310-9956-ffa450edef68
* make the type field in listener_poll_type an enum to make gdb output moreGreg Ames2004-11-271-5/+7
| | | | | | | | | useful. add a comment about a field I haven't been able to grok yet. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@106674 13f79535-47bb-0310-9956-ffa450edef68
* The Event MPM.Paul Querna2004-11-209-0/+3095
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