Roxen.git / server / plugins / protocols / http.pike

version» Context lines:

Roxen.git/server/plugins/protocols/http.pike:1:   // This is a roxen protocol module.   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.370 2002/06/03 21:43:10 nilsson Exp $"; + constant cvs_version = "$Id: http.pike,v 1.371 2002/06/14 16:05:05 jhs Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR      #ifdef MAGIC_ERROR   inherit "highlight_pike";   #endif      // HTTP protocol module.   #include <config.h>   #define TIMER_PREFIX "http:"
Roxen.git/server/plugins/protocols/http.pike:1085:   }      static string error_page_header (string title)   {    title = Roxen.html_encode_string (title);    return #"<html><head><title>" + title + #"</title></head>   <body bgcolor='white' text='black' link='#ce5c00' vlink='#ce5c00'>   <table width='100%'><tr>   <td><a href='http://www.roxen.com/'><img border='0' src='/internal-roxen-roxen-small'></a></td>   <td><b><font size='+1'>" + title + #"</font></b></td> - <td align='right'><font size='+1'>Roxen WebServer " + Roxen.html_encode_string (roxen_version()) + #"</font></td> + <td align='right'><font size='+1'>Internet Server " + Roxen.html_encode_string (roxen_version()) + #"</font></td>   </tr></table>      ";   }      string format_backtrace(int eid)   {    [string msg, array(string) rxml_bt, array(array) bt,    string raw_bt_descr, string raw_url, string raw] =    roxen.query_var ("errors")[eid];