+1 for body factory!

HttpMessageBody::MakeErrorBodyVA output is confusing to users/admins, based on 
an old MSIE error page and requires recompile to be customized.

On Oct 23, 2012, at 6:50 AM, Igor Galić wrote:

> 
> Hey folks,
> 
> yesterday we had a chat in #traffic-server which I'm throwing on
> the wall here so we don't forget about it.
> 
> Our default way of notifying end-users of an HTTP Status is built
> into the server in `HttpMessageBody::MakeErrorBodyVA`
> That isn't pretty, but it's probably fast.
> 
> The other way of doing this is `HttpBodyFactory`.
> 
> Aside from the macabre naming: Should we enable
> proxy.config.body_factory.enable_customizations by default?
> Coupled with caching these documents on startup would perhaps
> give us the same speed as embedding HTML in C++…
> 
> So long,
> 
> i
> 
> -- 
> Igor Galić
> 
> Tel: +43 (0) 664 886 22 883
> Mail: i.ga...@brainsware.org
> URL: http://brainsware.org/
> GPG: 6880 4155 74BD FD7C B515  2EA5 4B1D 9E08 A097 C9AE
> 

Reply via email to