Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2000-03-18
2000-03-18 02:55:08 by Martin Stjernholm <mast@lysator.liu.se>
cbe6c64ca31353f37146ece25303f7f618585691 (
10
lines) (+
9
/-
1
)
[
Show
|
Annotate
]
Branch:
5.2
Track the id objects if ID_OBJ_DEBUG is defined.
Rev: server/protocols/http.pike:1.220
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2000, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
219
2000/03/
16
18:
24
:
37
nilsson
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
220
2000/03/
18
02
:
55
:
08
mast
Exp $";
#define MAGIC_ERROR
21:
int req_time = HRTIME(); #endif
+
#ifdef ID_OBJ_DEBUG
+
Debug.ObjectMarker __marker = Debug.ObjectMarker (this_object());
+
#endif
+
#ifdef REQUEST_DEBUG int footime, bartime; #define REQUEST_WERR(X) bartime = gethrtime()-footime; werror("%s (%d)\n", (X), bartime);footime=gethrtime()
1910:
{ object c,t; c=object_program(t=this_object())(0, port_obj);
+
#ifdef ID_OBJ_DEBUG
+
werror ("clone %O[%d] -> %O[%d]\n", t, t->__marker->count, c, c->__marker->count);
+
#endif
// c->first = first; c->port_obj = port_obj;