A long time ago, I wrote fetch_straight() in fact it was one of the 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.
A long time ago, I wrote fetch_straight() in fact it was one of the
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: 2c9807fa3ff65b17195bd55dc8a6c4261e10127b@4202 d4fa192b-c00b-0410-8231-f00ffab90ce4

ajasty-cavium/Varnish-Cache,franciscovg/Varnish-Cache,ajasty-cavium/Varnish-Cache,wikimedia/operations-debs-varnish,zhoualbeart/Varnish-Cache,chrismoulton/Varnish-Cache,wikimedia/operations-debs-varnish,feld/Varnish-Cache,feld/Varnish-Cache,ssm/pkg-varnish,alarky/varnish-cache-doc-ja,gauthier-delacroix/Varnish-Cache,gquintard/Varnish-Cache,mrhmouse/Varnish-Cache,gquintard/Varnish-Cache,franciscovg/Varnish-Cache,1HLtd/Varnish-Cache,1HLtd/Varnish-Cache,varnish/Varnish-Cache,gquintard/Varnish-Cache,wikimedia/operations-debs-varnish,gauthier-delacroix/Varnish-Cache,ssm/pkg-varnish,drwilco/varnish-cache-old,ssm/pkg-varnish,gauthier-delacroix/Varnish-Cache,varnish/Varnish-Cache,chrismoulton/Varnish-Cache,franciscovg/Varnish-Cache,drwilco/varnish-cache-old,feld/Varnish-Cache,varnish/Varnish-Cache,drwilco/varnish-cache-drwilco,ssm/pkg-varnish,ssm/pkg-varnish,ajasty-cavium/Varnish-Cache,chrismoulton/Varnish-Cache,ambernetas/varnish-cache,ajasty-cavium/Varnish-Cache,alarky/varnish-cache-doc-ja,zhoualbeart/Varnish-Cache,gauthier-delacroix/Varnish-Cache,franciscovg/Varnish-Cache,1HLtd/Varnish-Cache,drwilco/varnish-cache-drwilco,alarky/varnish-cache-doc-ja,drwilco/varnish-cache-drwilco,gquintard/Varnish-Cache,mrhmouse/Varnish-Cache,mrhmouse/Varnish-Cache,gauthier-delacroix/Varnish-Cache,ajasty-cavium/Varnish-Cache,varnish/Varnish-Cache,zhoualbeart/Varnish-Cache,franciscovg/Varnish-Cache,ambernetas/varnish-cache,varnish/Varnish-Cache,chrismoulton/Varnish-Cache,feld/Varnish-Cache,feld/Varnish-Cache,drwilco/varnish-cache-old,wikimedia/operations-debs-varnish,alarky/varnish-cache-doc-ja,zhoualbeart/Varnish-Cache,wikimedia/operations-debs-varnish,chrismoulton/Varnish-Cache,1HLtd/Varnish-Cache,mrhmouse/Varnish-Cache,mrhmouse/Varnish-Cache,zhoualbeart/Varnish-Cache,ambernetas/varnish-cache,alarky/varnish-cache-doc-ja