mirror of
https://github.com/openappsec/openappsec.git
synced 2025-10-01 20:17:43 +03:00
Feb_06_2024-Dev
This commit is contained in:
@@ -22,8 +22,9 @@
|
||||
#include "yajl/yajl_parse.h"
|
||||
#include "singleton.h"
|
||||
#include "i_oa_schema_updater.h"
|
||||
|
||||
#define FIRST_JSON_BUFFER_SIZE 4 // must buffer at least 4 first bytes to allow unicode autodetection (BOM).
|
||||
// must be at least 4 first bytes to allow unicode autodetection (BOM).
|
||||
// BUT... reduced to 1 in order to allow better work of schema validation and API discovery
|
||||
#define FIRST_JSON_BUFFER_SIZE 1
|
||||
|
||||
typedef size_t yajl_size_t;
|
||||
|
||||
|
Reference in New Issue
Block a user