Roxen.git/
server/
protocols/
http.pike
Branch:
Tag:
Non-build tags
All tags
No tags
2001-10-25
2001-10-25 13:58:47 by Anders Johansson <anders@roxen.com>
5cc04516de7c05815fe805a0d4ce285996eb33a5 (
5
lines) (+
3
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
There was a local variable named time...
Rev: server/protocols/http.pike:1.343
2:
// Modified by Francesco Chemolli to add throttling capabilities. // Copyright © 1996 - 2001, Roxen IS.
-
constant cvs_version = "$Id: http.pike,v 1.
342
2001/10/25
12
:
28
:
55
grubba
Exp $";
+
constant cvs_version = "$Id: http.pike,v 1.
343
2001/10/25
13
:
58
:
47
anders
Exp $";
// #define REQUEST_DEBUG #define MAGIC_ERROR
1610:
file->stat = file->file->stat(); if (zero_type(misc->cacheable) && file->file->is_file) { // Assume a cacheablity on the order of the age of the file.
-
misc->cacheable = (time(1) - file->stat[ST_MTIME])/4;
+
misc->cacheable = (
predef::
time(1) - file->stat[ST_MTIME])/4;
} }