Home
last modified time | relevance | path

Searched refs:lws_set_timeout (Results 1 – 25 of 45) sorted by relevance

12

/third_party/libwebsockets/lib/core-net/client/
Dconnect4.c107 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_PROXY_RESPONSE, in lws_client_connect_4_established()
225 lws_set_timeout(wsi, in lws_client_connect_4_established()
240 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_client_connect_4_established()
271 lws_set_timeout(wsi, in lws_client_connect_4_established()
312 lws_set_timeout(wsi, PENDING_TIMEOUT_SENT_CLIENT_HANDSHAKE, in lws_client_connect_4_established()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-timer/
Dminimal-ws-server.c30 lws_set_timeout(wsi, 1, 60); in callback_protocol()
36 lws_set_timeout(wsi, 1, 60); in callback_protocol()
/third_party/libwebsockets/include/libwebsockets/
Dlws-timeout-timer.h101 lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs);
117 #define lws_wsi_close(w, to_kill) lws_set_timeout(w, 1, to_kill)
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c190 lws_set_timeout(wsi, in lws_read_h1()
200 lws_set_timeout(wsi, in lws_read_h1()
213 lws_set_timeout(wsi, PENDING_TIMEOUT_CGI, in lws_read_h1()
217 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_read_h1()
766 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SERVER_RESPONSE, in rops_handle_POLLOUT_h1()
960 lws_set_timeout(wsi, PENDING_TIMEOUT_ESTABLISH_WITH_SERVER, in rops_adoption_bind_h1()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c144 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_http_client_socket_service()
248 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_CLIENT_HS_SEND, in lws_http_client_socket_service()
298 lws_set_timeout(wsi, in lws_http_client_socket_service()
328 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SERVER_RESPONSE, in lws_http_client_socket_service()
356 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SERVER_RESPONSE, in lws_http_client_socket_service()
369 lws_set_timeout(wsi, PENDING_TIMEOUT_CLOSE_ACK, 3); in lws_http_client_socket_service()
559 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SERVER_RESPONSE, in lws_http_transaction_completed_client()
978 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_client_interpret_server_handshake()
1145 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_generate_client_handshake()
/third_party/libwebsockets/lib/core-net/
Dsocks5-client.c246 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_SOCKS_GREETING_REPLY, in lws_socks5c_greet()
342 lws_set_timeout(wsi, (enum pending_timeout)pending_timeout, in lws_socks5c_handle_state()
372 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_socks5c_handle_state()
Dwsi.c1066 lws_set_timeout(wsi, PENDING_TIMEOUT_CLIENT_CONN_IDLE, in _lws_generic_transaction_completed_active_conn()
1177 lws_set_timeout(wsi, 1, LWS_TO_KILL_ASYNC); in _lws_generic_transaction_completed_active_conn()
1291 lws_set_timeout(nwsi, PENDING_TIMEOUT_HTTP_KEEPALIVE_IDLE, in lws_http_close_immortal()
1301 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_mux_mark_immortal()
1327 lws_set_timeout(nwsi, NO_PENDING_TIMEOUT, 0); in lws_mux_mark_immortal()
Ddummy-callback.c141 lws_set_timeout(wsi->parent, 1, LWS_TO_KILL_ASYNC); in lws_callback_ws_proxy()
612 lws_set_timeout(lws_get_parent(wsi), in lws_callback_http_dummy()
699 lws_set_timeout(wsi, PENDING_TIMEOUT_CGI, 3); in lws_callback_http_dummy()
Dwsi-timeout.c140 lws_set_timeout(struct lws *wsi, enum pending_timeout reason, int secs) in lws_set_timeout() function
/third_party/libwebsockets/lib/abstract/transports/
Draw-skt.c184 lws_set_timeout(wsi, 1, LWS_TO_KILL_SYNC); in lws_atcrs_close()
228 lws_set_timeout(priv->wsi, PENDING_TIMEOUT_CLIENT_CONN_IDLE, 5); in lws_atcrs_client_conn()
336 lws_set_timeout(priv->wsi, reason, secs); in lws_atcrs_set_timeout()
/third_party/libwebsockets/lib/plat/windows/
Dwindows-spawn.c132 lws_set_timeout(wsi, 1, LWS_TO_KILL_SYNC); in lws_spawn_piped_destroy()
277 lws_set_timeout(wsi, 1, LWS_TO_KILL_SYNC); in windows_pipe_poll_hack()
287 lws_set_timeout(wsi, 1, LWS_TO_KILL_SYNC); in windows_pipe_poll_hack()
320 lws_set_timeout(wsi1, 1, LWS_TO_KILL_SYNC); in windows_pipe_poll_hack()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c237 lws_set_timeout(wsi, PENDING_TIMEOUT_THREADPOOL, 30); in callback_minimal()
291 lws_set_timeout(wsi, PENDING_TIMEOUT_THREADPOOL_TASK, 5); in callback_minimal()
/third_party/libwebsockets/lib/tls/
Dtls-server.c174 lws_set_timeout(wsi, PENDING_TIMEOUT_SSL_ACCEPT, in lws_server_socket_service_ssl()
349 lws_set_timeout(wsi, PENDING_TIMEOUT_ESTABLISH_WITH_SERVER, in lws_server_socket_service_ssl()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-raw-proxy/
Dminimal-ws-raw-proxy.c158 lws_set_timeout(pc->wsi_raw, in callback_proxy_ws_server()
292 lws_set_timeout(pc->wsi_ws, in callback_proxy_raw_client()
/third_party/libwebsockets/plugins/
Dprotocol_lws_mirror.c166 lws_set_timeout(pss->wsi, in __mirror_update_worst_tail()
411 lws_set_timeout(pss->wsi, NO_PENDING_TIMEOUT, 0); in callback_lws_mirror()
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpclient.c49 lws_set_timeout(r->wsi_raw, 1, LWS_TO_KILL_ASYNC); in lws_dhcpc_destroy()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-raw.c158 lws_set_timeout(wsi, 0, 0); in secstream_raw()
/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c276 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in callback_raw_proxy()
426 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in callback_raw_proxy()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-ring/
Dprotocol_lws_minimal.c75 lws_set_timeout((*ppss)->wsi, PENDING_TIMEOUT_LAGGING, in cull_lagging_clients()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-process.c379 lws_set_timeout(wsi, PENDING_TIMEOUT_AWAITING_CLIENT_HS_SEND, 3); in callback_ss_proxy()
563 lws_set_timeout(wsi, 0, 0); in callback_ss_proxy()
Dsecure-streams.c460 lws_set_timeout(wsi, 1, LWS_TO_KILL_ASYNC); in _lws_ss_handle_state_ret_CAN_DESTROY_HANDLE()
464 lws_set_timeout((*ph)->wsi, 1, LWS_TO_KILL_ASYNC); in _lws_ss_handle_state_ret_CAN_DESTROY_HANDLE()
1401 lws_set_timeout(h->wsi, 1, LWS_TO_KILL_SYNC); in lws_ss_destroy()
1758 lws_set_timeout(h->wsi, 1, LWS_TO_KILL_ASYNC); in lws_ss_to_cb()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
Dminimal-ws-client-spam.c163 lws_set_timeout(wsi, PENDING_TIMEOUT_USER_OK, LWS_TO_KILL_ASYNC); in callback_minimal_spam()
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c268 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0); in lws_mqtt_set_client_established()
420 lws_set_timeout(mqtt->wsi, 1, LWS_TO_KILL_ASYNC); in lws_mqtt_publish_resend()
434 lws_set_timeout(mqtt->wsi, 1, LWS_TO_KILL_ASYNC); in lws_mqtt_unsuback_timeout()
448 lws_set_timeout(mqtt->wsi, 1, LWS_TO_KILL_ASYNC); in lws_mqtt_shadow_timeout()
1284 lws_set_timeout(wsi, 0, 0); in _lws_mqtt_rx_parser()
/third_party/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c71 lws_set_timeout(wsi, NO_PENDING_TIMEOUT, 0);
/third_party/libwebsockets/lib/system/ntpclient/
Dntpclient.c164 lws_set_timeout(v->wsi_udp, 1, LWS_TO_KILL_ASYNC); in callback_ntpc()

12