httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [BUG] mod_apreq & mod_proxy stalls POST requests
Date Wed, 22 Oct 2003 18:25:23 GMT
"Philippe M. Chiasson" <> writes:

> I believe I've encountered an interaction problem with mod_apreq and
> mod_proxy. 
> I basically have to proxy certain requests to different locations
> based on incoming arguments. This works as long as you make GET
> requests. If I read the POST data early with apreq (translate_name
> phase) and subsequently trigger a proxy request, mod_proxy 
> somehow gets stuck trying to read data from the client.

[...looks good from the apreq side...]

> At this point I don't have time to investigate further...

If you get some time, try fixing these lines in proxy_http.c:

689:        /* We can't pass this EOS to the output_filters. */
690:        APR_BUCKET_REMOVE(APR_BRIGADE_LAST(input_brigade));

Composing ring macros like that is a big boo-boo.

Joe Schaefer

View raw message