Home
last modified time | relevance | path

Searched refs:lwsl_info (Results 1 – 25 of 138) sorted by relevance

123456

/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-seq/
Dminimal-secure-streams.c290 lwsl_info("%s: seq LWSSSCS_CREATING\n", __func__); in min_sec_str_sequencer_cb()
294 lwsl_info("%s: seq LWSSSCS_DISCONNECTED\n", __func__); in min_sec_str_sequencer_cb()
297 lwsl_info("%s: seq LWSSSCS_UNREACHABLE\n", __func__); in min_sec_str_sequencer_cb()
300 lwsl_info("%s: seq LWSSSCS_AUTH_FAILED\n", __func__); in min_sec_str_sequencer_cb()
303 lwsl_info("%s: seq LWSSSCS_CONNECTED\n", __func__); in min_sec_str_sequencer_cb()
306 lwsl_info("%s: seq LWSSSCS_CONNECTING\n", __func__); in min_sec_str_sequencer_cb()
309 lwsl_info("%s: seq LWSSSCS_DESTROYING\n", __func__); in min_sec_str_sequencer_cb()
313 lwsl_info("%s: seq LWSSSCS_POLL\n", __func__); in min_sec_str_sequencer_cb()
316 lwsl_info("%s: seq LWSSSCS_ALL_RETRIES_FAILED\n", __func__); in min_sec_str_sequencer_cb()
320 lwsl_info("%s: seq LWSSSCS_QOS_ACK_REMOTE\n", __func__); in min_sec_str_sequencer_cb()
[all …]
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c116 lwsl_info("%s: %s wsistate 0x%x, events %d, revents %d, pollout %d\n", __func__, in rops_handle_POLLIN_h2()
187 lwsl_info("%s: has buffered out\n", __func__); in rops_handle_POLLIN_h2()
206 lwsl_info("draining buflist (len %d)\n", ebuf.len); in rops_handle_POLLIN_h2()
236 lwsl_info("%s: zero length read\n", __func__); in rops_handle_POLLIN_h2()
239 lwsl_info("SSL Capable more service\n"); in rops_handle_POLLIN_h2()
242 lwsl_info("%s: LWS_SSL_CAPABLE_ERROR\n", __func__); in rops_handle_POLLIN_h2()
250 lwsl_info("%s: skipped read\n", __func__); in rops_handle_POLLIN_h2()
282 lwsl_info("RECEIVE_CLIENT_HTTP closed it\n"); in rops_handle_POLLIN_h2()
308 lwsl_info("%s: draining rxflow: used %d, next %d\n", in rops_handle_POLLIN_h2()
378 lwsl_info("servicing pps\n"); in rops_handle_POLLOUT_h2()
[all …]
Dhttp2.c145 lwsl_info("%s: %s: state %s -> %s\n", __func__, lws_wsi_tag(wsi), in lws_h2_state()
167 lwsl_info("%s: sid %d: bump %d -> %d\n", __func__, sid, bump, in lws_h2_update_peer_txcredit()
238 lwsl_info("%s: tried to open lower sid %d (%d)\n", __func__, in __lws_wsi_server_new()
303 lwsl_info("%s: %s new ch %s, sid %d, usersp=%p\n", __func__, in __lws_wsi_server_new()
353 lwsl_info("%s: binding wsi %s to sid %d (next %d)\n", __func__, in lws_wsi_h2_adopt()
423 lwsl_info("%s: h2 client sending settings\n", __func__); in lws_h2_issue_preface()
454 lwsl_info("%s: %s: ERR 0x%x, '%s'\n", __func__, lws_wsi_tag(wsi), (int)err, reason); in lws_h2_goaway()
483 lwsl_info("%s: RST_STREAM 0x%x, sid %d, REASON '%s'\n", __func__, in lws_h2_rst_stream()
563 lwsl_info("%s: adi child tc cr %d +%d -> %d", in lws_h2_settings()
593 lwsl_info("http2 settings %d <- 0x%x\n", a, b); in lws_h2_settings()
[all …]
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c128 lwsl_info("%s: http post body: cl set %d, remain %d, len %d\n", __func__, in lws_read_h1()
166 lwsl_info("%s: HTTP_BODY %d\n", __func__, (int)body_chunk_len); in lws_read_h1()
177 lwsl_info("%s: advancing buf by %d\n", __func__, (int)n); in lws_read_h1()
185 lwsl_info("%s: h2: nwsi h2 flags %d\n", __func__, in lws_read_h1()
189 lwsl_info("%s: h2, no cl, not END_STREAM, continuing\n", __func__); in lws_read_h1()
235 lwsl_info("HTTP_BODY_COMPLETION: %s (%s)\n", in lws_read_h1()
242 lwsl_info("%s: bailing after BODY_COMPLETION\n", __func__); in lws_read_h1()
271 lwsl_info("%s: lws_parse_ws bailed\n", __func__); in lws_read_h1()
375 lwsl_info("%s: %s: ah not available\n", __func__, in lws_h1_server_socket_service()
395 lwsl_info("%s: read 0 len a\n", __func__); in lws_h1_server_socket_service()
[all …]
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c130 lwsl_info("ext mentioned twice\n"); in lws_extension_server_handshake()
167 lwsl_info("ext %s failed construction\n", in lws_extension_server_handshake()
195 lwsl_info("ext args %s\n", args); in lws_extension_server_handshake()
213 lwsl_info("setting '%s'\n", po->name); in lws_extension_server_handshake()
275 lwsl_info("%s: ws upgrade requires basic auth\n", __func__); in lws_process_ws_upgrade2()
315 lwsl_info("%s: %s switching to ws protocol\n", in lws_process_ws_upgrade2()
432 lwsl_info("%s: %s: dropping ah on ws upgrade\n", __func__, lws_wsi_tag(wsi)); in lws_process_ws_upgrade2()
557 lwsl_info("%s: defaulting to prot handler %d\n", __func__, n); in lws_process_ws_upgrade()
649 lwsl_info("handshake_04 missing pieces\n"); in handshake_0405()
769 lwsl_info("%s: ERROR writing to socket %d\n", __func__, n); in handshake_0405()
[all …]
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c104 lwsl_info("%s: SSL_new() failed\n", __func__); in lws_ssl_client_bio_create()
121 lwsl_info("%s: setting hostname %s\n", __func__, hostname); in lws_ssl_client_bio_create()
140 lwsl_info("%s: %s: client conn sending ALPN list '%s'\n", in lws_ssl_client_bio_create()
259 lwsl_info("%s: client connect OK\n", __func__); in lws_tls_client_connect()
299 lwsl_info("peer did not provide cert\n"); in lws_tls_client_confirm_peer_cert()
333 lwsl_info("%s: cert problem: %s\n", __func__, type); in lws_tls_client_confirm_peer_cert()
344 lwsl_info("%s: allowing anyway\n", __func__); in lws_tls_client_confirm_peer_cert()
358 lwsl_info("%s\n", ebuf); in lws_tls_client_confirm_peer_cert()
423 lwsl_info("Loading vh %s client CA for verification %s\n", vh->name, ca_filepath); in lws_tls_client_create_vhost_context()
427 lwsl_info("%s: using mem client CA cert %d\n", in lws_tls_client_create_vhost_context()
[all …]
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c100 lwsl_info("%s: af %d\n", __func__, (int)a->af); in _lws_vhost_init_server_af()
291 lwsl_info("%s: lws_socket_bind says %d\n", __func__, is); in _lws_vhost_init_server_af()
386 lwsl_info(" Listening on \"%s\"\n", a->vhost->iface); in _lws_vhost_init_server_af()
389 lwsl_info(" Listening on %s:%d\n", in _lws_vhost_init_server_af()
519 lwsl_info("SNI: Found: %s\n", servername); in lws_select_vhost()
539 lwsl_info("SNI: Found %s on wildcard: %s\n", in lws_select_vhost()
551 lwsl_info("%s: vhost match to %s based on port %d\n", in lws_select_vhost()
606 lwsl_info("%s: match to user mimetype: %s\n", __func__, in lws_get_mimetype()
618 lwsl_info("%s: match to server mimetype: %s\n", __func__, in lws_get_mimetype()
626 lwsl_info("%s: match to any mimetype: %s\n", __func__, in lws_get_mimetype()
[all …]
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h2.c53 lwsl_info("%s: reporting initial tx cr from server %d\n", in secstream_h2()
103 lwsl_info("%s: LWS_CALLBACK_WSI_TX_CREDIT_GET: %d\n", in secstream_h2()
173 lwsl_info("%s: initial txcr %d\n", __func__, in secstream_connect_munge_h2()
197 lwsl_info("%s: %s: add %d\n", __func__, lws_ss_tag(h), add); in secstream_tx_credit_add_h2()
208 lwsl_info("%s: %s: est %d\n", __func__, lws_ss_tag(h), in secstream_tx_credit_est_h2()
214 lwsl_info("%s: %s: Unknown (0)\n", __func__, lws_ss_tag(h)); in secstream_tx_credit_est_h2()
Dss-raw.c48 lwsl_info("%s: %s, %s CLIENT_CONNECTION_ERROR: %s\n", __func__, in secstream_raw()
73 lwsl_info("%s: %s, %s RAW_CLOSE\n", __func__, lws_ss_tag(h), in secstream_raw()
101 lwsl_info("%s: RAW_CONNECTED\n", __func__); in secstream_raw()
120 lwsl_info("%s: RAW_ADOPT\n", __func__); in secstream_raw()
135 lwsl_info("%s: RAW_WRITEABLE\n", __func__); in secstream_raw()
/third_party/libwebsockets/lib/tls/
Dtls-server.c243 lwsl_info("%s: redirecting from http " in lws_server_socket_service_ssl()
251 lwsl_info("%s: allowing unencrypted " in lws_server_socket_service_ssl()
261 lwsl_info("%s: allowing non-tls " in lws_server_socket_service_ssl()
311 lwsl_info("SSL_ERROR_WANT_READ\n"); in lws_server_socket_service_ssl()
320 lwsl_info("SSL_accept says %d\n", n); in lws_server_socket_service_ssl()
327 lwsl_info("%s: SSL_accept failed socket %u: %d\n", in lws_server_socket_service_ssl()
341 lwsl_info("setting wsi to vh %s\n", vh->name); in lws_server_socket_service_ssl()
Dtls-jit-trust.c96 lwsl_info("%s\n", __func__); in lws_tls_jit_trust_sort_kids()
177 lwsl_info("%s: AKID[%d]\n", __func__, n); in lws_tls_jit_trust_sort_kids()
179 lwsl_info("%s: SKID[%d]\n", __func__, n); in lws_tls_jit_trust_sort_kids()
272 lwsl_info("%s: %s -> existing %s\n", __func__, address, vhtag); in lws_tls_jit_trust_vhost_bind()
315 lwsl_info("%s: bind to created vhost %s\n", __func__, vhtag); in lws_tls_jit_trust_vhost_bind()
361 lwsl_info("%s: %s\n", __func__, vh->lc.gutag); in unref_vh_grace_cb()
369 lwsl_info("%s: %s: unused, grace %dms\n", __func__, vh->lc.gutag, in lws_tls_jit_trust_vh_start_grace()
392 lwsl_info("ISS: %s\n", u->ns.name); in lws_tls_jit_trust_cert_info()
396 lwsl_info("CN: %s\n", u->ns.name); in lws_tls_jit_trust_cert_info()
533 lwsl_info("%s: adding cache mapping %s -> %s\n", __func__, in lws_tls_jit_trust_got_cert_cb()
[all …]
Dlws-genec-common.c70 lwsl_info("match curve %s\n", in lws_genec_confirm_curve_allowed_by_tls_id()
121 lwsl_info(" genec %p: crv: '%s'\n", el, in lws_genec_dump()
127 lwsl_info(" e: %s\n", enames[n]); in lws_genec_dump()
131 lwsl_info("\n"); in lws_genec_dump()
Dtls.c73 lwsl_info("%s: %d -> %d\n", __func__, in lws_tls_restrict_borrow()
125 lwsl_info("%s: %d -> %d\n", __func__, in lws_tls_restrict_return_handshake()
143 lwsl_info("%s: %d -> %d\n", __func__, in lws_tls_restrict_return()
165 lwsl_info(" Server '%s' advertising ALPN: %s\n", in lws_context_init_alpn()
190 lwsl_info("%s\n", __func__); in lws_tls_server_conn_alpn()
199 lwsl_info("no ALPN upgrade\n"); in lws_tls_server_conn_alpn()
209 lwsl_info("%s: negotiated '%s' using ALPN\n", __func__, cstr); in lws_tls_server_conn_alpn()
/third_party/libwebsockets/plugins/ssh-base/
Dsshd.c157 lwsl_info("keylen %d\n", keylen); in offer()
365 lwsl_info("%s\n", __func__); in lws_kex_create()
375 lwsl_info("Destroying KEX\n"); in lws_kex_destroy()
409 lwsl_info("%s\n", __func__); in lws_ua_destroy()
501 lwsl_info("Deleting ch %p\n", ch); in ssh_destroy_channel()
556 lwsl_info("peer id: %s\n", pss->V_C); in lws_ssh_parse_plaintext()
590 lwsl_info("msg len %d\n", pss->msg_len); in lws_ssh_parse_plaintext()
631 lwsl_info("SSH_MSG_SERVICE_REQUEST\n"); in lws_ssh_parse_plaintext()
678 lwsl_info("Activating CTS keys\n"); in lws_ssh_parse_plaintext()
708 lwsl_info("SSH_MSG_USERAUTH_REQUEST\n"); in lws_ssh_parse_plaintext()
[all …]
/third_party/libwebsockets/lib/plat/unix/
Dunix-plugins.c49 lwsl_info(" trying %s\n", libpath); in lws_plat_dlopen()
53 lwsl_info("%s: Error loading DSO: %s\n", __func__, dlerror()); in lws_plat_dlopen()
67 lwsl_info("%s: Failed to get export '%s' from %s: %s\n", in lws_plat_dlopen()
73 lwsl_info("%s: plugin %s has outdated api %d (vs %d)\n", in lws_plat_dlopen()
/third_party/libwebsockets/lib/roles/mqtt/client/
Dclient-mqtt.c117 lwsl_info("%s: using client id '%.*s'\n", __func__, c->id->len, in lws_create_client_mqtt_object()
293 lwsl_info("%s: %s: Transport established, send out CONNECT\n", in lws_mqtt_client_socket_service()
324 lwsl_info("%s: zero length read\n", in lws_mqtt_client_socket_service()
328 lwsl_info("SSL Capable more service\n"); in lws_mqtt_client_socket_service()
331 lwsl_info("%s: LWS_SSL_CAPABLE_ERROR\n", in lws_mqtt_client_socket_service()
358 lwsl_info("closing conn at LWS_CONNMODE...SERVER_REPLY\n"); in lws_mqtt_client_socket_service()
360 lwsl_info("reason: %s\n", cce); in lws_mqtt_client_socket_service()
/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c145 lwsl_info("%s: onward: %s:%d%s\n", __func__, i.address, i.port, i.path); in connect_client()
166 lwsl_info("%s: %s side: %s\n", __func__, side ? "ONW" : "ACC", in flow_control()
298 lwsl_info(" pss %p, wsi[ACC] %p, closed[ACC] %d\n", in callback_raw_proxy()
336 lwsl_info("%s: CLI_WRITABLE had nothing in acc ring\n", in callback_raw_proxy()
342 lwsl_info("%s: acc ring has %d but next %d\n", __func__, in callback_raw_proxy()
350 lwsl_info("%s: WRITEABLE: %d\n", __func__, n); in callback_raw_proxy()
452 lwsl_info(" closed[ONW] %d\n", conn->closed[ONW]); in callback_raw_proxy()
493 lwsl_info("%s: SRV_WRITABLE nothing in onw ring\n", in callback_raw_proxy()
499 lwsl_info("%s: onw ring has %d but next %d\n", __func__, in callback_raw_proxy()
507 lwsl_info("%s: WRITEABLE: %d\n", __func__, n); in callback_raw_proxy()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c140 lwsl_info("%s: proxy connection extablished\n", __func__); in lws_http_client_socket_service()
215 lwsl_info("h2 prior knowledge\n"); in lws_http_client_socket_service()
234 lwsl_info("%s: doing h2 hello path\n", __func__); in lws_http_client_socket_service()
278 lwsl_info("%s: HANDSHAKE2: %s: sending headers " in lws_http_client_socket_service()
480 lwsl_info("%s: closing conn at LWS_CONNMODE...SERVER_REPLY, %s, state 0x%x\n", in lws_http_client_socket_service()
483 lwsl_info("reason: %s\n", cce); in lws_http_client_socket_service()
506 lwsl_info("%s: %s (%s)\n", __func__, lws_wsi_tag(wsi), in lws_http_transaction_completed_client()
566 lwsl_info("%s: %s: new queued transaction\n", __func__, lws_wsi_tag(wsi)); in lws_http_transaction_completed_client()
674 lwsl_info("no URI\n"); in lws_client_interpret_server_handshake()
682 lwsl_info("no status\n"); in lws_client_interpret_server_handshake()
[all …]
/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c61 lwsl_info("failed at set pollfd\n"); in rops_handle_POLLIN_mqtt()
95 lwsl_info("draining buflist (len %d)\n", ebuf.len); in rops_handle_POLLIN_mqtt()
135 lwsl_info("%s: zero length read\n", in rops_handle_POLLIN_mqtt()
139 lwsl_info("SSL Capable more service\n"); in rops_handle_POLLIN_mqtt()
142 lwsl_info("%s: LWS_SSL_CAPABLE_ERROR\n", in rops_handle_POLLIN_mqtt()
184 lwsl_info("%s: %s flow buf: drained\n", __func__, lws_wsi_tag(wsi)); in rops_handle_POLLIN_mqtt()
561 lwsl_info(" %s, his parent %s: child list %p, siblings:\n", in rops_close_kill_connection_mqtt()
571 lwsl_info("closing %s: parent %s: first child %p\n", in rops_close_kill_connection_mqtt()
577 lwsl_info(" parent %s: closing children: list:\n", lws_wsi_tag(wsi)); in rops_close_kill_connection_mqtt()
Dmqtt.c447 lwsl_info("%s: Created mysub %p for wsi->mqtt %p\n", in lws_mqtt_create_sub()
460 lwsl_info("%s: Called to remove subs from wsi->mqtt %p\n", in lws_mqtt_client_remove_subs()
471 lwsl_info("%s: Removing sub %p from wsi->mqtt %p\n", in lws_mqtt_client_remove_subs()
590 lwsl_info("%s: unsupported MQTT version %d\n", in _lws_mqtt_rx_parser()
770 lwsl_info("%s: received PUBLISH pkt\n", __func__); in _lws_mqtt_rx_parser()
1121 lwsl_info("%s: PUBACK pkt len = %d\n", __func__, in _lws_mqtt_rx_parser()
1173 lwsl_info("%s: PUBACK props len = %d\n", in _lws_mqtt_rx_parser()
1215 lwsl_info("%s: cmd_completion: CONNACK\n", in _lws_mqtt_rx_parser()
1343 lwsl_info("%s: MQTT_ACK requests close\n", in _lws_mqtt_rx_parser()
1411 lwsl_info("%s: cmd_completion: PUBACK\n", in _lws_mqtt_rx_parser()
[all …]
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-process.c160 lwsl_info("%s: %s: rxflow disabling rx (%lu / %lu, hwm %lu)\n", __func__, in ss_proxy_onward_rx()
216 lwsl_info("%s: onward tx %d fl 0x%x\n", __func__, (int)*len, *flags); in ss_proxy_onward_tx()
276 lwsl_info("%s: Destroying conn\n", __func__); in ss_proxy_onward_state()
282 lwsl_info("%s: ss DESTROYING, wsi up\n", __func__); in ss_proxy_onward_state()
354 lwsl_info("LWS_CALLBACK_RAW_ADOPT\n"); in callback_ss_proxy()
383 lwsl_info("LWS_CALLBACK_RAW_CLOSE:\n"); in callback_ss_proxy()
420 lwsl_info("%s: destroying %s, wsi %s\n", in callback_ss_proxy()
468 lwsl_info("%s: RX: rx %d\n", __func__, (int)len); in callback_ss_proxy()
685 lwsl_info("%s: WRITEABLE: %d\n", __func__, n); in callback_ss_proxy()
709 lwsl_info("%s: %s: rxflow enabling rx (%lu / %lu, lwm %lu)\n", __func__, in callback_ss_proxy()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c400 lwsl_info("%s client conn using alpn list '%s'\n", wsi->role_ops->name, alpn_comma); in lws_ssl_client_bio_create()
535 lwsl_info("%s: n %d, m %d, errno %d\n", __func__, n, m, en); in lws_tls_client_connect()
586 lwsl_info("client connect OK\n"); in lws_tls_client_connect()
641 lwsl_info("%s: cert problem: %s\n", __func__, type); in lws_tls_client_confirm_peer_cert()
649 lwsl_info("%s: allowing anyway\n", __func__); in lws_tls_client_confirm_peer_cert()
664 lwsl_info("%s\n", ebuf); in lws_tls_client_confirm_peer_cert()
840 lwsl_info("%s: vh %s: reusing client ctx %d: use %d\n",
883 lwsl_info("%s: vh %s: created new client ctx %d\n", __func__,
983 lwsl_info("loaded ssl_ca_filepath\n");
1019 lwsl_info("loaded ssl_ca_mem\n");
[all …]
/third_party/libwebsockets/lib/roles/dbus/
Ddbus.c82 lwsl_info("%s: creating shadow wsi\n", __func__); in __lws_shadow_wsi()
112 lwsl_info("%s: destroying shadow wsi\n", __func__); in __lws_shadow_wsi_destroy()
135 lwsl_info("%s: new dbus dispatch status: %d\n", __func__, s); in handle_dispatch_status()
189 lwsl_info("%s: %s: %p, fd %d, data %p, fl %d\n", __func__, in lws_dbus_add_watch()
261 lwsl_info("%s: %p, fd %d, data %p, clearing lws flags %d\n", in lws_dbus_remove_watch()
324 lwsl_info("%s: adding timeout %dms\n", __func__, in lws_dbus_add_timeout()
349 lwsl_info("%s: t %p, data %p\n", __func__, t, data); in lws_dbus_remove_timeout()
503 lwsl_info("%s: conn: flags %d\n", __func__, flags); in rops_handle_POLLIN_dbus()
/third_party/libwebsockets/minimal-examples/api-tests/api-test-lejp/
Dmain.c140 lwsl_info("%s: ctx->path %s, buf %s\n", __func__, ctx->path, ctx->buf); in test_cb()
161 lwsl_info("%s: ++++++++++++++++ test %d\n", __func__, m + 1); in main()
174 lwsl_info("n = %d\n", n); in main()
/third_party/libwebsockets/lib/jose/jwk/
Djwk.c84 lwsl_info("%s: jwk %p\n", __func__, jwk); in lws_jwk_dump()
88 lwsl_info(" meta: %s\n", meta_names[n]); in lws_jwk_dump()
92 lwsl_info(" meta: %s: '%s'\n", meta_names[n], in lws_jwk_dump()
98 lwsl_info(" e: %s\n", enames[n]); in lws_jwk_dump()
102 lwsl_info(" e: %s: '%s'\n", enames[n], jwk->e[n].buf); in lws_jwk_dump()

123456