Home
last modified time | relevance | path

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

/dports/www/libmicrohttpd/libmicrohttpd-0.9.74/src/examples/
H A Dwebsocket_threaded_example.c96 #define WS_KEY_LEN 24 macro
97 #define WS_KEY_GUID_LEN ((WS_KEY_LEN) + (WS_GUID_LEN))
485 if ( (NULL == key) || (WS_KEY_LEN != strlen (key))) in ws_get_accept_value()
489 str = malloc (WS_KEY_LEN + WS_GUID_LEN + 1); in ws_get_accept_value()
494 strncpy (str, key, (WS_KEY_LEN + 1)); in ws_get_accept_value()
495 strncpy (str + WS_KEY_LEN, WS_GUID, WS_GUID_LEN + 1); in ws_get_accept_value()
864 if ((MHD_NO == ret) || (key_size != WS_KEY_LEN)) in ahc_cb()