Home
last modified time | relevance | path

Searched refs:http_hdr (Results 1 – 2 of 2) sorted by relevance

/third_party/libcoap/src/
Dcoap_ws.c290 char *cp = strchr((char *)session->ws->http_hdr, ' '); in coap_ws_split_rd_header()
293 cp = strchr((char *)session->ws->http_hdr, '\t'); in coap_ws_split_rd_header()
311 if (strcasecmp((char *)ws->http_hdr, in coap_ws_rd_http_header_server()
313 coap_log_info("WS: Invalid GET request %s\n", (char *)ws->http_hdr); in coap_ws_rd_http_header_server()
324 if (strcasecmp((char *)ws->http_hdr, "Host:") == 0) { in coap_ws_rd_http_header_server()
330 } else if (strcasecmp((char *)ws->http_hdr, "Upgrade:") == 0) { in coap_ws_rd_http_header_server()
340 } else if (strcasecmp((char *)ws->http_hdr, "Connection:") == 0) { in coap_ws_rd_http_header_server()
350 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Key:") == 0) { in coap_ws_rd_http_header_server()
365 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Protocol:") == 0) { in coap_ws_rd_http_header_server()
375 } else if (strcasecmp((char *)ws->http_hdr, "Sec-WebSocket-Version:") == 0) { in coap_ws_rd_http_header_server()
[all …]
/third_party/libcoap/include/coap3/
Dcoap_ws_internal.h55 uint8_t http_hdr[80]; /**< (Partial) HTTP header */ member