1. 28 Jan, 2019 9 commits
  2. 26 Jan, 2019 1 commit
  3. 25 Jan, 2019 2 commits
  4. 24 Jan, 2019 1 commit
  5. 23 Jan, 2019 1 commit
    • Nils Goroll's avatar
      Change type of VCL_BLOB to newly introduced struct vrt_blob · 54505509
      Nils Goroll authored
      Re-using struct vmod_priv helped simplicity, but had the following
      shortcomings:
      
      - in ddfda3d7 we documented what was
        long implied: return values of vmod functions are assumed immutable
        and so are blobs.
      
        So the blob pointer should be const, yet the struct vmod_priv pointer
        can't be.
      
      - the struct vmod_priv free pointer implies that there would be
        automatic memory management provided by varnish core, yet this does not
        exist for a good reason: We would otherwise need to track all blobs
        ever returned by vmod functions/methods.
      
      So we turn the data pointer into a const and remove the free function
      callback.
      
      We also add a type field, which is to be viewed similar to the miniobj
      magic, except that it should not be asserted upon. The type field is
      intended for additional (yet unreliable) checks of vmods using BLOBs
      to carry around vmod-specific private data.
      54505509
  6. 22 Jan, 2019 7 commits
  7. 21 Jan, 2019 6 commits
  8. 17 Jan, 2019 2 commits
  9. 16 Jan, 2019 8 commits
  10. 15 Jan, 2019 3 commits
    • Poul-Henning Kamp's avatar
      The rest of previous commit. · 8d6c4a1b
      Poul-Henning Kamp authored
      8d6c4a1b
    • Poul-Henning Kamp's avatar
      Remove a wrong vintage 2010 optimization (5f7d80c5) · 45d4464d
      Poul-Henning Kamp authored
      Solaris, (remember Solaris?) will return connection related errnos
      on fd metadata operations such as ioctl(2), [gs]etsockopt(2) etc.
      
      We propagated these errors up from VTC_(non)blocking() which could,
      theoretically, bail out earlier than it would otherwise have done.
      This complicated code far more than it speeded anything up.
      
      Instead just ensure that any errors returned are indeed connection
      related, and then ignore them, and let Solaris deal with the broken
      connection same way as other operating systems.
      45d4464d
    • Poul-Henning Kamp's avatar
      Synchronize with VTEST · e4f4f69d
      Poul-Henning Kamp authored
      e4f4f69d