Closed karlovnv closed 6 years ago
It does'nt a bug. I have added some information to the README.md in 7bde62075f6cc7b9b6f03f7b31b466c91e8c7939 I will think about how it could be fixed. Seems better way is validating outgoing JSON if this option is used.
Fixed in 291a05271e92a1c6c4e222d4cba42685232779ee
Tarantool upstream module: v2.5-rc2-docker-dirty Tarantool: 1.7.5-88-g1f73658
Nginx upstream module produces malformed JSON in case of tnt_multireturn_skip_count 2; tnt_pure_result on;
How to reproduce 1) use lua and config provided 2) GET http://localhost:9191/
Expected response:
Actual response (malformed JSON):
init.lua
Config
Another examples: