Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-03-16
2001-03-16 02:18:22 by Martin Nilsson <mani@lysator.liu.se>
008c699804c48bdfe3d34152de62b4ac49b1b661 (
15
lines) (+
8
/-
7
)
[
Show
|
Annotate
]
Branch:
5.2
Fixed bug causing C-stack overflow when printing a backtrace.
Rev: server/protocols/http.pike:1.308
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
307
2001/03/
08
14
:
35
:
49
per
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
308
2001/03/
16
02
:
18
:
22
nilsson
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
1144:
} } function dp = master()->describe_program;
-
#if __VERSION__ > 7.0
-
object d = master()->Describer();
-
function dcl = d->describe_comma_list;
-
#else
-
function dcl = master()->stupid_describe_comma_list;
-
#endif
+
string cwd = getcwd() + "/"; array bt; if (arrayp (err) && sizeof (err) >= 2 && arrayp (err[1]) || objectp (err) && err->is_generic_error) {
-
+
+
object d = master()->Describer();
+
d->identify_parts(err);
+
function dcl = d->describe_comma_list;
bt = ({});
-
+
foreach (err[1], mixed ent) { string file, func, descr; int line;