Home
last modified time | relevance | path

Searched refs:mruby_ctx (Results 1 – 6 of 6) sorted by relevance

/third_party/nghttp2/src/
Dshrpx_downstream.cc190 auto mruby_ctx = worker->get_mruby_context(); in ~Downstream() local
192 mruby_ctx->delete_downstream(this); in ~Downstream()
200 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in ~Downstream() local
201 mruby_ctx->delete_downstream(this); in ~Downstream()
244 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in detach_downstream_connection() local
245 mruby_ctx->delete_downstream(this); in detach_downstream_connection()
269 const auto &mruby_ctx = group->shared_addr->mruby_ctx; in pop_downstream_connection() local
270 mruby_ctx->delete_downstream(this); in pop_downstream_connection()
Dshrpx_http2_upstream.cc432 auto mruby_ctx = worker->get_mruby_context(); in on_request_headers() local
434 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() local
504 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() local
778 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() local
1696 if (mruby_ctx->run_on_response_proc(downstream) != 0) { in on_downstream_header_complete()
Dshrpx_https_upstream.cc463 auto mruby_ctx = worker->get_mruby_context(); in htp_hdrs_completecb() local
465 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() local
1140 if (mruby_ctx->run_on_response_proc(downstream) != 0) { in on_downstream_header_complete()
Dshrpx_http3_upstream.cc1276 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() local
1294 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() local
2302 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() local
2367 if (mruby_ctx->run_on_request_proc(downstream) != 0) { in initiate_downstream()
Dshrpx_worker.cc326 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()
Dshrpx_worker.h225 std::shared_ptr<mruby::MRubyContext> mruby_ctx; member