accessing/setting global variables in register_init #2527
Labels
status: feedback required
The developers are waiting for a reply from the reporter.
type: bug
This issue describes a bug.
Detailed Description of the Problem
I am planning to read a configuration file. Within an action, trying to open a JSON file gives me error and with register_init function, it works. But using register_init, I am not receiving txn object, so not understanding how we can set variables or read variables in init context.
Expected Behavior
Need to understand, is there any way to manipulate global variables in register_init.
Steps to Reproduce the Behavior
Nothing to reproduce, trying to understand, is there any possibility to set/get variables.
Do you have any idea what may have caused this?
NO
Do you have an idea how to solve the issue?
NO
What is your configuration?
Output of
haproxy -vv
Last Outputs and Backtraces
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: