Yuji Yamano
Yuji Yamano
After looking at the code, I'm not so sure if we can avoid reading freed memory in ngx_mrb_run(). from https://github.com/matsumotory/ngx_mruby/blob/master/src/http/ngx_http_mruby_module.c#L820 ``` if (ngx_http_get_module_ctx(r, ngx_http_mruby_module) != NULL) { ``` from ngx_http.h...
Still doesn't work with the latest version of ngx_mruby. I just rebased the branch for test code at https://github.com/yyamano/ngx_mruby/tree/issue-200 ``` 2018/11/11 20:59:43 [info] 15231#0: *121 hooked mruby inline content code:...
I'm not so sure if authority is appropriate name for the method. I can't find similar name in RACK, WSGI and HttpServletRequest. * https://www.rubydoc.info/github/rack/rack/master/file/SPEC * https://www.python.org/dev/peps/pep-0333/ * https://docs.oracle.com/javaee/6/api/javax/servlet/http/HttpServletRequest.html * https://docs.oracle.com/javaee/6/api/javax/servlet/ServletRequest.html
I just found another infinite loop. ``` location /foo/bar/ { mruby_output_body_filter_code ' r = Nginx::Request.new f = Nginx::Filter.new body = (r.method == "POST" || r.method == "PUT") ? r.body.to_s :...
@Zogoo Could you try to build with LDFLAGS=-v as below? You can see options passed to the linker. ``` % env LDFLAGS=-v ./build.sh ```
@pyama86 @matsumotory Do you guys have any plans? I don't use auto-ssl myself.
@ryudoawaru Which version of mruby-io do you use? It must be fixed by https://github.com/iij/mruby-io/commit/728d313b2c238ac0f41a4aa7e4a88e6a8fee8079
@ryudoawaru What files do you have in /usr/local/nginx/conf/auto-ssl/certs/x.wild.5xruby.com?
If you try https://github.com/yyamano/ngx_mruby/commit/6228e90141cecb8fdfd003ee49ec155dde1b7546 , you will get better logs. I don't test it by myself. I don't have domain for the test.
@matsumotory I just want to make sure that Nginx::SSL works only in the handshake and the verify client handler.