Closed syucream closed 7 years ago
module MyEventHandler
def on_send_request_hdr
...
end
end
mrb_gc_register()
mrb_gc_unregister()
mrb_gc_unregister()
so I should take RAII approach, for example using shared_ptr
.mrb_funcall_*()
Tried to fix https://github.com/syucream/ts_mruby/pull/74#issuecomment-245333055 by https://github.com/syucream/ts_mruby/pull/74/commits/c753613bd2a279c656d9e2aebfb3024153129dc6.
ATS::echo
is unavailable at late hook.To detect unusable class/method usage, plugin must pass hook timing to the transaction because atscppapi::Transaction
doesn't have hook info API.
TSMrubyValue
implemented at https://github.com/syucream/ts_mruby/pull/74/commits/c753613bd2a279c656d9e2aebfb3024153129dc6 has non-thread-safe function.
At https://github.com/syucream/ts_mruby/pull/74/commits/a5dd1068b5c75a190376ee1e43930abf15edd63d, I try implementing an another approach.
Modify unit test code
Its a big task. I fix it as another issue. https://github.com/syucream/ts_mruby/issues/75
https://github.com/syucream/ts_mruby/issues/36
- [ ] Modify unit test codewill be fixed by https://github.com/syucream/ts_mruby/issues/75