/third_party/libwebsockets/lib/roles/http/client/ |
D | client-http.c | 660 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP); in lws_client_interpret_server_handshake() 669 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP1_0); in lws_client_interpret_server_handshake() 679 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_STATUS); in lws_client_interpret_server_handshake() 703 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_LOCATION); in lws_client_interpret_server_handshake() 746 char *mp = lws_hdr_simple_ptr(wsi,_WSI_TOKEN_CLIENT_METHOD); in lws_client_interpret_server_handshake() 763 ads = lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 788 ads = lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 793 if (lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI)) in lws_client_interpret_server_handshake() 794 lws_strncpy(new_path, lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() 899 if (!strncmp(lws_hdr_simple_ptr(wsi, in lws_client_interpret_server_handshake() [all …]
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | cgi-server.c | 157 char *pct = lws_hdr_simple_ptr(wsi, in lws_cgi() 223 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD)); in lws_cgi() 225 lws_hdr_simple_ptr(wsi, in lws_cgi() 234 lws_hdr_simple_ptr(wsi, (enum lws_token_indexes)uritok)); in lws_cgi() 286 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_REFERER)); in lws_cgi() 294 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST)); in lws_cgi() 311 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_USER_AGENT)); in lws_cgi() 319 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_CONTENT_ENCODING)); in lws_cgi() 326 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT)); in lws_cgi() 333 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING)); in lws_cgi() [all …]
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 643 if (strstr(lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING), in lws_vfs_prepare_flags() 772 if (strcmp(sym, lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_IF_RANGE))) in lws_http_serve() 781 if (!strcmp(sym, lws_hdr_simple_ptr(wsi, in lws_http_serve() 1139 *puri_ptr = lws_hdr_simple_ptr(wsi, methods[n]); in lws_http_get_uri_and_method() 1227 pcolon = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_AUTHORIZATION); in lws_check_basic_auth() 1231 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_AUTHORIZATION)); in lws_check_basic_auth() 1369 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_AUTHORITY); in lws_http_proxy_start() 1375 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST); in lws_http_proxy_start() 1381 !lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST)) in lws_http_proxy_start() 1384 i.host = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HOST); in lws_http_proxy_start() [all …]
|
D | access-log.c | 82 me = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_prepare_access_log_info()
|
/third_party/libwebsockets/lib/roles/ws/ |
D | client-ws.c | 173 if (lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_SENT_PROTOCOLS)) in lws_generate_client_ws_handshake() 175 lws_hdr_simple_ptr(wsi, in lws_generate_client_ws_handshake() 279 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_UPGRADE); in lws_client_ws_upgrade() 320 pc = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_SENT_PROTOCOLS); in lws_client_ws_upgrade() 353 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL); in lws_client_ws_upgrade() 596 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_ACCEPT); in lws_client_ws_upgrade()
|
D | server-ws.c | 343 atoi(lws_hdr_simple_ptr(wsi, WSI_TOKEN_VERSION)); in lws_process_ws_upgrade2() 358 lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL), 0)) { in lws_process_ws_upgrade2() 666 lws_hdr_simple_ptr(wsi, WSI_TOKEN_KEY)); in handshake_0405() 780 lws_hdr_simple_ptr(wsi, WSI_TOKEN_GET_URI); in handshake_0405()
|
/third_party/libwebsockets/lib/roles/http/ |
D | date.c | 162 char *p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_RETRY_AFTER); in lws_http_check_retry_after() 194 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_DATE); in lws_http_check_retry_after()
|
D | parsers.c | 681 char *lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h) in lws_hdr_simple_ptr() function 1514 const char *pv = lws_hdr_simple_ptr(wsi, WSI_TOKEN_VERSION); in lws_parse() 1589 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COOKIE); in lws_http_cookie_get()
|
/third_party/libwebsockets/lib/roles/h2/ |
D | ops-h2.c | 534 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in rops_check_upgrades_h2() 539 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_COLON_PROTOCOL); in rops_check_upgrades_h2() 806 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_h2_bind_for_post_before_action() 812 !lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_PATH)) in lws_h2_bind_for_post_before_action() 823 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_PATH), in lws_h2_bind_for_post_before_action() 827 lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_COLON_PATH), in lws_h2_bind_for_post_before_action()
|
D | http2.c | 1660 const char *simp = lws_hdr_simple_ptr(h2n->swsi, in lws_h2_parse_end_of_frame() 1774 !lws_hdr_simple_ptr(h2n->swsi, WSI_TOKEN_TE) || in lws_h2_parse_end_of_frame() 1775 strncmp(lws_hdr_simple_ptr(h2n->swsi, WSI_TOKEN_TE), in lws_h2_parse_end_of_frame() 1787 p = lws_hdr_simple_ptr(h2n->swsi, WSI_TOKEN_HTTP_COLON_METHOD); in lws_h2_parse_end_of_frame() 2511 char *meth = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_METHOD), in lws_h2_client_handshake() 2512 *uri = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI), *simp; in lws_h2_client_handshake() 2588 simp = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_HOST); in lws_h2_client_handshake() 2707 if (lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL)) { in lws_h2_ws_handshake() 2709 (uint8_t *)lws_hdr_simple_ptr(wsi, in lws_h2_ws_handshake() 2711 (int)strlen(lws_hdr_simple_ptr(wsi, in lws_h2_ws_handshake() [all …]
|
/third_party/libwebsockets/lib/secure-streams/protocols/ |
D | ss-h1.c | 326 const char *cp = lws_hdr_simple_ptr(wsi, in lws_extract_metadata() 1066 lws_hdr_simple_ptr(wsi, in secstream_h1() 1071 lws_hdr_simple_ptr(wsi, in secstream_h1() 1080 lws_hdr_simple_ptr(wsi, in secstream_h1() 1089 lws_hdr_simple_ptr(wsi, in secstream_h1()
|
/third_party/libwebsockets/lib/roles/http/compression/ |
D | stream.c | 49 a = lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_ACCEPT_ENCODING); in lws_http_compression_validate()
|
/third_party/libwebsockets/lib/secure-streams/system/auth-sigv4/ |
D | sign.c | 94 add_header(s, "host:", lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_HOST)); in init_sigv4() 218 if (hash_update_str(&hash_ctx, lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_URI)) || in build_sign_string()
|
/third_party/libwebsockets/lib/core-net/client/ |
D | connect2.c | 289 iface = lws_hdr_simple_ptr(wsi, _WSI_TOKEN_CLIENT_IFACE);
|
/third_party/libwebsockets/lib/core-net/ |
D | dummy-callback.c | 566 if (lws_hdr_simple_ptr(wsi, WSI_TOKEN_HTTP_CONTENT_LENGTH)) in lws_callback_http_dummy() 568 lws_hdr_simple_ptr(wsi, in lws_callback_http_dummy()
|
D | private-lib-core-net.h | 1074 lws_hdr_simple_ptr(struct lws *wsi, enum lws_token_indexes h);
|
D | wsi.c | 1356 return lws_hdr_simple_ptr(wsi, (enum lws_token_indexes)hdr_idx); in lws_wsi_client_stash_item()
|
/third_party/libwebsockets/lib/secure-streams/ |
D | policy-common.c | 188 *value = lws_hdr_simple_ptr(h->wsi, n); in lws_ss_get_metadata()
|
/third_party/libwebsockets/lib/tls/ |
D | tls-jit-trust.c | 103 host = lws_hdr_simple_ptr(wsi, in lws_tls_jit_trust_sort_kids()
|