Home
last modified time | relevance | path

Searched refs:WS_MAGIC (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/subsys/net/lib/http/
Dhttp_server_ws.c30 #define WS_MAGIC "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" macro
41 char key_accept[HTTP_SERVER_WS_MAX_SEC_KEY_LEN + sizeof(WS_MAGIC)]; in handle_http1_to_websocket_upgrade()
52 olen = MIN(sizeof(key_accept) - 1 - key_len, sizeof(WS_MAGIC) - 1); in handle_http1_to_websocket_upgrade()
53 strncpy(key_accept + key_len, WS_MAGIC, olen); in handle_http1_to_websocket_upgrade()
/Zephyr-Core-3.7.0/subsys/net/lib/websocket/
Dwebsocket_internal.h24 #define WS_MAGIC "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" macro
Dwebsocket.c245 char key_accept[MAX_SEC_ACCEPT_LEN + sizeof(WS_MAGIC)]; in websocket_connect()
342 olen = MIN(sizeof(key_accept) - 1 - key_len, sizeof(WS_MAGIC) - 1); in websocket_connect()
343 strncpy(key_accept + key_len, WS_MAGIC, olen); in websocket_connect()