HomePhabricator

varnishlog4: allow methods to be used as callbacks

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

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 19 2016, 8:46 AM
Parents
rOPUP69e7f89be55f: ores: Add memory report to uwsgi
Branches
Unknown
Tags
Unknown
ChangeId
I37371c47fcfc796a41cc56bd39c481c53c534b71