updated to the new pikotools api: [ezc out] and [out] changed to [ezc frame] or just [frame]

- when returning json streams changed "out" field to "frames"
- renamed config parameter: allow_ezc_out_in_executable_items -> allow_ezc_frames_in_executable_items
- added basic support for ajax requests in thread plugin
This commit is contained in:
2021-05-28 18:36:19 +02:00
parent ba331dea4a
commit e6fae4598c
8 changed files with 24 additions and 15 deletions

View File

@@ -638,7 +638,7 @@ public:
// how many output streams do we have in Request class
// those streams used in ajax responses
// you can use no more [ezc out] statements than this limit
// you can use no more [ezc frames] statements than this limit
// default: 128
size_t ezc_out_streams_size;
@@ -758,10 +758,10 @@ public:
// pid file is saved after winix has dropped privileges
std::wstring pid_file;
// allow to use [ezc out] statement in executable items (used in 'run' winix function)
// allow to use [ezc frame] statements in executable items (used in 'run' winix function)
// default false
// warning: if you enable this options a user can override a different output stream when using ajax
bool allow_ezc_out_in_executable_items;
bool allow_ezc_frames_in_executable_items;
// check whether there is a 'log_proxy_ip_header' header