- Oct 15, 2008
-
-
Sander Temme authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@705074 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@705008 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
in milliseconds and the parameter acquire in seconds. Add the new currently static function ap_timeout_parameter_parse that should become a general utility function once its API is hammered out. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@705005 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
responders. PR: 46014 Submitted by: Dr Stephen Henson <steve openssl.org> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704917 13f79535-47bb-0310-9956-ffa450edef68
-
Thomas J. Donovan authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704883 13f79535-47bb-0310-9956-ffa450edef68
-
Graham Leggett authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704845 13f79535-47bb-0310-9956-ffa450edef68
-
Thomas J. Donovan authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704771 13f79535-47bb-0310-9956-ffa450edef68
-
Ruediger Pluem authored
The call to apr_socket_timeout_set before apr_socket_connect already sets the socket to non-blocking mode because the timeout of the socket is -1 after creation. A further call to apr_socket_timeout_set (after the connect call does not do this, because the old and the new timeout are >=0). The further code expects the socket to be in non-blocking mode, otherwise we have regressions with ssl. This can be notified by running t/ssl/proxy on 2.2.x which runs much much slower with the patch applied. This does not happen on trunk because the socket is set back to non blocking by the core output filter (async write completion). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704753 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 14, 2008
-
-
Graham Leggett authored
rewrite_mapfunc_t and ap_register_rewrite_mapfunc functions are available to third party modules. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@704726 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 13, 2008
-
-
Ruediger Pluem authored
socket to non blocking mode. Submitted by: Matt Stevenson <mavricknzwork yahoo.com> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703998 13f79535-47bb-0310-9956-ffa450edef68
-
Takashi Sato authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703997 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 12, 2008
-
-
Andre Malo authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703788 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 11, 2008
-
-
Takashi Sato authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703618 13f79535-47bb-0310-9956-ffa450edef68
-
Takashi Sato authored
Submitted by: kawai Reviewed by: takashi git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703615 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 10, 2008
-
-
Takashi Sato authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703441 13f79535-47bb-0310-9956-ffa450edef68
-
Nilgun Belma Buguner authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703336 13f79535-47bb-0310-9956-ffa450edef68
-
Nilgun Belma Buguner authored
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703335 13f79535-47bb-0310-9956-ffa450edef68
-
Nilgun Belma Buguner authored
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org> Reviewed by: Orhan Berent <berent belgeler.org> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703325 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 09, 2008
-
-
Eric Covener authored
Submitted by Dan Poirier <poirier pobox.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@703266 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 08, 2008
-
-
Ruediger Pluem authored
they are. This is needed since it can happen that we are signaled by a worker thread that went idle but received a context switch before it could tell us. If it does signal us later once it is on CPU again there might be no idle worker left. See https://issues.apache.org/bugzilla/show_bug.cgi?id=45605#c4 PR: 45605 Submitted by: Denis Ustimenko <denusk gmail.com> Reviewed by: rpluem git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@702867 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 07, 2008
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@702506 13f79535-47bb-0310-9956-ffa450edef68
-
- Oct 04, 2008
-
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@701644 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 27, 2008
-
-
Nilgun Belma Buguner authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699637 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 26, 2008
-
-
William A. Rowe Jr authored
Windows 2003/2008 (XP/Vista) servers. Virtual allocations will only consume pages once referenced, while the page alignment will vary by ThreadStackSize setting so that the maximum number of threads and minimum stack VM profile will be wasted. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699481 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
1GB stack (but where on earth does 1000 come from? nonsense.) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699480 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699478 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699477 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
win32 stacksize on windows 2003 (xp) and 2008 (vista). git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699476 13f79535-47bb-0310-9956-ffa450edef68
-
William A. Rowe Jr authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@699474 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 24, 2008
-
-
Nilgun Belma Buguner authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@698483 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 23, 2008
-
-
Nilgun Belma Buguner authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@698389 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 20, 2008
-
-
Paul Querna authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697425 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
From Adam Woodworth <mirkperl gmail.com> git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697362 13f79535-47bb-0310-9956-ffa450edef68
-
Paul Querna authored
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
-
- Sep 19, 2008
-
-
Jim Jagielski authored
Cleanup the explanation. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697129 13f79535-47bb-0310-9956-ffa450edef68
-
Jim Jagielski authored
are available to be dropped, should they be idle long enough. PR 43371 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@697093 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 18, 2008
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@696761 13f79535-47bb-0310-9956-ffa450edef68
-
Mladen Turk authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@696614 13f79535-47bb-0310-9956-ffa450edef68
-
- Sep 17, 2008
-
-
Jim Jagielski authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@696417 13f79535-47bb-0310-9956-ffa450edef68
-
Eric Covener authored
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@696368 13f79535-47bb-0310-9956-ffa450edef68
-