Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2002-04-05
2002-04-05 14:35:37 by Henrik Grubbström (Grubba) <grubba@grubba.org>
33098a76edcdc20e99cbbe14498cc871d414310f (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
5.2
Improved debug.
_sprintf() now reports the raw url.
Rev: server/protocols/http.pike:1.367
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
366
2002/04/05 14:
29
:
27
grubba Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
367
2002/04/05 14:
35
:
37
grubba Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
2361:
string _sprintf( ) {
+
return "RequestID(" + (raw_url||"") + ")"
#ifdef ID_OBJ_DEBUG
-
return
"RequestID()"
+ (__marker ? "[" + __marker->count + "]" : "")
;
-
#else
-
return "RequestID()";
+
+ (__marker ? "[" + __marker->count + "]" : "")
#endif
-
+
;
} Stdio.File connection( )