On 23 Jan 2002, Florin Andrei wrote: > > PS: Ingo a bagat si in TUX la sugestia mea dar cu ceva limitari care sunt > > oarecum ok: doar header si cu dimensiunea maxima a textului inserat la 600 > > bytes > > De ce 600? >
ask him :) (something to do cu dimensiunea packetelor cred) On Tue, 4 Dec 2001, Ingo Molnar wrote: > > Date: Tue, 4 Dec 2001 16:46:39 +0100 (CET) > From: Ingo Molnar <[EMAIL PROTECTED]> > To: Mihai RUSU <[EMAIL PROTECTED]> > Subject: Re: TUX > > > okay - please check out the -C9 patch, it has the following new tunables: > > /proc/sys/net/tux/extra_html_header > /proc/sys/net/tux/extra_html_header_size > > 'extra_html_header' is a string and it has a maximum size of 600 bytes. > 'extra_html_header_size' is an integer - if it's nonzero then the contents > of extra_html_header get copied into every text/html static response. > > So first set 'extra_html_header', then set 'extra_html_header_size' to the > exact length of extra_html_header. When changing this header on a running > system, then first write 0 into extra_html_header_size, then change the > string, then write the new length into extra_html_header_size. > > i've introduced the extra_html_header_size variable to not strlen() a 500 > bytes string for every request. (right now there is no easy way to get the > length of /proc values cached.) > > if set incorrectly then you might get trash into your HTML replies ... > > Ingo > > ---------------------------- Mihai RUSU "... and what if this is as good as it gets ?" --- Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to unsubscribe from this list.
