Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2007-06-12
2007-06-12 13:25:22 by Henrik Grubbström (Grubba) <grubba@grubba.org>
9e67a4069668f9199e22e6949fc2352098f3754c (
9
lines) (+
7
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Improved diagnostics for pipe in progress.
Rev: server/protocols/http.pike:1.522
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2004, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
521
2007/06/12
12
:
28
:
08
grubba Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
522
2007/06/12
13
:
25
:
22
grubba Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
2281:
INTERNAL_ERROR( e ); else {
-
if (result && result->pipe)
+
if (result && result->pipe)
{
// Could be destructed here already since handle_request might // have handed over us to another thread that finished quickly.
-
+
REQUEST_WERR("HTTP: handle_request: pipe in progress.");
+
TIMER_END(handle_request);
return;
-
+
}
file = result; }
2294:
; else call_out( roxen.handle, file->try_again_later, handle_request );
+
TIMER_END(handle_request);
return; }