caojianfei

Results 3 issues of caojianfei

### Discussed in https://github.com/austintoddj/canvas/discussions/1085 Originally posted by **caojianfei** June 30, 2022 It looks like this: ![微信截图_20220630205409](https://user-images.githubusercontent.com/17742555/176682567-ec952fa3-7825-4af0-89fa-87005ca81e4f.png) I have already run `npm run dev`: ![微信截图_20220630174628](https://user-images.githubusercontent.com/17742555/176682812-f1e5efbd-8881-4c96-b20a-746df486d11a.png)

### Issue description ![image](https://github.com/apache/apisix-java-plugin-runner/assets/17742555/18d8b2e2-07e4-466e-9ee5-4845c26e15c7) why remote_addr value is 127.0.0.1? and how can i get the client truly ip? ### Environment * apisix version 2.15 * java version 11.0.1 * linux...

``` func Wraps(handler core.Handler, opts ...wrapper.SetWrapOpt) func(*gin.Context) { return func(ctx *gin.Context) { wrapper.HandleHttpInPipeline(wrapper.HandleHttpInPipelineInput{ Req: ctx.Request, RespWriter: wrapper.NewResponseWriter(ctx.Writer), PathParamsFunc: ctx.Param, Handler: handler, Opts: opts, }) } } ``` 这个包装函数是不是得传递一下 *gin.Context ,不然原始请求上下文都没了,这设计是为什么呀