I don't know. You can try it. if not, third-party libraries should help
From: Some Guy
To: modules-dev@httpd.apache.org
Sent: Fri, April 23, 2010 12:10:47 AM
Subject: Re: Issuing a client side HTTP request from a module
Wow that looks pretty straightfo
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 k
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 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
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
do you want to make an http request from a module?
From: Some Guy
To: modules-dev@httpd.apache.org
Sent: Wed, April 21, 2010 10:42:50 PM
Subject: Issuing a client side HTTP request from a module
Hi all,
Is there any facility in the Apache libs that allows
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.
Thanks,
SB