On 22 Apr 2010, at 15:14, Some Guy wrote:
> I don't really need keepalive. Just a really basic http request. However,
> this would be in a non request handler thread, so I'll have no initial
> request_rec to create a subrequest from. It would also be in the parent
> process via a monitor hook.
check the thread "Doing a subrequest with ap_run_sub_req" in the same list
From: Some Guy
To: modules-dev@httpd.apache.org
Sent: Thu, April 22, 2010 5:14:07 PM
Subject: Re: Issuing a client side HTTP request from a module
I don't really need keepalive. Just a
I don't really need keepalive. Just a really basic http request. However,
this would be in a non request handler thread, so I'll have no initial
request_rec to create a subrequest from. It would also be in the parent
process via a monitor hook. I see the mod_proxy create_worker and
initialize_w
On 4/22/2010 1:46 PM, Andrej van der Zee wrote:
Hi Bronto,
http://lmgtfy.com/?q=apache+httpd+valgrind
Thank you for the tip :) You are funny!
Cheers,
Andrej
Hi,
yeah, i didn't mean no offense. I just thought that it's rather a FAQ ;)
Hi Bronto,
>
> http://lmgtfy.com/?q=apache+httpd+valgrind
>
Thank you for the tip :) You are funny!
Cheers,
Andrej
On 4/22/2010 1:09 PM, Andrej van der Zee wrote:
Hi,
This and try running httpd through valgrind.
How can I do that?
Thanks,
Andrej
http://lmgtfy.com/?q=apache+httpd+valgrind
Hi,
>
> This and try running httpd through valgrind.
>
How can I do that?
Thanks,
Andrej
Hi,
> Do you create a background thread per apache process? Or do you have a
> single background thread that is used by all apache processes? Which
> hook creates the background thread?
The background thread is created by ap_hook_child_init, thus every
child process has one running background thr
> Try compiling both apache and apr with debug symbols and run it in a
> debugger with -X (i.e. monoprocess). Place a breakpoint on line 134
> and see how many times you reach it.
This and try running httpd through valgrind.
On 22 Apr 2010, at 08:25, Sorin Manolache wrote:
> As Nick says, the common solution are subrequests. However, note that
> subrequests are not kept alive.
Backend connections may be kept alive or closed, as detailed in
the mod_proxy docs!
If you want to implement keepalive without mod_proxy, th
On Wed, Apr 21, 2010 at 22:51, Nick Kew wrote:
>
> On 21 Apr 2010, at 20:42, Some Guy wrote:
>
>> Hi all,
>>
>> Is there any facility in the Apache libs that allows module developers to
>> act as a client?
>
> The usual way would be to harness mod_proxy, commonly in a subrequest.
> You don't have
On Thu, Apr 22, 2010 at 05:47, Andrej van der Zee
wrote:
> Hi,
>
> I have a question about apr_pool_cleanup_register for a child's pool.
> I register a cleanup function that is called when the pool is
> destroyed. In the cleanup function, I join a background thread that
> first writes some log to
Some Guy wrote:
Hi all,
Is there any facility in the Apache libs that allows module developers to
act as a client? If not, I'll just use something like curl (or raw
sockets), but wanted to know if there was an Apache way to do this.
You'll have to co-opt a http client library or roll your ow
13 matches
Mail list logo