Hello,
After upgrading from 1.8.14 to 1.9.6 I've started to get: Lua
sample-fetch 'backend_select': unknown runtime error from [C] method
'dup'
The following is enough to make it trigger:
function backend_select(txn) {
local payload = txn.req:dup();
}
core.register_fetches("backend_select", backend_select)
I'm a bit lost of why this could be happening. I'm tempted to simply
switch to "local payload = txn.sf:req_body()" as I'm only interested
on the http body part to be fair, but I thought it would be
interesting to know what's causing this.
Thanks in advance for your help.
Ignacio.