about json format
Closed this issue · 5 comments
Hi , is it possible to set the json format?
*I would like to use Json file in local or remote.
Best regards
The VMOD is implemented in a way that adding support for alternative formats such as JSON should be simple. However at the moment only ini files are supported.
Hi Thank you for reply.
Additional question
what is the maximum supported size of ini config file?
When I test of the 250Kb, the varnish is panic.
Error:
Assert error in cfg_dump(), vmod_cfg.c line 154:#12 Condition(free_ws > 0) not true.
*this issue related to varnish config..?
Best regards.
The VMOD does not limit the file size. However, in order to read the ini file, parse contents, etc. the VMOD is limited by the memory available in the client and backend workspaces (i.e. workspace_client
and workspace_backend
varnishd parameters). Try to increase those values and try again.
Hi thank you for the quick reply
this issue has been solved. I added workspace_client and workspace_backend.
Thanks!
FYI: I've just added (see 3ac1cbe) limited JSON support to the VMOD.