Return-Path: X-Original-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Delivered-To: apmail-httpd-modules-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B0CC8C9D5 for ; Tue, 22 May 2012 06:28:30 +0000 (UTC) Received: (qmail 94353 invoked by uid 500); 22 May 2012 06:28:30 -0000 Delivered-To: apmail-httpd-modules-dev-archive@httpd.apache.org Received: (qmail 93831 invoked by uid 500); 22 May 2012 06:28:25 -0000 Mailing-List: contact modules-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: modules-dev@httpd.apache.org Delivered-To: mailing list modules-dev@httpd.apache.org Received: (qmail 93804 invoked by uid 99); 22 May 2012 06:28:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 06:28:24 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of bernhard.poechtrager@fabasoft.com designates 192.84.221.196 as permitted sender) Received: from [192.84.221.196] (HELO fabaglexfr.fabasoft.com) (192.84.221.196) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 06:28:16 +0000 Received: from fabaglexfr.fabasoft.com (fabaglexfr.fabasoft.com [127.0.0.1]) by fabaglexfr.fabasoft.com (Fabasoft Mail Services) with ESMTP id 6498F1E1CE1 for ; Tue, 22 May 2012 08:28:29 +0200 (CEST) Received: from fabaglexfr.fabasoft.com by fabaglexfr.fabasoft.com (AvMailGate-3.2.1.26) id 12927-RlmzmS; Tue, 22 May 2012 06:28:29 -0000 Received: from fabaglexfr.fabasoft.com (fabaglexfr.fabasoft.com [127.0.0.1]) by fabaglexfr.fabasoft.com (Fabasoft Mail Services) with ESMTP id 4CF0B3F31C for ; Tue, 22 May 2012 08:28:29 +0200 (CEST) Received: from [127.0.0.1] (helo=fabaglexfr.fabasoft.com) by fabaglexfr.fabasoft.com with ESMTP (eXpurgate 3.2.1) (envelope-from ) id 4fbb320d-71b7-7f000001a373-1 for ; Tue, 22 May 2012 08:28:29 +0200 Received: from fabamailserver.fabagl.fabasoft.com (unknown [10.10.4.4]) by fabaglexfr.fabasoft.com (Fabasoft Mail Services) with ESMTP id 26AA21E1CE1 for ; Tue, 22 May 2012 08:28:29 +0200 (CEST) Received: from FABAMAILSERVER.fabagl.fabasoft.com ([fe80::cb8:7823:146e:b91a]) by fabamailserver.fabagl.fabasoft.com ([fe80::cb8:7823:146e:b91a%13]) with mapi id 14.02.0283.003; Tue, 22 May 2012 08:27:56 +0200 From: =?iso-8859-1?Q?P=F6chtrager=2C_Bernhard?= To: "modules-dev@httpd.apache.org" Subject: Module: Mod_Dialup (ap_mpm_register_timed_callback) Thread-Topic: Module: Mod_Dialup (ap_mpm_register_timed_callback) Thread-Index: Ac035AWnizJGlJM5SdaVGK4ndPf1xg== Date: Tue, 22 May 2012 06:27:56 +0000 Message-ID: <9121F635B3422848BC3C1D6DB9BD55CF3708F6@fabamailserver.fabagl.fabasoft.com> Accept-Language: de-AT, en-US Content-Language: de-DE X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [192.168.100.101] Content-Type: multipart/alternative; boundary="_000_9121F635B3422848BC3C1D6DB9BD55CF3708F6fabamailserverfab_" MIME-Version: 1.0 X-purgate-ID: 152191::1337668109-000071B7-4EEB093C/0-0/0-0 X-purgate-type: clean X-purgate-size: 9277 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-AntiVirus: checked by Avira MailGate (version: 3.2.1.26; AVE: 8.2.10.68; VDF: 7.11.30.162; host: fabaglexfr.fabasoft.com); id=12927-RlmzmS --_000_9121F635B3422848BC3C1D6DB9BD55CF3708F6fabamailserverfab_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I write already two messages in the users-mailing-list. I got a reply to se= nd a message in this mailing list. I hope anybody of you can help me. Von: P=F6chtrager, Bernhard [mailto:bernhard.poechtrager@fabasoft.com] Gesendet: Montag, 21. Mai 2012 12:37 An: users@httpd.apache.org Betreff: [users@httpd] asynchronous connection (ap_mpm_register_timed_callb= ack) I know I write already an e-mail about the problem, but nobody answered me. Now I start a second try. Is anybody working with ap_mpm_register_timed_callback successful? I think that the first request doesn't finish (is waiting for more data). W= hen the second request wants some data, the response isn't successful. (It'= s loading the whole time) I know that my explanation of the problem is not very well, but I don't kno= w how to explain it in a better way. I hope anybody can help me Bernhard Von: P=F6chtrager, Bernhard Gesendet: Freitag, 11. Mai 2012 14:12 An: 'users@httpd.apache.org' Betreff: handle async requests Hello I am trying to work with asynchronous requests. With synchronous requests everything WORKS fine. I write it like mod_dialup.c. The result is that every second request is unsuccessful (The Browser is loa= ding the whole time). I think the problem is in the line " rv =3D ap_queue_= pop_something(worker_queue, &csd, &cs, &ptrans, &te);" in the methode "stat= ic void *APR_THREAD_FUNC worker_thread(apr_thread_t * thd, void *dummy)" in= the event.c file. The relevant Code of the handler is: ap_mpm_register_timed_callback(apr_time_from_msec(1000),callback,prr); return SUSPENDED; The callback method: static void callback(void* data) { request_rec* prr =3D (request_rec*) data; ap_finalize_request_protocol(prr); ap_process_request_after_handler(prr); } I hope you understand and solve my problem. Thank you Bernhard --_000_9121F635B3422848BC3C1D6DB9BD55CF3708F6fabamailserverfab_--