Searched refs:mruby_ctx (Results 1 – 6 of 6) sorted by relevance
190 auto mruby_ctx = worker->get_mruby_context(); in ~Downstream() local192 mruby_ctx->delete_downstream(this); in ~Downstream()200 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in ~Downstream() local201 mruby_ctx->delete_downstream(this); in ~Downstream()244 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in detach_downstream_connection() local245 mruby_ctx->delete_downstream(this); in detach_downstream_connection()269 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in pop_downstream_connection() local270 mruby_ctx->delete_downstream(this); in pop_downstream_connection()
432 auto mruby_ctx = worker->get_mruby_context(); in on_request_headers() local434 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in on_request_headers()503 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in initiate_downstream() local504 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in initiate_downstream()776 auto mruby_ctx = worker->get_mruby_context(); in on_frame_send_callback() local778 if (mruby_ctx->run_on_request_proc(ptr) != 0) { in on_frame_send_callback()1678 const auto &dmruby_ctx = group->shared_addr->mruby_ctx; in on_downstream_header_complete()1694 auto mruby_ctx = worker->get_mruby_context(); in on_downstream_header_complete() local1696 if (mruby_ctx->run_on_response_proc(downstream) != 0) { in on_downstream_header_complete()
463 auto mruby_ctx = worker->get_mruby_context(); in htp_hdrs_completecb() local465 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in htp_hdrs_completecb()509 const auto &dmruby_ctx = group->shared_addr->mruby_ctx; in htp_hdrs_completecb()1125 const auto &dmruby_ctx = group->shared_addr->mruby_ctx; in on_downstream_header_complete()1138 auto mruby_ctx = worker->get_mruby_context(); in on_downstream_header_complete() local1140 if (mruby_ctx->run_on_response_proc(downstream) != 0) { in on_downstream_header_complete()
1276 const auto &dmruby_ctx = group->shared_addr->mruby_ctx; in on_downstream_header_complete()1292 auto mruby_ctx = worker->get_mruby_context(); in on_downstream_header_complete() local1294 if (mruby_ctx->run_on_response_proc(downstream) != 0) { in on_downstream_header_complete()2300 auto mruby_ctx = worker->get_mruby_context(); in http_end_request_headers() local2302 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in http_end_request_headers()2366 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in initiate_downstream() local2367 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in initiate_downstream()
326 shared_addr->mruby_ctx = mruby::create_mruby_context(src.mruby_file); in replace_downstream_config()327 assert(shared_addr->mruby_ctx); in replace_downstream_config()328 shared_mruby_ctxs.emplace(src.mruby_file, shared_addr->mruby_ctx); in replace_downstream_config()330 shared_addr->mruby_ctx = (*mruby_ctx_it).second; in replace_downstream_config()
225 std::shared_ptr<mruby::MRubyContext> mruby_ctx; member