Roxen.git
/
server
/
plugins
/
protocols
/
http.pike
version
»
Context lines:
10
20
40
80
file
none
3
Roxen.git/server/plugins/protocols/http.pike:1:
-
// This is a
roxen
protocol module.
+
// This is a
ChiliMoon
protocol module.
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
382
2002/10/
01
23
:
55
:
49
nilsson Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
383
2002/10/
22
00
:
12
:
52
nilsson Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR // HTTP protocol module. #include <config.h> #define TIMER_PREFIX "http:" #include <timers.h> inherit RequestID;
Roxen.git/server/plugins/protocols/http.pike:1038:
} 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'>
Internet
Server
" + Roxen.html_encode_string (roxen_version()) + #"</font></td>
+
<td align='right'><font size='+1'>
ChiliMoon
" + Roxen.html_encode_string (roxen_version()) + #"</font></td>
</tr></table> "; } string format_backtrace(int eid) { array info = cache_lookup( "http_bt_error", eid); if(!info) return error_page_header("Unregistered Error");