Searched refs:cbs (Results 1 – 2 of 2) sorted by relevance
/curl/lib/ |
H A D | cf-h2-proxy.c | 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() 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() 363 rc = proxy_h2_client_new(cf, cbs); in cf_h2_proxy_ctx_init() 401 if(cbs) in cf_h2_proxy_ctx_init() [all …]
|
H A D | http2.c | 432 nghttp2_session_callbacks *cbs) in h2_client_new() argument 450 rc = nghttp2_session_client_new3(&ctx->h2, cbs, cf, o, &mem); in h2_client_new() 514 nghttp2_session_callbacks *cbs = NULL; in cf_h2_ctx_open() local 519 rc = nghttp2_session_callbacks_new(&cbs); in cf_h2_ctx_open() 525 nghttp2_session_callbacks_set_send_callback(cbs, send_callback); in cf_h2_ctx_open() 531 cbs, on_data_chunk_recv); in cf_h2_ctx_open() 534 cbs, on_begin_headers); in cf_h2_ctx_open() 535 nghttp2_session_callbacks_set_on_header_callback(cbs, on_header); in cf_h2_ctx_open() 541 rc = h2_client_new(cf, cbs); in cf_h2_ctx_open() 617 if(cbs) in cf_h2_ctx_open() [all …]
|
Completed in 22 milliseconds