Yufu Zhao

Results 13 issues of Yufu Zhao

## Issue Description Type: *bug report* ### Describe what happened (or what feature you want) The result of the HTTP API request is different to CLI execution when with error...

version: 0.4.1 ``` 2021-06-08 15:05:18.247, ERROR, [http-nio-8080-exec-3] com.alibaba.chaosblade.box.web.advice.CommonExceptionAdvice - request id: 62308f19434745e8a55a71d64021bfc5, message: null java.lang.NullPointerException: null at com.alibaba.chaosblade.box.service.probes.ProbesServiceImpl.getAnsibleHosts(ProbesServiceImpl.java:122) at com.alibaba.chaosblade.box.service.probes.ProbesServiceImpl$$FastClassBySpringCGLIB$$6590699a.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:218) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:684) at com.alibaba.chaosblade.box.service.probes.ProbesServiceImpl$$EnhancerBySpringCGLIB$$88a91365.getAnsibleHosts() at com.alibaba.chaosblade.box.web.controller.ProbesController.getMachinesForHost(ProbesController.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native...

### Summary `status_code` should not be allowed to be set to null, otherwise a 500 error will be returned. ### Full changelog * Do not allow set `status_code` as null...

size/XS
plugins/request-termination

### Summary The CORS plugin currently always sets the ACAO header based on the plugin configuration if the configuration only has a single entry and contains only non-PCRE metacharacters. This...

plugins/cors
size/M
changelog

By default, Lua displays only the 14 digits of a number. For numbers with a precision exceeding 14 decimals, Lua will output them using scientific notation, resulting in a loss...

### Summary Prior to this fix, if the gateway was started using the kong cli, the final `pg_timeout` would be overridden to `60s` instead of the value specified in `kong.conf`,...

core/cli
size/S
cherry-pick kong-ee

handle for unix/windows line endings correctly.

### Summary Currently, this lock timeout is hardcoded and does not provide an optional configuration parameter out of the box. We have received multiple complaints from users with the following...

skip-changelog
size/XS
cherry-pick kong-ee

> LuaJIT stated that globals and locals now has the same performance unlike in plain Lua. Is there an authoritative source of information? Like official links or something