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. // Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
372
2002/
06
/
28
23
:
14
:
03
nilsson Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
373
2002/
07
/
03
12
:
44
:
18
nilsson 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:1270:
"fulfill your query, due to an " "internal error in the internal error routine.</h1>"); } } else { file = Roxen.http_low_answer(500, "<h1>Error: The server failed to " "fulfill your query, due to an internal error.</h1>"); } report_error("Internal server error: " + describe_backtrace(err) + "\n"); #ifdef INTERNAL_ERROR_DEBUG
-
report_error(
sprintf(
"Raw backtrace:%O\n", err)
)
;
+
report_error("Raw backtrace:%O\n", err);
#endif /* INTERNAL_ERROR_DEBUG */ } // This macro ensures that something gets reported even when the very // call to internal_error() fails. That happens eg when this_object() // has been destructed. #define INTERNAL_ERROR(err) \ if (mixed __eRr = catch (internal_error (err))) \ report_error("Internal server error: " + describe_backtrace(err) + \ "internal_error() also failed: " + describe_backtrace(__eRr))