Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:40509 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 88811 invoked from network); 14 Sep 2008 13:45:25 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 14 Sep 2008 13:45:25 -0000 Received: from [127.0.0.1] ([127.0.0.1:18304]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id EE/9F-33739-4751DC84 for ; Sun, 14 Sep 2008 09:45:24 -0400 X-Host-Fingerprint: 82.139.115.2 ip82-139-115-2.lijbrandt.net Received: from [82.139.115.2] ([82.139.115.2:3281] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 54/9F-33739-7631DC84 for ; Sun, 14 Sep 2008 09:36:39 -0400 Message-ID: <54.9F.33739.7631DC84@pb1.pair.com> To: internals@lists.php.net Date: Sun, 14 Sep 2008 15:33:12 +0200 Lines: 25 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5512 X-RFC2646: Format=Flowed; Original X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.5579 X-Posted-By: 82.139.115.2 Subject: PHP Suspendable requests for Apache From: rustamabd@gmail.com ("Rustam Abdullaev") 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 -