Branch: Tag:

2009-01-09

2009-01-09 13:35:45 by Martin Stjernholm <mast@lysator.liu.se>

Lowered the line limit in the backtraces on the error 500 pages.

Rev: server/protocols/http.pike:1.575

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2004, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.574 2009/01/08 23:14:46 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.575 2009/01/09 13:35:45 mast Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
1412:    else if (stringp(ent[2])) func = ent[2];    else func ="<unknown function>";    if (sizeof (ent) >= 4) -  descr = func + "(" +dcl(ent[3..],999999)+")"; +  descr = func + "(" +dcl(ent[3..],1000)+")";    else    descr = func + "()";    }
2584: Inside #if defined(RAM_CACHE)
   leftovers = data||"";       string d = cv[ 0 ]; + #ifdef DEBUG +  if (!stringp (d)) +  error ("Strange value from data cache for %O: %O\n", raw_url, cv); + #endif    file = cv[1];       if( sizeof(file->callbacks) )