Roxen.git/
server/
etc/
modules/
Roxen.pmod
Branch:
Tag:
Non-build tags
All tags
No tags
2000-09-19
2000-09-19 22:46:08 by Per Hedbor <ph@opera.com>
c3c632c8de88169ee31b7ca846433a537600b7da (
7
lines) (+
5
/-
2
)
[
Show
|
Annotate
]
Branch:
5.2
Fix for the RAM cache.
Rev: server/etc/modules/Roxen.pmod:1.39
Rev: server/protocols/http.pike:1.277
1:
/*
-
* $Id: Roxen.pmod,v 1.
38
2000/09/
16
21
:
45
:
13
per Exp $
+
* $Id: Roxen.pmod,v 1.
39
2000/09/
19
22
:
46
:
08
per Exp $
* * Various helper functions. *
1092:
set_cookie( id, name, value, -time(1), domain, path ); }
-
void add_cache_callback( RequestID id,
function(RequestID:int) callback )
+
void add_cache_callback( RequestID id,function(RequestID
,object
:int) callback )
//! The request id object is not yet fully initialized in this callback. //! The only valid fields are raw_url and request_headers.
-
+
//! The second argument is the cache key. Destroying it will enforce
+
//! exiration of the entry from the data cache.
{ while( id->misc->orig ) id = id->misc->orig;