[patch] adding request structure access to mod_header

2010-07-17 Thread Eric Prud'hommeaux
We were dancing around trying to get RequestHeader (mod_header) to add the authenticated user to a proxy request. The approaches we found involved tricking other modules into calling ap_add_common_vars to apr_table_addn(r-subprocess_env, REMOTE_USER, r-user); I decided to simplify by adding

Re: Apache 2.0 mod_cache

2003-07-24 Thread Eric Prud'hommeaux
On Wed, Jul 23, 2003 at 03:52:43PM -0700, James B Robinson wrote: Yo, Eric Imagine my surprise while perusing the changelogs for Apache to run across: *) mod_disk_cache works much better. This module should still be considered experimental. [Eric Prud'hommeaux] I've just started

.foo files in the same dir must have the same content-type and charset

2003-03-03 Thread Eric Prud'hommeaux
In general, AddType/AddCharset directives provide general rules for file extensions. mod_negotiation.c:handle_map_file provides a way to do negotiation based on rules supplied in file.var rather than the AddType/AddCharset rules for *.html. for the purposes of content negotiation. The problem is

Re: How can I use a data structure shared by all the httpd process ?

2002-08-21 Thread Eric Prud'hommeaux
On Wed, Aug 21, 2002 at 08:06:41AM -0700, Ian Holsman wrote: Sébastien Bonnegent wrote: Hi, My purpose is sharing a data structure. For example with an array: - httpd creation, my_array is empty - there are 8 servers launched - server1 add an entry named (X) - server5 add an

patches for cache_pqueue.h break cache_cache.c

2002-08-16 Thread Eric Prud'hommeaux
This possibly follows an earlier message: [EMAIL PROTECTED] 2002/08/14 00:07:44 commit of cache_pqueue.h changed typedefs for callbacks from function declarations to function pointers. Following this, cache_cache(_make_money_fast).c failed to compile. I could fix either, but being strongly in

Re: patches for cache_pqueue.h break cache_cache.c

2002-08-16 Thread Eric Prud'hommeaux
On Fri, Aug 16, 2002 at 09:55:16AM -0400, Eric Prud'hommeaux wrote: This possibly follows an earlier message: [EMAIL PROTECTED] 2002/08/14 00:07:44 commit of cache_pqueue.h changed typedefs for callbacks from function declarations to function pointers. Following this, cache_cache

disk caching patches now tested

2002-08-16 Thread Eric Prud'hommeaux
This documents tests and provides a test harnes for patches given in Messge-ID: [EMAIL PROTECTED]. Using my good buddies patchPanel and xterm, I tested the disk caching with regards to observing the Vary header. The attached tarball is intended to be expanded in the directory containing

Re: disk caching patches now tested

2002-08-16 Thread Eric Prud'hommeaux
I have to screw at least one thing up per post. Here are the promised attachments... -- -eric ([EMAIL PROTECTED]) Feel free to forward this message to any list for any purpose other than email address distribution. diskCache-test-20020816.tar.gz Description: application/tar-gz

Re: [PATCH] making mod_disk_cache work like mod_mem_cache

2002-08-02 Thread Eric Prud'hommeaux
Accept-Ranges: bytes Via: 1.1 mr-pink.w3.org:8081 Content-Type: text/plain; qs=0.4; charset=ISO-8859-1 Age: 98403064 Content-Length: 473 # # robots.txt for http://www.w3.org/ ... = end of samples Thanks, Cheers, -- -eric Eric Prud'hommeaux wrote: On Thu, Aug 01, 2002 at 08:52:49AM

[PATCH] making mod_disk_cache work like mod_mem_cache

2002-08-01 Thread Eric Prud'hommeaux
someone up on mem-cache will be able to see if I should push this functionality into mod_disk_cache. -Original Message- From: Eric Prud'hommeaux [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 01, 2002 1:06 AM To: Apache HTTP server developers Subject: apache 2 disk-cache SEGV

apache 2 disk-cache SEGV

2002-07-31 Thread Eric Prud'hommeaux
Has anybody seen --enable-disk-cache or --enable-mem-cache work under apache 2? In my scenario: --enable-maintainer-mode --with-mpm=prefork --enable-rewrite --enable-expires --enable-speling --disable-auth --enable-headers --enable-info --disable-userdir --enable-dav --enable-proxy

Duplicate headers in apache 2 disk-cache

2002-07-31 Thread Eric Prud'hommeaux
Resources served by proxy after consulting a stale cache have duplicates of the non-specially handled headers. This is because mod_disk_cache's read_headers reads the cached headers into the err_headers_out and ap_http_header_filter merges them with the ones read from a proxy call.

sub requests are all GETs

2001-09-05 Thread Eric Prud'hommeaux
Can anybody explain why ap_set_sub_req_protocol does rnew-method = GET; rnew-method_number = M_GET; instead of rnew-method = r-method; rnew-method_number = r-method_number; ? The consequence is that functions like negotiation sub_req =

Re: sub requests are all GETs

2001-09-05 Thread Eric Prud'hommeaux
the parent req was. On Wed, Sep 05, 2001 at 08:17:15AM -0400, Eric Prud'hommeaux wrote: Can anybody explain why ap_set_sub_req_protocol does rnew-method = GET; rnew-method_number = M_GET; instead of rnew-method = r-method; rnew-method_number = r

Re: cvs commit: httpd-2.0/modules/http http_protocol.c

2001-08-27 Thread Eric Prud'hommeaux
On Sun, Aug 26, 2001 at 05:20:40PM -0700, Greg Stein wrote: On Sun, Aug 26, 2001 at 03:18:41PM -0700, Ryan Bloom wrote: On Sunday 26 August 2001 12:54, Doug MacEachern wrote: On Sun, 26 Aug 2001, Marc Slemko wrote: hang on, is this about keepalives or chunked encoding? both.

Re: appending to the content brigade

2001-08-25 Thread Eric Prud'hommeaux
... b2 = apr_brigade_create(r->pool); basic_http_header(r, b2, protocol); ... ap_pass_brigade(f->next, b2); ... ap_http_header_filter removes itself (why?) from the list of filters and calls the downstream filters again with the content brigade: ... ap_remove_output_filter(

appending to the content brigade

2001-08-24 Thread Eric Prud'hommeaux
I'm implementing a content filter which wraps the content in multipart mime. I can generate a separator, my data, separator, original payload and separator. The problem is that if I just concatonate the brigades, I end up with an EOS before my final separator. This works (the final bucket gets

Re: Letting Table store non-char data

2001-08-23 Thread Eric Prud'hommeaux
On Wed, Aug 22, 2001 at 09:03:21PM -0700, Ian Holsman wrote: On Wed, 2001-08-22 at 20:58, Greg Stein wrote: On Wed, Aug 22, 2001 at 03:59:56PM -0700, Ian Holsman wrote: On Wed, 2001-08-22 at 15:41, Brian Pane wrote: Ian Holsman wrote: On Wed, 2001-08-22 at 14:12, Ryan Bloom wrote: