• Poul-Henning Kamp's avatar
    A long time ago, I wrote fetch_straight() in fact it was one of the · d1c3c75a
    Poul-Henning Kamp authored
    very first functions ever written in Varnish.   Since I knew
    that the file stevedore would always return the size you asked for,
    or panic, I didn't bother to actually check how big the storage
    segment he allocated was, I just knew it would be the right size.
    
    Guess what, segments are finite size in the -spersistent stevedore
    so you may in fact _not_ get what you ask for.
    
    (Cue music: Theme Music from The Keystone Kops)
    
    DuH!
    
    
    git-svn-id: http://www.varnish-cache.org/svn/trunk@4202 d4fa192b-c00b-0410-8231-f00ffab90ce4
    d1c3c75a
cache_fetch.c 12 KB