Home
last modified time | relevance | path

Searched refs:h2n (Results 1 - 7 of 7) sorted by relevance

/third_party/libwebsockets/lib/roles/h2/
H A Dhttp2.c136 wsi->h2.h2n->our_set = wsi->a.vhost->h2.set; in lws_h2_init()
137 wsi->h2.h2n->peer_set = lws_h2_defaults; in lws_h2_init()
220 struct lws_h2_netconn *h2n = nwsi->h2.h2n; in __lws_wsi_server_new() local
237 if (sid <= h2n->highest_sid_opened) { in __lws_wsi_server_new()
239 sid, (int)h2n->highest_sid_opened); in __lws_wsi_server_new()
246 parent_wsi->h2.h2n->our_set.s[H2SET_MAX_CONCURRENT_STREAMS]) { in __lws_wsi_server_new()
275 h2n->highest_sid_opened = sid; in __lws_wsi_server_new()
278 if (sid >= h2n->highest_sid) in __lws_wsi_server_new()
279 h2n in __lws_wsi_server_new()
391 struct lws_h2_netconn *h2n = wsi->h2.h2n; lws_h2_issue_preface() local
432 struct lws_h2_netconn *h2n = nwsi->h2.h2n; lws_pps_schedule() local
450 struct lws_h2_netconn *h2n = wsi->h2.h2n; lws_h2_goaway() local
476 struct lws_h2_netconn *h2n = nwsi->h2.h2n; lws_h2_rst_stream() local
[all...]
H A Dhpack.c369 if (!wsi->h2.h2n) in lws_token_from_index()
372 dyn = &wsi->h2.h2n->hpack_dyn_table; in lws_token_from_index()
429 if (!nwsi->h2.h2n) in lws_h2_dynamic_table_dump()
431 dyn = &nwsi->h2.h2n->hpack_dyn_table; in lws_h2_dynamic_table_dump()
494 if (!wsi->h2.h2n) in lws_dynamic_token_insert()
496 dyn = &wsi->h2.h2n->hpack_dyn_table; in lws_dynamic_token_insert()
592 if (!nwsi->h2.h2n) in lws_hpack_dynamic_size()
595 dyn = &nwsi->h2.h2n->hpack_dyn_table; in lws_hpack_dynamic_size()
687 if (!wsi->h2.h2n) in lws_hpack_destroy_dynamic_header()
690 dyn = &wsi->h2.h2n in lws_hpack_destroy_dynamic_header()
827 struct lws_h2_netconn *h2n = nwsi->h2.h2n; lws_hpack_interpret() local
[all...]
H A Dops-h2.c377 ) && wsi->h2.h2n->pps) { in rops_handle_POLLOUT_h2()
387 if (wsi->h2.h2n->pps) in rops_handle_POLLOUT_h2()
670 if (wsi->h2.h2n) in rops_destroy_role_h2()
671 lws_free_set_NULL(wsi->h2.h2n); in rops_destroy_role_h2()
721 struct lws_h2_protocol_send *w = wsi->h2.h2n->pps, *w1; in rops_close_kill_connection_h2()
728 wsi->h2.h2n->pps = NULL; in rops_close_kill_connection_h2()
767 if (wsi->upgraded_to_http2 && !wsi->h2.h2n->pps && in rops_callback_on_writable_h2()
1303 if (!wsi->h2.h2n) in rops_alpn_negotiated_h2()
1304 wsi->h2.h2n = lws_zalloc(sizeof(*wsi->h2.h2n), "h2 in rops_alpn_negotiated_h2()
[all...]
H A Dprivate-lib-roles-h2.h308 struct lws_h2_netconn *h2n; /* malloc'd for root net conn */ member
/third_party/libwebsockets/lib/roles/h1/
H A Dops-h1.c186 w->h2.h2n ? w->h2.h2n->flags: -1); in lws_read_h1()
188 if (w && w->h2.h2n && !(w->h2.h2n->flags & 1)) { in lws_read_h1()
/third_party/libwebsockets/lib/roles/http/server/
H A Dserver.c2471 if (!wsi->h2.h2n) { in lws_handshake_server()
2472 wsi->h2.h2n = lws_zalloc(sizeof(*wsi->h2.h2n), "h2n"); in lws_handshake_server()
2473 if (!wsi->h2.h2n) in lws_handshake_server()
2481 lws_h2_settings(wsi, &wsi->h2.h2n->peer_set, (uint8_t *)tbuf, n); in lws_handshake_server()
2483 if (lws_hpack_dynamic_size(wsi, (int)wsi->h2.h2n->peer_set.s[ in lws_handshake_server()
3130 if (nwsi->h2.h2n && in lws_serve_http_file_fragment()
3131 poss > (lws_filepos_t)nwsi->h2.h2n->peer_set.s[H2SET_MAX_FRAME_SIZE]) in lws_serve_http_file_fragment()
3132 poss = (lws_filepos_t)nwsi->h2.h2n in lws_serve_http_file_fragment()
[all...]
/third_party/libwebsockets/lib/roles/mqtt/
H A Dops-mqtt.c523 if (wsi->upgraded_to_http2 && !wsi->h2.h2n->pps && in rops_callback_on_writable_mqtt()

Completed in 9 milliseconds