Re: PHP Suspendable requests for Apache
| From: | Alexey Zakhlestin | Date: | Sun, 14 Sep 2008 17:40:18 +0000 |
| Subject: | Re: PHP Suspendable requests for Apache | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-40510@lists.php.net to get a copy of this message | ||
On Sun, Sep 14, 2008 at 5:33 PM, Rustam Abdullaev <rustamabd@gmail.com> wrote:
> 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?
Can you provide some scenario, when this is useful?
--
Alexey Zakhlestin
http://blog.milkfarmsoft.com/