Lines Matching refs:cbs
276 nghttp2_session_callbacks *cbs) in proxy_h2_client_new() argument
294 rc = nghttp2_session_client_new3(&ctx->h2, cbs, cf, o, &mem); in proxy_h2_client_new()
331 nghttp2_session_callbacks *cbs = NULL; in cf_h2_proxy_ctx_init() local
343 rc = nghttp2_session_callbacks_new(&cbs); in cf_h2_proxy_ctx_init()
349 nghttp2_session_callbacks_set_send_callback(cbs, on_session_send); in cf_h2_proxy_ctx_init()
351 cbs, proxy_h2_on_frame_recv); in cf_h2_proxy_ctx_init()
353 nghttp2_session_callbacks_set_on_frame_send_callback(cbs, in cf_h2_proxy_ctx_init()
357 cbs, tunnel_recv_callback); in cf_h2_proxy_ctx_init()
359 cbs, proxy_h2_on_stream_close); in cf_h2_proxy_ctx_init()
360 nghttp2_session_callbacks_set_on_header_callback(cbs, proxy_h2_on_header); in cf_h2_proxy_ctx_init()
363 rc = proxy_h2_client_new(cf, cbs); in cf_h2_proxy_ctx_init()
401 if(cbs) in cf_h2_proxy_ctx_init()
402 nghttp2_session_callbacks_del(cbs); in cf_h2_proxy_ctx_init()