httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alin vasile <alinachegal...@yahoo.com>
Subject Re: Issuing a client side HTTP request from a module
Date Fri, 23 Apr 2010 08:11:13 GMT
I don't know. You can try it. if not, third-party libraries should help




________________________________
From: Some Guy <teknosoul@gmail.com>
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 straightforward.  Can this be issued from the parent?

SB

On Thu, Apr 22, 2010 at 4:21 PM, alin vasile <alinachegalati@yahoo.com>wrote:

> check the thread "Doing a subrequest with ap_run_sub_req" in the same list
>
>
>
>
> ________________________________
> From: Some Guy <teknosoul@gmail.com>
> 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 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_worker, but the latter call requires a server_rec, which I won't
> have.
>
> SB
>
> On Thu, Apr 22, 2010 at 3:48 AM, Nick Kew <niq@apache.org> wrote:
>
> >
> > 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, that's a lot
> > of wheel to reinvent.
> >
> > --
> > Nick Kew
> >
>
>
>
>
>



      
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message