1. 08 Mar, 2018 2 commits
  2. 06 Mar, 2018 1 commit
  3. 08 Mar, 2018 8 commits
  4. 07 Mar, 2018 9 commits
  5. 06 Mar, 2018 15 commits
  6. 05 Mar, 2018 5 commits
    • Nils Goroll's avatar
      shard director: LAZY mode (vdi resolve function), parameter objects · 9b8f6e21
      Nils Goroll authored
      We introduce a shard_param object to hold the shard director lookup
      parameters which until now could only be passed to the .backend()
      method.
      
      By associating a parameter object with a shard director, we enable
      LAZY lookups as with the other directors. Parameter objects are
      defined with VCL scope (normal vmod objects), but can be overridden
      per backend request using a task priv.
      
      We use the same concept to carry shard.backend() parameters to
      vdi resolve for LAZY mode: They get saved in a per-director task
      scope parameter object.
      
      Each object points to another object providing defaults for
      values which are not defined.
      
      Actual resolution of the various parameter objects does not happen
      before they are used to allow changing them independently (ie,
      shard .backend() parameters have precedence over an associated
      parameter object, which by itself can be overridden).
      
      Overview of parameter objects (pointers are alternatives)
      
      shard() director	shard_param() object	default praram
      
      	     --------------------------------->	  vmod static
        VCL obj   /				     ->
        .param  -+--------->	  VCL obj	    /  _
        			  .default  --------   /|
      					      /
      			     ^		     /
      			     |		    /
      					   /
      			  .default	  /
      	------------->	  TASK priv	 /
             /				/
        .default -----------------------------
        TASK priv
      9b8f6e21
    • Nils Goroll's avatar
      leave a note on a shard director requirement · 9533146f
      Nils Goroll authored
      9533146f
    • Poul-Henning Kamp's avatar
      2ecd469c
    • Poul-Henning Kamp's avatar
      Keep the storage.*.* symbols around for vcl4.1 · f28cafe8
      Poul-Henning Kamp authored
      Properly implementing vmod_storage requires the VMOD to
      sanction symbols at VCC compile time, and I'd rather not
      face that right now.
      
      Fixes #2596
      f28cafe8
    • Poul-Henning Kamp's avatar
      Version the reserved word symbols to VCL41+ · de0ad935
      Poul-Henning Kamp authored
      Spotted by: Dridi
      de0ad935