PHP Suspendable requests for Apache
| From: | Rustam Abdullaev | Date: | Sun, 14 Sep 2008 13:33:12 +0000 |
| Subject: | PHP Suspendable requests for Apache | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-40509@lists.php.net to get a copy of this message | ||
Hi,
Is anyone working on a suspendable request support in PHP when used as a
module in Apache?
Suspendable requests are great for supporting Server Push technology, but
are currently only supported in Jetty and Tomcat.
The API would be extremely simple, for example:
suspend(string request_id, int timeout);
- this would end the current request but keep the client connection open up
to "timeout" seconds.
resume(string request_id);
- this would resume a suspended request by starting a new PHP request but
reusing the same client connection that was previously suspended
I think there is enough support in Apache 2 APR to make this possible. What
do you guys think?
- Rusty -