Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 29, 2015
  1. @mbgrydeland
Commits on Jul 27, 2015
  1. @bsdphk

    minor polish

    bsdphk authored
Commits on Jul 16, 2015
  1. @mbgrydeland

    Attempt to quell strange coverity report

    mbgrydeland authored
    Add extra variables of the right enum types in an attempt to quell a
    coverity report about enum type missmatch when reusing the same
    integer counter.
Commits on Jul 14, 2015
  1. @nigoroll

    Assert that literal vxids we parse never have the client/server bit set

    nigoroll authored
    This is an additional safeguard against regressions of #1762
Commits on Jul 13, 2015
  1. @fgsch

    Consistency

    fgsch authored
Commits on Jul 12, 2015
  1. @bsdphk

    Add Dridi's test-suite for dynamic backends, with some semi-heavy

    bsdphk authored
    modifications relating to the object refcount issue.
Commits on Jul 11, 2015
  1. @bsdphk
Commits on Jul 10, 2015
  1. @fgsch

    Update URLs

    fgsch authored
  2. @fgsch

    Drop x- prefix following RFC6648

    fgsch authored
  3. @bsdphk
Commits on Jul 8, 2015
  1. @Dridi
Commits on Jun 29, 2015
  1. @bsdphk

    Sort things tbl/vcl_returns.h

    bsdphk authored
    Various white-space fixes
  2. @Dridi

    Typo

    Dridi authored
Commits on Jun 26, 2015
  1. @nigoroll

    Skip checks on pointers and work lists when at VSL_ENDMARKER

    nigoroll authored
    Safe a couple of needless calls to vslc_vsm_check when we know that
    there are no new records and this no need to check shm references /
    the next cursor.
  2. @nigoroll

    Simplify vsl segment management, fixing spurious vsl overruns

    nigoroll authored
    vsl sequence and segment updates didn't happen atomically, so
    vslc_vsm_check could report spurious overruns.
    
    Replace sequence and segment index with a counter (segment_n), which
    always increments (with overflow after UINT_MAX). The actual segment
    index will be segment_n % VSL_SEGMENTS. Overrun detection by
    calculation of the difference between two segment numbers becomes
    simple and safe because we only ever access/update a single integer.
    
    Update the shared memory log head.
    
    (struct VSLC_ptr).priv is now the the equivalent of segment_n from the
    reader side. It gets initialized once and is maintained independently.
    
    Patch prepared in collaboration with Martin Blix Grydeland
    <martin@varnish-software.com>
    
    Fixes: #1747
Commits on Jun 24, 2015
  1. @fgsch
Commits on Jun 23, 2015
  1. @bsdphk

    Add support for a default backend probe.

    bsdphk authored
    If you add a probe named "default" all backends will get it automatically,
    unless they have their own .probe configuration.
Commits on Jun 22, 2015
  1. @bsdphk

    Make it cache_vcl's responsibility to send events to backends and to

    bsdphk authored
    discard them with the VCL.
Commits on Jun 17, 2015
  1. @bsdphk
  2. @bsdphk
  3. @bsdphk
  4. @bsdphk
  5. @bsdphk

    FlexeLint nit-pickery

    bsdphk authored
  6. @bsdphk

    Polish the generated C code a bit, new order:

    bsdphk authored
    	Boilerplate .h files.
    	Source code copy
    	Location tables
    	Generated .h
    	Generated .c
    
    Added a few more "---===###" separators to make this clear
Commits on Jun 16, 2015
  1. @bsdphk
  2. @bsdphk

    Turn the optional vmod init function into an event function instead,

    bsdphk authored
    and call it with LOAD and DISCARD events.
Commits on Jun 15, 2015
  1. @fgsch

    Drop VCL_conf forward declaration

    fgsch authored
    No longer needed after f6a324e.
  2. @fgsch

    Improve description

    fgsch authored
  3. @bsdphk
  4. @bsdphk

    Pass the CTX to vmods init functions instad of the VCL_conf (which is

    bsdphk authored
    part of the CTX).
    
    Test that failing vmods init functions works.
    
    Based on patch from Martin
  5. @bsdphk
  6. @bsdphk

    Make it possible for (vmod) functions called from vcl_init{} to set

    bsdphk authored
    "return(fail)" status, by making the "return(ok)" implicit.
    
    Notice that setting a fail status does not break off vcl_init{} execution,
    and that the final status is simply the last status set.
  7. @bsdphk

    Don't put the cli in VRT_CTX, but give it a vsb for complaints

    bsdphk authored
    during initialization.
    
    Use vmod_debug to test this.
Commits on Jun 11, 2015
  1. @bsdphk

    Alloc vmods to bail out of ->init, now that we have mechanism for

    bsdphk authored
    doing the right thing during fini.
    
    Patch by: Martin
  2. @bsdphk

    Only run ->fini steps for ->init steps which succeeded.

    bsdphk authored
    Patch from Martin, with additional attention to VGC layout by me.
Something went wrong with that request. Please try again.