Anyterm daemon won't work under perlbal

Jonty jonty at last.fm
Wed Mar 19 20:43:40 UTC 2008


Huzzah! Glad to help.

Any chance of getting that patch merged down to trunk soon? 
(Yes, I know, I've still not sent the test + docs patch, I'll try to do
it tomorrow)

Cheers,
Jonty

On Wed, 2008-03-19 at 16:13 -0400, Daniel Risacher wrote:
> So, the patches Jonty sent fix my original problem.  I can proxy to
> anyterm direct from perlbal, and no longer need to use Apache's
> mod_proxy.  Works like a charm.
> 
> Thanks, Jonty!  Great work!
> 
> 
> 
> On 3/10/08, Jonty <jonty at last.fm> wrote:
> > Evening,
> >
> >  Sorry for the horrendous delay, I've only just found time to fully test
> >  the rewritten version in production.
> >
> >  Anyway, this introduces two new per-service tunables:
> >
> >  SET backend_http_version = (1.0|1.1)
> >
> >  Specifies the HTTP version to be sent to the backend, as chunked
> >  encoding requires HTTP 1.1 and perlbal used 1.0 previously.
> >  Defaults to HTTP 1.0 for backward compatibility with old backends
> >  communicating with perlbal.
> >  Currently takes "1.1" or "1.0" as a value. Must be set to "1.1" to
> >  enable chunked requests to backends.
> >
> >  SET buffer_chunked_backend_response = (false|true)
> >
> >  Turns on buffering of the entire HTTP response from the backend for
> >  chunked responses in order to set the Content-Length header for the
> >  de-chunked response.
> >  Default false, as this can require a significant amount of memory for
> >  large responses and delays delivery of the response to the client.
> >
> >  Currently this does not support proxying chunked responses to chunked
> >  clients, however I may add this ability in the near future.
> >
> >  This also introduces a hook when backends are closed, making it simple
> >  to log the reason for the closure - this is invaluable when debugging
> >  connection problems to backends.
> >
> >  Hope this meets with approval.
> >
> >  Cheers,
> >
> > Jonty
> >
> >
> >
> >  On Sat, 2008-03-08 at 19:59 -0800, Brad Fitzpatrick wrote:
> >  > On Tue, Feb 5, 2008 at 4:28 PM, Jonty <jonty.wareing at gmail.com> wrote:
> >  >         On Feb 5, 2008 5:53 PM, Daniel Risacher <magnus at alum.mit.edu>
> >  >         wrote:
> >  >         > Anyone feel like implementing chunked encoding on the
> >  >         backend?
> >  >
> >  >
> >  >         I implemented chunked encoding to backends about six months
> >  >         ago, and
> >  >         we've been using it in production solidly since.
> >  >
> >  >         I've been meaning to clean up the patches and submit them back
> >  >         upstream (along with many, many others) but have had no time -
> >  >         I'm not
> >  >         entirely happy with them yet (there's a fair bit of code
> >  >         duplication
> >  >         with the chunkeduploadstate stuff).
> >  >
> >  >         However I should have time to tidy up those patches this week
> >  >         if all
> >  >         goes well, so keep your eyes open.
> >  >
> >  > Yeah, I'd also be interested!
> >  >
> >  > - Brad
> >  >
> >  >
> >
> >


More information about the perlbal mailing list