Home
last modified time | relevance | path

Searched refs:lwsl_debug (Results 1 – 25 of 87) sorted by relevance

1234

/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-ssl.c58 lwsl_debug("%s: SSL_read ENOTCONN\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
63 lwsl_debug("%s: %s: SSL_read says %d\n", __func__, lws_wsi_tag(wsi), n); in lws_ssl_capable_read()
73 lwsl_debug("%s: %s: ssl err %d errno %d\n", __func__, lws_wsi_tag(wsi), m, errno); in lws_ssl_capable_read()
88 lwsl_debug("%s: WANT_READ\n", __func__); in lws_ssl_capable_read()
89 lwsl_debug("%s: LWS_SSL_CAPABLE_MORE_SERVICE\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
94 lwsl_debug("%s: LWS_SSL_CAPABLE_MORE_SERVICE\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
200 lwsl_debug("%s: want write\n", __func__); in lws_ssl_capable_write()
206 lwsl_debug("%s failed: %d\n",__func__, m); in lws_ssl_capable_write()
318 lwsl_debug("SSL_shutdown=%d for fd %d\n", n, wsi->desc.sockfd); in __lws_tls_shutdown()
333 lwsl_debug("(wants read)\n"); in __lws_tls_shutdown()
[all …]
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-ssl.c59 lwsl_debug("%s: %p %d -> %d (errno %d)\n", __func__, wsi->tls.ssl, n, m, LWS_ERRNO); in lws_ssl_get_error()
217 lwsl_debug("%s: SSL_read ENOTCONN\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
222 lwsl_debug("%s: SSL_read says %d\n", lws_wsi_tag(wsi), n); in lws_ssl_capable_read()
249 lwsl_debug("%s: ssl err %d errno %d\n", lws_wsi_tag(wsi), m, LWS_ERRNO); in lws_ssl_capable_read()
273 lwsl_debug("%s: WANT_READ\n", __func__); in lws_ssl_capable_read()
274 lwsl_debug("%s: LWS_SSL_CAPABLE_MORE_SERVICE\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
279 lwsl_debug("%s: LWS_SSL_CAPABLE_MORE_SERVICE\n", lws_wsi_tag(wsi)); in lws_ssl_capable_read()
379 lwsl_debug("%s: want write\n", __func__); in lws_ssl_capable_write()
385 lwsl_debug("%s failed: %s\n",__func__, ERR_error_string((unsigned int)m, NULL)); in lws_ssl_capable_write()
544 lwsl_debug("SSL_shutdown=%d for fd %d\n", n, wsi->desc.sockfd); in __lws_tls_shutdown()
[all …]
/third_party/libwebsockets/lib/misc/lwsac/
Dlwsac.c149 lwsl_debug("%s: alloc %d for %d\n", __func__, (int)alloc, (int)ensure); in _lwsac_use()
267 lwsl_debug("%s: head %p\n", __func__, *head); in lwsac_free()
284 lwsl_debug("%s: empty\n", __func__); in lwsac_info()
290 lwsl_debug("%s: lac %p: %dKiB in %d blocks\n", __func__, head, in lwsac_info()
313 lwsl_debug("%s: head %p: (det %d) refcount -> %d\n", in lwsac_reference()
332 lwsl_debug("%s: head %p: (det %d) refcount -> %d\n", in lwsac_unreference()
336 lwsl_debug("%s: head %p: FREED\n", __func__, *head); in lwsac_unreference()
353 lwsl_debug("%s: head %p: FREED\n", __func__, *head); in lwsac_detach()
356 lwsl_debug("%s: head %p: refcount %d: Marked as detached\n", in lwsac_detach()
/third_party/libwebsockets/plugins/raw-proxy/
Dprotocol_lws_raw_proxy.c261 lwsl_debug("%s: %p: LWS_CALLBACK_RAW_CLI_ADOPT: pss %p\n", __func__, wsi, pss); in callback_raw_proxy()
280 lwsl_debug("LWS_CALLBACK_RAW_PROXY_CLI_CLOSE\n"); in callback_raw_proxy()
292 lwsl_debug("LWS_CALLBACK_RAW_PROXY_CLI_RX: %d\n", (int)len); in callback_raw_proxy()
317 lwsl_debug("After onward RX: acc free: %d...\n", in callback_raw_proxy()
329 lwsl_debug("LWS_CALLBACK_RAW_PROXY_CLI_WRITEABLE\n"); in callback_raw_proxy()
359 lwsl_debug("acc free: %d...\n", in callback_raw_proxy()
367 lwsl_debug("%s: CLI_WRITABLE: next acc pkt %p idx %d vs %d\n", in callback_raw_proxy()
394 lwsl_debug("LWS_CALLBACK_RAW_SRV_ADOPT\n"); in callback_raw_proxy()
433 lwsl_debug("LWS_CALLBACK_RAW_PROXY_SRV_CLOSE:\n"); in callback_raw_proxy()
444 lwsl_debug("LWS_CALLBACK_RAW_PROXY_SRV_RX: rx %d\n", (int)len); in callback_raw_proxy()
[all …]
/third_party/libwebsockets/lib/roles/http/compression/
Dstream.c167 lwsl_debug("%s: %s: adding %d to comp buflist\n", in lws_http_compression_transform()
174 lwsl_debug("%s: %s: trying comp buflist %d\n", __func__, in lws_http_compression_transform()
181 lwsl_debug("%s: %s: pre-process: ilen_iused %d, olen_oused %d\n", in lws_http_compression_transform()
196 lwsl_debug("%s: %s: more %d, ilen_iused %d\n", __func__, lws_wsi_tag(wsi), in lws_http_compression_transform()
206 lwsl_debug("%s: %s: marking %d of comp buflist as used " in lws_http_compression_transform()
220 lwsl_debug("%s: buffering %d unused comp input\n", __func__, in lws_http_compression_transform()
/third_party/libwebsockets/lib/system/ntpclient/
Dntpclient.c74 lwsl_debug("%s: wsi_udp: %s\n", __func__, lws_wsi_tag(v->wsi_udp)); in lws_ntpc_retry_conn()
87 lwsl_debug("%s: created wsi_udp: %s\n", __func__, lws_wsi_tag(v->wsi_udp)); in lws_ntpc_retry_conn()
101 lwsl_debug("%s\n", __func__); in lws_ntpc_retry_write()
125 lwsl_debug("%s: LWS_CALLBACK_PROTOCOL_INIT:\n", __func__); in callback_ntpc()
171 lwsl_debug("%s: LWS_CALLBACK_RAW_ADOPT\n", __func__); in callback_ntpc()
180 lwsl_debug("%s: LWS_CALLBACK_RAW_CLOSE\n", __func__); in callback_ntpc()
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c220 lwsl_debug("%s: ep %p: state %d -> %d\n", __func__, c, c->estate, s); in lws_mqttc_state_transition()
498 lwsl_debug("%s: %d, len = %d\n", __func__, par->state, (int)len); in _lws_mqtt_rx_parser()
532 lwsl_debug("%s: received pkt type 0x%x / flags 0x%x\n", in _lws_mqtt_rx_parser()
543 lwsl_debug("%s: received CONNECT pkt\n", __func__); in _lws_mqtt_rx_parser()
658 lwsl_debug("%s: received PUBREC pkt\n", __func__); in _lws_mqtt_rx_parser()
665 lwsl_debug("%s: PUBREC pkt len = %d\n", in _lws_mqtt_rx_parser()
694 lwsl_debug("%s: received PUBREL pkt\n", __func__); in _lws_mqtt_rx_parser()
701 lwsl_debug("%s: PUBREL pkt len = %d\n", in _lws_mqtt_rx_parser()
730 lwsl_debug("%s: received PUBCOMP pkt\n", __func__); in _lws_mqtt_rx_parser()
737 lwsl_debug("%s: PUBCOMP pkt len = %d\n", in _lws_mqtt_rx_parser()
[all …]
Dops-mqtt.c36 lwsl_debug("%s: wsistate 0x%x, %s pollout %d\n", __func__, in rops_handle_POLLIN_mqtt()
67 lwsl_debug("POLLOUT event closed it\n"); in rops_handle_POLLIN_mqtt()
166 lwsl_debug("%s: consuming %d / %d\n", __func__, n, ebuf.len); in rops_handle_POLLIN_mqtt()
231 lwsl_debug("%s: i = %p\n", __func__, i); in rops_client_bind_mqtt()
280 lwsl_debug("%s\n", __func__); in rops_handle_POLLOUT_mqtt()
346 lwsl_debug("%s: no children\n", __func__); in rops_handle_POLLOUT_mqtt()
383 lwsl_debug("%s: child %s (wsistate 0x%x)\n", __func__, in rops_handle_POLLOUT_mqtt()
510 lwsl_debug("%s: %s (wsistate 0x%x)\n", __func__, lws_wsi_tag(wsi), in rops_callback_on_writable_mqtt()
518 lwsl_debug("already pending writable\n"); in rops_callback_on_writable_mqtt()
/third_party/libwebsockets/lib/abstract/transports/
Draw-skt.c92 lwsl_debug("LWS_CALLBACK_RAW_CONNECTED\n"); in callback_abs_client_raw_skt()
138 lwsl_debug("LWS_CALLBACK_RAW_CLOSE\n"); in callback_abs_client_raw_skt()
147 lwsl_debug("LWS_CALLBACK_RAW_RX (%d)\n", (int)len); in callback_abs_client_raw_skt()
151 lwsl_debug("LWS_CALLBACK_RAW_WRITEABLE\n"); in callback_abs_client_raw_skt()
207 lwsl_debug("%s: priv %p, wsi %p, ro %p\n", __func__, in lws_atcrs_tx()
261 lwsl_debug("%s: raw_skt priv %p connecting to %s:%u %p\n", in lws_atcrs_client_conn()
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c144 lwsl_debug("POLLOUT event closed it\n"); in rops_handle_POLLIN_h2()
324 lwsl_debug("%s: added %s to rxflow list\n", in rops_handle_POLLIN_h2()
761 lwsl_debug("already pending writable\n"); in rops_callback_on_writable_h2()
826 lwsl_debug("%s: %s: hit %p: %s\n", __func__, in lws_h2_bind_for_post_before_action()
957 lwsl_debug("servicing child %s\n", lws_wsi_tag(*wsi2)); in rops_perform_user_POLLOUT_h2()
973 lwsl_debug("%s: completing partial\n", __func__); in rops_perform_user_POLLOUT_h2()
1061 lwsl_debug("%s: added %s to rxflow list\n", in rops_perform_user_POLLOUT_h2()
1131 lwsl_debug("lws_serve_http_file_fragment says %d\n", n); in rops_perform_user_POLLOUT_h2()
1138 lwsl_debug("Closing POLLOUT child %s\n", in rops_perform_user_POLLOUT_h2()
1164 lwsl_debug("sending close packet\n"); in rops_perform_user_POLLOUT_h2()
[all …]
Dhttp2.c402 lwsl_debug("%s: %s: fd %d\n", __func__, lws_wsi_tag(wsi), (int)wsi->desc.sockfd); in lws_h2_issue_preface()
677 lwsl_debug("%s: %s (eff %s). typ %d, fl 0x%x, sid=%d, len=%d, " in lws_h2_frame_write()
750 lwsl_debug("sending SETTING %d 0x%x\n", n, in lws_h2_do_pps_send()
775 lwsl_debug("%s: resetting initial window to %d\n", __func__, in lws_h2_do_pps_send()
911 lwsl_debug("%s: closing cwsi %s %s %s (wsi %s)\n", in lws_h2_do_pps_send()
990 lwsl_debug("%s (%s): fr hdr: typ 0x%x, fla 0x%x, sid 0x%x, len 0x%x\n", in lws_h2_parse_frame_header()
1143 lwsl_debug("LWS_H2_FRAME_TYPE_GOAWAY received\n"); in lws_h2_parse_frame_header()
1361 lwsl_debug("%s: hdr END_STREAM = %d\n",__func__, in lws_h2_parse_frame_header()
1372 lwsl_debug("END_HEADERS %d\n", h2n->swsi->h2.END_HEADERS); in lws_h2_parse_frame_header()
1391lwsl_debug("%s: going on to deal with unknown frame remaining len %d\n", __func__, (unsigned int)h… in lws_h2_parse_frame_header()
[all …]
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c106 lwsl_debug("accepted new conn port %u on fd=%d\n", in rops_handle_POLLIN_listen()
116 lwsl_debug("accepted new conn port %u on fd=%d\n", in rops_handle_POLLIN_listen()
132 lwsl_debug("Callback denied net connection\n"); in rops_handle_POLLIN_listen()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c63 lwsl_debug("%s: doing draining flow\n", __func__); in lws_ws_rx_sm()
406 lwsl_debug("%s: ws fragment length exhausted\n", in lws_ws_rx_sm()
414 lwsl_debug("%s: UNTIL_EXHAUSTED draining\n", __func__); in lws_ws_rx_sm()
613 lwsl_debug("%s: ext says %d / ebuf.len %d\n", __func__, in lws_ws_rx_sm()
636 lwsl_debug("%s: post ext ret %d, ebuf in %d / out %d\n", in lws_ws_rx_sm()
642 lwsl_debug(" --- ending drain on 0 read\n"); in lws_ws_rx_sm()
771 lwsl_debug("%s: RX EXT DRAINING: Adding to list\n", __func__); in lws_add_wsi_to_draining_ext_list()
789 lwsl_debug("%s: RX EXT DRAINING: Removing from list\n", __func__); in lws_remove_wsi_from_draining_ext_list()
863 lwsl_debug("ws established\n"); in lws_server_init_wsi_for_ws()
874 lwsl_debug("%s: final %d, rx pk length %ld, draining %ld\n", __func__, in lws_is_final_fragment()
[all …]
Dserver-ws.c224 lwsl_debug("adding option %s\n", in lws_extension_server_handshake()
604 lwsl_debug("checking %s\n", name); in lws_process_ws_upgrade()
995 lwsl_debug("%s: received %d byte packet\n", __func__, (int)len); in lws_parse_ws()
1035 lwsl_debug("%s: draining rx ext\n", __func__); in lws_parse_ws()
1077 lwsl_debug("%s: coming out of bulk with len %d, " in lws_parse_ws()
1096 lwsl_debug("%s: exit with %d unused\n", __func__, (int)len); in lws_parse_ws()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c116 lwsl_debug("initial if check says %d\n", is); in _lws_vhost_init_server_af()
126 lwsl_debug("deferred iface: removing vh %s\n", in _lws_vhost_init_server_af()
142 lwsl_debug("deferred iface: adding vh %s\n", in _lws_vhost_init_server_af()
319 lwsl_debug("%s: lws_socket_bind says %d\n", __func__, is); in _lws_vhost_init_server_af()
750 lwsl_debug("symlink %s -> %s\n", path, sym); in lws_http_serve()
755 lwsl_debug("default filename append to dir\n"); in lws_http_serve()
787 lwsl_debug("%s: ETAG match %s %s\n", __func__, in lws_http_serve()
863 lwsl_debug("sending no mimetype for %s\n", path); in lws_http_serve()
885 lwsl_debug("want %s interpreted by %s (pcol is %s)\n", path, in lws_http_serve()
1482 lwsl_debug("%s: (requesting '%s')\n", in lws_http_proxy_start()
[all …]
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c113 lwsl_debug("Proxy read EAGAIN... retrying\n"); in lws_http_client_socket_service()
154 lwsl_debug("%s: LRS_H1C_ISSUE_HANDSHAKE\n", __func__); in lws_http_client_socket_service()
198 lwsl_debug("%s: LRS_H1C_ISSUE_HANDSHAKE fallthru\n", __func__); in lws_http_client_socket_service()
286 lwsl_debug("ERROR writing to client socket\n"); in lws_http_client_socket_service()
296 lwsl_debug("body pending\n"); in lws_http_client_socket_service()
371 lwsl_debug("Server conn %s (fd=%d) dead\n", in lws_http_client_socket_service()
409 lwsl_debug("%s: buflist-aware-read %d %d\n", __func__, in lws_http_client_socket_service()
516 lwsl_debug("%s: Completed call returned nonzero (role 0x%lx)\n", in lws_http_transaction_completed_client()
615 lwsl_debug("%s: %s: transitioning to h2 client\n", in lws_client_interpret_server_handshake()
624 lwsl_debug("%s: %s: transitioning to h1 client\n", in lws_client_interpret_server_handshake()
[all …]
/third_party/libwebsockets/lib/tls/
Dtls-server.c177 lwsl_debug("inserted SSL accept into fds, trying SSL_accept\n"); in lws_server_socket_service_ssl()
278 lwsl_debug("%s: PEEKed 0 (from_pollin %d)\n", in lws_server_socket_service_ssl()
357 lwsl_debug("accepted new SSL conn\n"); in lws_server_socket_service_ssl()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c48 lwsl_debug("%s: h1 path: wsi state 0x%x\n", __func__, lwsi_state(wsi)); in lws_read_h1()
502 lwsl_debug("%s: LRS_DEFERRING_ACTION now writable\n", __func__); in lws_h1_server_socket_service()
634 lwsl_debug("%s: %s: wsistate 0x%x\n", __func__, lws_wsi_tag(wsi), in rops_handle_POLLIN_h1()
695 lwsl_debug("POLLOUT event closed it\n"); in rops_handle_POLLIN_h1()
730 lwsl_debug("%s: %s: proxying body %d %d %d %d %d\n", in rops_handle_POLLOUT_h1()
851 lwsl_debug("%s: client %d\n", __func__, lwsi_role_client(wsi)); in rops_alpn_negotiated_h1()
915 lwsl_debug("Attached ah immediately\n"); in rops_adoption_bind_h1()
/third_party/libwebsockets/lib/core/
Dalloc.c114 lwsl_debug("%s: size %lu: %s (free heap %d)\n", __func__, in _realloc()
121 lwsl_debug("%s: size %lu: %s\n", __func__, in _realloc()
/third_party/libwebsockets/lib/abstract/protocols/smtp/
Dsmtp.c79 lwsl_debug("%s: cli %p: state %d -> %d\n", __func__, c, c->estate, s); in lws_smtpc_state_transition()
211 lwsl_debug("%s: done\n", __func__); in lws_smtpc_abs_rx()
248 lwsl_debug("%s: writing response for state %d\n", __func__, c->estate); in lws_smtpc_abs_writeable()
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c279 lwsl_debug("%s: SIGTERM child PID %d says %d (errno %d)\n", __func__, in lws_spawn_piped_kill_child_process()
308 lwsl_debug("%s: reaped PID %d\n", __func__, n); in lws_spawn_piped_kill_child_process()
312 lwsl_debug("%s: reaped PID %d\n", __func__, n); in lws_spawn_piped_kill_child_process()
393 lwsl_debug("%s: lsp stdwsi %p: pipe idx %d -> fd %d / %d\n", __func__, in lws_spawn_piped()
599 lwsl_debug("%s: pipes alive %d\n", __func__, lsp->pipes_alive); in lws_spawn_stdwsi_closed()
/third_party/libwebsockets/lib/misc/threadpool/
Dthreadpool.c401 lwsl_debug("%s: %p: LWS_TP_RETURN_SYNC in\n", __func__, task); in lws_threadpool_worker_sync()
478 lwsl_debug("%s: %p: LWS_TP_RETURN_SYNC out\n", __func__, task); in lws_threadpool_worker_sync()
591 lwsl_debug(" %d, status %d\n", n, task->status); in lws_threadpool_worker()
601 lwsl_debug("%s: task that wants to " in lws_threadpool_worker()
879 lwsl_debug("%s: tp %p: removed queued task %s\n", in lws_threadpool_dequeue_task()
930 lwsl_debug("%s: tp %p: request stop running task " in lws_threadpool_dequeue_task()
1112 lwsl_debug("%s\n", __func__); in lws_threadpool_task_sync()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-service.c68 lwsl_debug(" heap :%ld (+%ld)\n", in _lws_plat_service_tsi()
73 lwsl_debug(" heap :%ld (-%ld)\n", in _lws_plat_service_tsi()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam-tx-rx/
Dminimal-ws-client.c94 lwsl_debug("set timer on %d usecs\n", n); in callback()
110 lwsl_debug("LWS_CALLBACK_RECEIVE: len = %lu, first = %d, " in callback()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c250 lwsl_debug("LWS_CALLBACK_WS_SERVER_DROP_PROTOCOL: %p\n", wsi); in callback_minimal()
271 lwsl_debug("%s: LWS_CALLBACK_SERVER_WRITEABLE: status %d\n", in callback_minimal()

1234