httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tamas Palagyi <tamas.pala...@ge.com>
Subject Re: sending data to output filter
Date Wed, 11 Jun 2008 13:33:05 GMT
Thanks Nick,

I am writing a module that have similar proxy
functionality as mod_proxy_connect: proxying
traffic from client nodes to internal nodes
those speaking their unknown binary protocol.

The difference that I use the bucket/brigades
IO to be able to use the filter infrastructure.
Mainly because of mod_ssl, letting Apache doing
the SSL enc/decryption.

My main concern was whether there already is a module that
does this thing. But my research gave no useful results.
Proxy modules either work at socket level (connect) or
handle their own protocol only (like ajp).

Have you heard a module that would do similar things
what I described?

Thanks,

Tamas
  


On Wed, 2008-06-11 at 11:53 +0100, Nick Kew wrote:
> On Tue, 10 Jun 2008 23:35:42 +0200
> Tamas Palagyi <tamas.palagyi@ge.com> wrote:
> 
> > If the ap_pass_brigade() returned means that all my data has been 
> > sent successfully?
> 
> Yes - to the next filter in the chain (if pass_brigade returned
> success).
> 
> >	 Is ap_pass_brigade going to block till 
> > all data sent (or gives back error)?
> 
> That's out of your hands.  A filter in the chain may or
> may not buffer some or all of the data, and may block or
> return to you while still processing.
> 


Mime
View raw message