Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users
asynchronous connection (ap_mpm_register_timed_callback)

Index | Next | Previous | View Flat

bernhard.poechtrager at fabasoft

May 21, 2012, 3:37 AM

Views: 395
asynchronous connection (ap_mpm_register_timed_callback)

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). When 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 know how to explain it in a better way.
I hope anybody can help me


Von: P÷chtrager, Bernhard
Gesendet: Freitag, 11. Mai 2012 14:12
An: 'users [at] httpd'
Betreff: handle async requests


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 loading the whole time). I think the problem is in the line " rv = ap_queue_pop_something(worker_queue, &csd, &cs, &ptrans, &te);" in the methode "static void *APR_THREAD_FUNC worker_thread(apr_thread_t * thd, void *dummy)" in the event.c file.

The relevant Code of the handler is:

The callback method:
static void callback(void* data)
request_rec* prr = (request_rec*) data;

I hope you understand and solve my problem.

Thank you

Subject User Time
asynchronous connection (ap_mpm_register_timed_callback) bernhard.poechtrager at fabasoft May 21, 2012, 3:37 AM
    Re: asynchronous connection (ap_mpm_register_timed_callback) yehuda at ymkatz May 21, 2012, 8:19 AM

  Index | Next | Previous | View Flat

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.