httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@covalent.net
Subject Re: Both ap_r* patches.
Date Sun, 21 Jan 2001 20:21:02 GMT
On Sun, 21 Jan 2001 rbb@covalent.net wrote:

> On Sun, 21 Jan 2001 rbb@covalent.net wrote:
> 
> > 
> > > patch below fixes for me, is this the right thing todo?
> > 
> > Yep.
> > 
> > Ryan

Funny thing is, I went to add this to my tree, and this patch is already
in my tree.  Must have added it after I created the patches.  Sorry about
that.

Ryan

> > > --- modules/http/http_protocol.c~	Sun Jan 21 10:39:42 2001
> > > +++ modules/http/http_protocol.c	Sun Jan 21 11:16:03 2001
> > > @@ -1621,7 +1621,13 @@
> > >  {
> > >      apr_bucket *b;
> > >  
> > > -    apr_brigade_flush(r->bb);
> > > +    if (r->bb) {
> > > +        apr_brigade_flush(r->bb);
> > > +    }
> > > +    else {
> > > +        r->bb = apr_brigade_create(r->pool);
> > > +    }
> > > +
> > >      b = apr_bucket_create_eos();
> > >      APR_BRIGADE_INSERT_TAIL(r->bb, b);
> > >      ap_pass_brigade(r->output_filters, r->bb);
> > > 
> > > 
> > 
> > 
> > _______________________________________________________________________________
> > Ryan Bloom                        	rbb@apache.org
> > 406 29th St.
> > San Francisco, CA 94131
> > -------------------------------------------------------------------------------
> > 
> > 
> 
> 
> _______________________________________________________________________________
> Ryan Bloom                        	rbb@apache.org
> 406 29th St.
> San Francisco, CA 94131
> -------------------------------------------------------------------------------
> 
> 


_______________________________________________________________________________
Ryan Bloom                        	rbb@apache.org
406 29th St.
San Francisco, CA 94131
-------------------------------------------------------------------------------


Mime
View raw message