Changeset 1340

Show
Ignore:
Timestamp:
09/27/07 22:11:57 (4 years ago)
Author:
janl
Message:

- munin-cgi-graph: Working checking of graph expiery. Closes debian bug #307966.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • tags/1.2.5/server/munin-cgi-graph.in

    r860 r1340  
    11#!@@PERL@@  -Tw 
    2 # 
     2# -*- perl -*- 
    33# 
    44# Copyright (C) 2004 Jimmy Olsen 
     
    8585 
    8686    if (defined $ENV{HTTP_IF_MODIFIED_SINCE} and  
    87             !&modified ($ENV{HTTP_IF_MODIFIED_SINCE}, $sstats[9]-1)) 
    88    
     87        !&modified (gmtime(time+($period{$scale}-($time%$period{$scale}))), 
     88                   $sstats[9]-1))
    8989        print "Status: 304\n"; 
    9090        print "Content-Type: image/png\n";