2007-09-03
2007-09-03 13:42:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>
-
d93424c06a1182e9b2023e768ac51297ba436bfd
(8 lines)
(+5/-3)
[
Show
| Annotate
]
Branch: 5.2
Fixed typo in none_match handling.
Rev: server/protocols/http.pike:1.526
2:
// Modified by Francesco Chemolli to add throttling capabilities.
// Copyright © 1996 - 2004, Roxen IS.
- constant cvs_version = "$Id: http.pike,v 1.525 2007/08/28 15:12:02 grubba Exp $";
+ constant cvs_version = "$Id: http.pike,v 1.526 2007/09/03 13:42:48 grubba Exp $";
// #define REQUEST_DEBUG
#define MAGIC_ERROR
2591: Inside #if defined(RAM_CACHE)
int len = sizeof(d);
// Make sure we don't mess with the RAM cache.
file += ([]);
- if ((none_match && none_match[file->etag]) ||
- (none_match["*"] && file->etag)) {
+ if (none_match &&
+ (none_match[file->etag] ||
+ (none_match["*"] && file->etag))) {
// Not modified.
code = 304;
d = "";