2002-10-23
2002-10-23 20:05:56 by Martin Nilsson <mani@lysator.liu.se>
-
56324eaf7acebd84cdc27ba15dd6bb0e4f3ae8ff
(5 lines)
(+3/-2)
[
Show
| Annotate
]
Branch: Aphoto_2.0_beta3
Hopefully fix problem where id->misc->cachekey was unnecessarily destroyed. [1.374]
Rev: server/plugins/protocols/http.pike:1.384
2:
// Modified by Francesco Chemolli to add throttling capabilities.
// Copyright © 1996 - 2001, Roxen IS.
- constant cvs_version = "$Id: http.pike,v 1.383 2002/10/22 00:12:52 nilsson Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.384 2002/10/23 20:05:56 nilsson Exp $";
// #define REQUEST_DEBUG
#define MAGIC_ERROR
1743: Inside #if defined(RAM_CACHE)
{
#ifdef RAM_CACHE
if( (misc->cacheable > 0) && (file->data || file->file) &&
- prot != "HTTP/0.9" )
+ (prot != "HTTP/0.9") && !misc->no_proto_cache)
{
if( file->len>0 && // known length.
((file->len + strlen( head_string )) <