nic-6443 opened a new pull request, #13407: URL: https://github.com/apache/apisix/pull/13407
This follows up on the qjson review in #13386. qjson can raise Lua errors from decode/materialize/encode paths, while the request JSON helper callers expect the same `nil, err` shape as `core.json`. This patch wraps the qjson paths and normalizes those failures to `nil, err`, while keeping cjson and simdjson behavior unchanged. It also adds a core request test for malformed request body decode and qjson encode failures. Checks run: - `git diff --check` - `luacheck apisix/core/request_json.lua` - `perl -I. -c t/core/request.t` - focused runtime smoke for qjson decode/encode error normalization -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
