HomePhabricator

varnishlog4: allow methods to be used as callbacks
09f19c68dde3Unpublished

Authored by ema on Aug 18 2016, 3:12 PM.

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.

Description

varnishlog4: allow methods to be used as callbacks

Update the callback signature check in varnishlog.varnishlog to support
both methods and regular functions. We expect 5 and 4 arguments
respectively because of 'self'.

This is needed in order to port varnishmedia to the v4 VSL API.

Bug: T131353
Change-Id: I37371c47fcfc796a41cc56bd39c481c53c534b71

Details

Committed
emaAug 18 2016, 3:18 PM
ChangeId
I37371c47fcfc796a41cc56bd39c481c53c534b71

Commit No Longer Exists

This commit no longer exists in the repository.