Show
Ignore:
Timestamp:
06/09/09 12:41:38 (14 months ago)
Author:
phk
Message:

Remove the vcl_timeout{} VCL callback.

We had big plans for this originally, but none of them have materialized
because there are better ways to do those things.

For instance: why invent a lot of code to do prefetch, when wget(1) can
do the job already ?

Getting rid of vcl_timeout{} (and vcl_discard{}, see yesterdays commit)
simplifies the expiry codes locking and statekeeping significantly.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/varnish-cache/bin/varnishd/default.vcl

    r4099 r4100  
    111111} 
    112112 
    113 sub vcl_timeout { 
    114     /* XXX: Do not redefine vcl_timeout{}, it is not yet supported */ 
    115     return (discard); 
    116 } 
    117  
    118113sub vcl_error { 
    119114    set obj.http.Content-Type = "text/html; charset=utf-8";