Lines Matching defs:wsi
205 if (!h->policy || !(h->policy->flags & LWSSSPOLF_PERF) || !h->wsi ||
206 h->wsi->perf_done)
219 lws_conmon_wsi_take(h->wsi, &cm);
438 h->wsi && h->wsi->dns_reachability);
452 _lws_ss_handle_state_ret_CAN_DESTROY_HANDLE(lws_ss_state_return_t r, struct lws *wsi,
457 lws_wsi_tag(wsi), lws_ss_tag(*ph));
458 if (wsi) {
459 lws_set_opaque_user_data(wsi, NULL);
460 lws_set_timeout(wsi, 1, LWS_TO_KILL_ASYNC);
462 if ((*ph)->wsi) {
463 lws_set_opaque_user_data((*ph)->wsi, NULL);
464 lws_set_timeout((*ph)->wsi, 1, LWS_TO_KILL_ASYNC);
467 (*ph)->wsi = NULL;
681 struct lws *wsi;
860 i.pwsi = &h->wsi;
889 wsi = lws_client_connect_via_info(&i);
892 if (!wsi) {
1395 if (h->wsi) {
1397 * Don't let the wsi point to us any more,
1398 * we (the ss object bound to the wsi) are going away now
1400 lws_set_opaque_user_data(h->wsi, NULL);
1401 lws_set_timeout(h->wsi, 1, LWS_TO_KILL_SYNC);
1582 // lwsl_notice("%s: h %p, wsi %p\n", __func__, h, h->wsi);
1586 if (h->wsi) {
1587 lws_callback_on_writable(h->wsi);
1602 * there's currently no wsi / connection associated with the ss handle
1608 * He's an _lws_smd... and no wsi... since we're just going
1652 if (h->wsi && h->policy &&
1656 h->wsi->http.writeable_len = len;
1720 if (h->wsi && ssp && ssp->tx_cr_add)
1735 if (h->wsi && ssp && ssp->tx_cr_add)
1757 if (h->wsi)
1758 lws_set_timeout(h->wsi, 1, LWS_TO_KILL_ASYNC);
1760 _lws_ss_handle_state_ret_CAN_DESTROY_HANDLE(r, h->wsi, &h);