Home
last modified time | relevance | path

Searched refs:lws_hdr_copy (Results 1 – 22 of 22) sorted by relevance

/third_party/libwebsockets/lib/roles/http/server/
Daccess-log.c121 if (lws_hdr_copy(wsi, wsi->http.access_log.user_agent, l + 4, in lws_prepare_access_log_info()
137 if (lws_hdr_copy(wsi, wsi->http.access_log.referrer, in lws_prepare_access_log_info()
Dranges.c194 if (lws_hdr_copy(wsi, (char *)rp->buf, sizeof(rp->buf), in lws_ranges_init()
Dserver.c1173 m = lws_hdr_copy(wsi, b64, sizeof(b64), in lws_check_basic_auth()
1349 budg = lws_hdr_copy(wsi, p, in lws_http_proxy_start()
1651 lws_hdr_copy(wsi, content_length_str, in lws_http_action()
1671 lws_hdr_copy(wsi, http_version_str, in lws_http_action()
1687 lws_hdr_copy(wsi, http_conn_str, sizeof(http_conn_str) - 1, in lws_http_action()
2082 n = lws_hdr_copy(wsi, buf, sizeof(buf) - 1, WSI_TOKEN_HOST); in lws_confirm_host_header()
2281 if (lws_hdr_copy(wsi, ua, sizeof(ua) - 1, in lws_handshake_server()
Dlws-spa.c124 if (lws_hdr_copy(wsi, buf, sizeof(buf), in lws_urldecode_s_create()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd-corner/
Dprotocol_lws_minimal.c225 if (lws_hdr_copy(wsi, (char *)buf, sizeof(buf), in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c113 if (lws_hdr_copy(wsi, buf, sizeof(buf), WSI_TOKEN_GET_URI) > 0) in callback_minimal()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c56 if (lws_hdr_copy(wsi, (char *)pt->serv_buf, (int)context->pt_serv_buf_size, in lws_extension_server_handshake()
465 n = lws_hdr_copy(wsi, buf, sizeof(buf) - 1, WSI_TOKEN_CONNECTION); in lws_process_ws_upgrade()
532 n = lws_hdr_copy(wsi, buf, sizeof(buf) - 1, WSI_TOKEN_PROTOCOL); in lws_process_ws_upgrade()
Dclient-ws.c296 n = lws_hdr_copy(wsi, buf, sizeof(buf) - 1, WSI_TOKEN_CONNECTION); in lws_client_ws_upgrade()
456 if (lws_hdr_copy(wsi, sb, (int)context->pt_serv_buf_size, in lws_client_ws_upgrade()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-client.c82 if (lws_hdr_copy(wsi, hostname, sizeof(hostname), in lws_ssl_client_bio_create()
135 if (lws_hdr_copy(wsi, hostname, sizeof(hostname), in lws_ssl_client_bio_create()
/third_party/libwebsockets/plugins/
Dprotocol_lws_status.c132 if (lws_hdr_copy(wsi, pss->user_agent, sizeof(pss->user_agent), in callback_lws_status()
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c437 m = lws_hdr_copy(wsi, pss->user, sizeof(pss->user), in callback_deaddrop()
583 m = lws_hdr_copy(wsi, pss->user, sizeof(pss->user), in callback_deaddrop()
/third_party/libwebsockets/include/libwebsockets/
Dlws-http.h433 lws_hdr_copy(struct lws *wsi, char *dest, int len, enum lws_token_indexes h);
/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c957 lws_hdr_copy(wsi, ac->replay_nonce, in callback_acme_client()
998 if (lws_hdr_copy(wsi, ac->acct_id, sizeof(ac->acct_id), in callback_acme_client()
1011 if (lws_hdr_copy(wsi, ac->order_url, in callback_acme_client()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-client.c252 if (lws_hdr_copy(wsi, hostname, sizeof(hostname), in lws_ssl_client_bio_create()
395 if (lws_hdr_copy(wsi, hostname, sizeof(hostname), in lws_ssl_client_bio_create()
/third_party/libwebsockets/test-apps/
Dtest-server.c153 if (lws_hdr_copy(wsi, buf, sizeof buf, (enum lws_token_indexes)n) < 0) in lws_callback_http()
/third_party/libwebsockets/lib/roles/cgi/
Dcgi-server.c263 c = lws_hdr_copy(wsi, cgi_path + 12, in lws_cgi()
301 m = lws_hdr_copy(wsi, p, lws_ptr_diff(end, p), WSI_TOKEN_HTTP_COOKIE); in lws_cgi()
/third_party/libwebsockets/lib/roles/http/
Dheader.c639 if (lws_hdr_copy(wsi, buf, sizeof buf, (enum lws_token_indexes)m) > 0) { in lws_sul_http_ah_lifecheck()
Dparsers.c532 int lws_hdr_copy(struct lws *wsi, char *dst, int len, in lws_hdr_copy() function
/third_party/libwebsockets/lib/core-net/
Ddummy-callback.c43 if (lws_hdr_copy(par, (char *)temp, temp_len, (enum lws_token_indexes)index) < 0) { in proxy_header()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c676 if (lws_hdr_copy(wsi, (char *)buf, sizeof(buf), in secstream_h1()
/third_party/libwebsockets/lib/roles/h2/
Dhpack.c325 len = lws_hdr_copy(wsi, s, sizeof(s) - 1, (enum lws_token_indexes)hdr); in lws_dump_header()
Dhttp2.c1691 if (lws_hdr_copy(h2n->swsi, buf, sizeof buf, in lws_h2_parse_end_of_frame()