Home
last modified time | relevance | path

Searched refs:cwsi (Results 1 – 11 of 11) sorted by relevance

/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c90 struct lws *cwsi; member
760 &vhd->ac->cwsi, &vhd->ac->i, buf, "GET")) in lws_acme_start_acquisition()
788 struct lws *cwsi; in callback_acme_client() local
981 cwsi = lws_acme_client_connect(vhd->context, vhd->vhost, in callback_acme_client()
982 &ac->cwsi, &ac->i, buf, "POST"); in callback_acme_client()
983 if (!cwsi) { in callback_acme_client()
1272 cwsi = lws_acme_client_connect(vhd->context, vhd->vhost, in callback_acme_client()
1273 &ac->cwsi, &ac->i, buf, in callback_acme_client()
1275 if (!cwsi) { in callback_acme_client()
1292 cwsi = lws_acme_client_connect(vhd->context, in callback_acme_client()
[all …]
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c126 i.pwsi = &h->cwsi; in lws_sspc_sul_retry_cb()
152 lwsl_sspc_notice(h, "%s", h->cwsi->lc.gutag); in lws_sspc_sul_retry_cb()
233 h->cwsi = NULL; in callback_sspc_client()
289 h->cwsi = NULL; in callback_sspc_client()
296 h->cwsi = NULL; in callback_sspc_client()
310 if (!h || !h->cwsi) { in callback_sspc_client()
387 lws_callback_on_writable(h->cwsi); in callback_sspc_client()
605 lws_callback_on_writable(h->cwsi); in callback_sspc_client()
767 if (h->cwsi) { in lws_sspc_destroy()
768 lws_set_opaque_user_data(h->cwsi, NULL); in lws_sspc_destroy()
[all …]
Dprivate-lib-secure-streams.h321 struct lws *cwsi; member
Dsecure-streams-serialize.c1313 lws_set_timeout(h->cwsi, NO_PENDING_TIMEOUT, 0); in lws_ss_deserialize_parse()
1373 lws_callback_on_writable(h->cwsi); in lws_ss_deserialize_parse()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_sequencer/
Dmain.c39 struct lws *cwsi; /* client wsi for current step if any */ member
164 s->cwsi = NULL; in callback_http()
212 i.pwsi = &s->cwsi; in sequencer_start_client()
229 s->cwsi, prot, i.address, i.port, path); in sequencer_start_client()
256 if (s->cwsi) in sequencer_cb()
257 lws_set_wsi_user(s->cwsi, NULL); in sequencer_cb()
/third_party/libwebsockets/minimal-examples/dbus-server/minimal-dbus-ws-proxy/
Dprotocol_lws_minimal_dbus_ws_proxy.c81 struct lws *cwsi; member
265 i.pwsi = &wspctx->cwsi; in dmh_connect()
276 lws_set_opaque_parent_data(wspctx->cwsi, wspctx); in dmh_connect()
324 if (!wspctx->cwsi || !wspctx->pss) { in dmh_send()
368 if (wspctx->cwsi) in dmh_send()
369 lws_callback_on_writable(wspctx->cwsi); in dmh_send()
460 if (wspctx->cwsi) { in cb_closing()
461 lws_set_opaque_parent_data(wspctx->cwsi, NULL); in cb_closing()
462 lws_set_timeout(wspctx->cwsi, in cb_closing()
532 vhd->dctx.cwsi = NULL; in create_dbus_listener()
[all …]
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c49 struct lws *cwsi; in rops_handle_POLLIN_listen() local
147 cwsi = lws_adopt_descriptor_vhost(wsi->a.vhost, (lws_adoption_type)opts, fd, in rops_handle_POLLIN_listen()
149 if (!cwsi) { in rops_handle_POLLIN_listen()
/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c119 struct lws *cwsi; in connect_client() local
147 cwsi = lws_client_connect_via_info(&i); in connect_client()
148 if (!cwsi) in connect_client()
151 return !cwsi; in connect_client()
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c718 struct lws *cwsi; in lws_h2_do_pps_send() local
909 cwsi = lws_wsi_mux_from_id(wsi, pps->u.rs.sid); in lws_h2_do_pps_send()
910 if (cwsi) { in lws_h2_do_pps_send()
912 __func__, lws_wsi_tag(cwsi), in lws_h2_do_pps_send()
913 cwsi->role_ops->name, in lws_h2_do_pps_send()
914 cwsi->a.protocol->name, lws_wsi_tag(wsi)); in lws_h2_do_pps_send()
915 lws_close_free_wsi(cwsi, 0, "reset stream"); in lws_h2_do_pps_send()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c1253 struct lws *cwsi; in lws_http_proxy_start() local
1442 i.pwsi = &cwsi; in lws_http_proxy_start()
1475 __func__, lws_wsi_tag(cwsi), lws_wsi_tag(lws_get_parent(cwsi))); in lws_http_proxy_start()
1477 cwsi->http.proxy_clientside = 1; in lws_http_proxy_start()
1480 cwsi->h1_ws_proxied = 1; in lws_http_proxy_start()
/third_party/libwebsockets/lib/core-net/
Dclose.c223 h->cwsi = NULL; in __lws_free_wsi()
832 h->cwsi = NULL; in __lws_close_free_wsi()