Commits on Feb 25, 2016
  1. @bsdphk

    Polish the ESI parser code a little bit while staring at it with

    barely concealed evil grin.
    bsdphk committed Feb 25, 2016
Commits on Feb 24, 2016
  1. @bsdphk

    Fix asserts

    bsdphk committed Feb 24, 2016
  2. @bsdphk
  3. @fgsch

    Reminder

    fgsch committed Feb 24, 2016
  4. @fgsch

    Polish

    fgsch committed Feb 24, 2016
  5. @Dridi

    Test VMOD ACLs using vmod-debug

    Dridi committed Feb 23, 2016
  6. @Dridi

    Add a new VRT_acl_match function to the VMODs ABI

    VRT_MINOR_VERSION needs to be incremented for the 4.1 branch.
    Dridi committed Feb 23, 2016
  7. @Dridi

    Make named ACLs available to VMODs

    Dridi committed Feb 23, 2016
  8. @Dridi

    Introduce a new ACL type for VMODs

    Dridi committed Feb 23, 2016
  9. @Dridi
  10. @Dridi
  11. @mbgrydeland

    Hit-for-pass objects are not IMS candidates

    Original test case by fgsch
    
    Fixes: #1858
    mbgrydeland committed Feb 24, 2016
Commits on Feb 23, 2016
  1. @fgsch

    Re-add snippet needed for websockets support

    Pointed out by nirn on irc.
    fgsch committed Feb 23, 2016
  2. @fgsch

    Sync with reality

    fgsch committed Feb 23, 2016
  3. @fgsch

    Typo

    fgsch committed Feb 23, 2016
  4. @Dridi

    Simplify

    Dridi committed Feb 23, 2016
  5. @Dridi

    Reword

    Dridi committed Feb 23, 2016
  6. @bsdphk

    Simplify

    bsdphk committed Feb 23, 2016
  7. @mbgrydeland

    Move n_vampireobject increment to the persistent stevedore

    This keeps the increment and decrement in the same compilation unit.
    mbgrydeland committed Feb 23, 2016
  8. @mbgrydeland

    Fix double counting n_objectcore

    n_objectcore is incremented by ObjNew(), so HSH_Insert() should not
    increase it again.
    mbgrydeland committed Feb 23, 2016
  9. @mbgrydeland

    Make HSH_Insert() more like HSH_Unbusy()

    HSH_Insert() needs to take the same precautions as HSH_Unbusy() in
    order to not race against e.g. the ban lurker. In order to do this, we
    pass it the ban that the objcore should be associated with, and it
    will take care of calling BAN_RefBan() correctly.
    mbgrydeland committed Feb 23, 2016
  10. @mbgrydeland

    Split BAN_RefBan into BAN_FindBan and BAN_RefBan

    BAN_FindBan looks up a ban based on a ban timestamp and returns a
    pointer to the ban. Returns NULL if no ban with that timestamp is
    present.
    
    BAN_RefBan takes an objcore and a ban. It grabs a reference to the ban
    and associates the objcore with that ban.
    mbgrydeland committed Feb 23, 2016
  11. @mbgrydeland
  12. @mbgrydeland
  13. @mbgrydeland

    Implement three different types of attributes and generate get/set co…

    …de from table
    
    Fixed size attributes has it's space always reserved.
    
    Variable size attributes change in size, and their combined total
    length needs to be given to allocobj.
    
    Auxiliary attributes do not need to be predeclared.
    
    The code for setting and getting the attributes is generated from a
    table that lists the different attributes according to their type.
    
    Add documentation about the behaviour of the get/set functions.
    mbgrydeland committed Oct 30, 2015
  14. @mbgrydeland
  15. @mbgrydeland

    Constify return from ObjGetattr

    This is to make it clear that one can not change an object attribute
    through the returned pointer from ObjGetattr()
    mbgrydeland committed Feb 17, 2016
  16. @mbgrydeland

    If the OC doesn't have a boc, don't lock unnecessarily lock the OH

    The objcore won't gain a boc in a way that would call for locking the
    OH when checking if it wasn't there in the first place. So if the
    oc->boc is NULL, return early. This saves a mutex lock/unlock in the
    common case.
    mbgrydeland committed Feb 23, 2016
  17. @bsdphk

    Don't abuse OA_LEN to assemble the object, but set it once, and

    only once, once we know it.
    bsdphk committed Feb 23, 2016
  18. @bsdphk

    Tell stevedores about oc->state changes.

    This allows Martin to stash attributes on going into BOS_STREAM.
    bsdphk committed Feb 23, 2016
  19. @Dridi

    Polish

    Dridi committed Feb 23, 2016
  20. @bsdphk

    Add an assert to ensure we never go into a simple stevedore with

    a request for zero bytes.
    
    Suggested by:	github::onovy
    bsdphk committed Feb 23, 2016
  21. @bsdphk
  22. @fgsch

    Retire rollback

    This has been available via the std module for some time now.
    OK'd by phk@.
    fgsch committed Feb 22, 2016
Commits on Feb 22, 2016
  1. @Dridi

    s/VSB_printf/VSB_cat/

    Dridi committed Feb 22, 2016