I am writing an output filter module that will under some circumstances want
to send back an HTTP Error Code and kill the request without sending back
the content. I have found that simply returning without ever passing the EOS
bucket to the next filters will make my browser display "No Data Receiv
; On Tue, 14 Jun 2011 16:31:22 -0500
> Jason Funk wrote:
>
> > I am writing an output filter module that will under some circumstances
> want
> > to send back an HTTP Error Code and kill the request without sending back
> > the content.
>
> You can't set an HTT
...@bettercgi.com
>
> Strongbox - The next generation in site security:
> http://www.bettercgi.com/strongbox/
>
> Throttlebox - Intelligent Bandwidth Control
> http://www.bettercgi.com/throttlebox/
>
> Strongbox / Throttlebox affiliate program:
> http://www.bettercgi.com/affil
One last question about shared memory...
I have my configuration now being loaded successfully into a shared memory
segment.. now my problem is that someone could change the config so that the
resulting structure wouldn't fit in the shared memory segment. Is it
possible to in the child replace my
This seems like it should be trival but it isn't working for
me. Relevant code snippets:
char * outfn; //apr_palloced later
> ...
> while ((b = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTINEL(bb)) {
> bytes=0;
> if(APR_BUCKET_IS_FILE(b)){ //we should handle file buckets
> speciall
bump ;)
On Tue, Jul 12, 2011 at 2:29 PM, Jason Funk wrote:
> This seems like it should be trival but it isn't working for
> me. Relevant code snippets:
>
> char * outfn; //apr_palloced later
>> ...
>> while ((b = APR_BRIGADE_FIRST(bb)) != APR_BRIGADE_SENTIN
Then this thread is of interest to me too. :) There is always room to
improve.
On Fri, Jul 22, 2011 at 4:34 AM, Ignaz Birnstingl wrote:
> > I just check the local port:
> >
> > c->local_addr->port == 443 -> HTTPS
> > c->local_addr->port == 80 -> HTTP
> >
> > It should work for most implementat
et_file *)b)->fd);
To this:
> rv = apr_file_name_get((const char **)&outfn,((apr_bucket_file
> *)b->data)->fd);
Jason
On Tue, Jul 19, 2011 at 12:19 PM, Jason Funk wrote:
> bump ;)
>
>
> On Tue, Jul 12, 2011 at 2:29 PM, Jason Funk wrote:
>
>> T
Hello,
What is the best way to package Apache modules for distribution? Do I need
to build binaries for each platform linux 32/64, *bsd 32/64, windows...
etc? I'm not going to be able to distribute the source.
Any tips on the smoothest way or best practices?
Jason
Hello,
Is it possible for a module to trigger the web server to restart itself?
Jason
I am trying to implement an apr proc mutex in my module. When I created the
mutex with APR_LOCK_DEFAULT the mutex is successfully created but I am
getting "Permission Denied" when I try to acquire the lock. I ran
"apr_proc_mutex_defname" to get the name of the default mutex type and it
is APR_LOCK_
es without introducing a race condition?
Jason
On Wed, Aug 17, 2011 at 9:39 AM, Ben Noordhuis wrote:
> On Wed, Aug 17, 2011 at 15:20, Jason Funk wrote:
> > I am trying to implement an apr proc mutex in my module. When I created
> the
> > mutex with APR_LOCK_DEFAULT the mutex is s
that it is specified in the httpd.conf file, but I do
not know how to get access to those variables in my module.
Jason
On Wed, Aug 17, 2011 at 9:49 AM, Jason Funk wrote:
> Hm... interesting.
>
> I'm creating the mutex in my post_config hook. It seems like the parent
> process
Thank you.
After looking through your port, I figured out what I was
missing: unixd_set_proc_mutex_perms().
Jason
On Wed, Aug 17, 2011 at 3:17 PM, William A. Rowe Jr. wrote:
> On 8/17/2011 1:23 PM, Jason Funk wrote:
> > I find that if I use seteuid() to the uid of the user that my
14 matches
Mail list logo