What do you do in an input filter when you need to remove the only bucket
in the bucket brigade?
The following results in the filter not being called with any of the
subsequent bucket brigades:
apr_bucket_delete(b);
The following hangs:
b-length = 0;
In other words, my input filter
that unique
in deleting an entire bucket??
On Fri, Jun 22, 2012 at 12:28 PM, Joe Lewis j...@joe-lewis.com wrote:
On 6/22/12 9:52 AM, Jodi Bosa wrote:
What do you do in an input filter when you need to remove the only bucket
in the bucket brigade?
The following results in the filter not being
I am trying to write an Input Filter that removes specific content from a
bucket brigade but failing in getting it to work:
apr_bucket_read(aBucket, bucketStr, readLen, APR_BLOCK_READ);
startPos = ;
apr_bucket_split(aBucket, (size_t)startPos);
tmpBucket = APR_BUCKET_NEXT(aBucket);
On Tue, Nov 1, 2011 at 2:02 PM, Nick Kew n...@apache.org wrote:
On Tue, 1 Nov 2011 13:09:57 -0400
Jodi Bosa jodib...@gmail.com wrote:
I couldn't spot anything useful in mod_proxy config, and figured should
be
simple enough in an output filter - but how to trigger the resubmit
I'm looking for a filter that works with mod_proxy to resubmit a request to
a server based on something being present in a response.
In other words:
- client browser directs request through proxy
- mod_proxy sends request to server
- proxy receives response, parses response, and then
Is there a module that can record requests+responses before and after other
filters have been invoked?
thanks
I would like to leverage mod_proxy and mod_proxy_http to proxy client
requests (from another protocol).
Assuming I have input output filters that handle the other protocol with
the client, shouldn't I simply be able to:
Handler
{
r-filename = apr_psprintf(r-pool, proxy:https://%s;,
Hi,
It seems I may need to create HTTPS reverse proxy workers DYNAMICALLY - what
is best way to do this?
In other words, from manual I see config directive:
ProxyPass /example http://backend.example.com connectiontimeout=5
timeout=30
However, I will have several origin servers that aren't
Hi,
In Apache 2.2 - what is the purpose of ap_hook_insert_filter? It seems to
get invoked after things like post_read, quick_handler, and others which is
too late to filter any input.
On the other hand, ap_hook_create_request does get invoked early enough.
Is this simply hook misnaming - or
I'm encountering a strange interaction between modules (including my own).
When I track it down, it appears that input filters are called after the
handler is finished which results in 2 bodies in the response.
In other words, this is what appears to be happening:
Input filters called
Hi,
What would be a good early hook to modify request headers that is _AFTER_
mod_ssl is finished decrypting request?
When I do a ap_add_input_filter() from a ap_hook_insert_filter() seems to
trigger really late (e.g. after quick_handler, post_read, etc...).
Ideally, I would prefer working
my mistake - needed to return HTTP_MOVED_TEMPORARILY instead of OK (along
with Location: header set)
thanks all
On Sun, Nov 28, 2010 at 3:49 PM, r...@tuxteam.de wrote:
On Sat, Nov 27, 2010 at 09:45:43PM -0700, Chris Kukuchka wrote:
On Nov 27, 2010, at 4:53 PM, Jodi Bosa jodib...@gmail.com
I must be missing something. I cannot seem to set headers in a handler. I
am using the Location header thinking that it's the most obvious (I don't
really care about redirecting - just using Location for easy debugging).
static int testHandler(request_rec *r)
{
Is there a way that I can peek at the request from within a Connection
filter? In other words, I need to examine the actual HTTP request in order
to affect something in another Connection filter. A constraint is that I
cannot modify this other Connection filter.
It seems I am in a somewhat
14 matches
Mail list logo