This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define _GNU_SOURCE | |
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <string.h> | |
| #include <unistd.h> | |
| #include <link.h> | |
| #include <linux/limits.h> | |
| #include <gnu/libc-version.h> | |
| char *crew_prefix, crew_glibc_prefix[PATH_MAX], crew_libc_so_path[PATH_MAX]; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include "websocket.h" | |
| #define HTTP_WRONG_PROTOCOL_HEADERS \ | |
| "HTTP/1.1 405 Method Not Allowed\r\n" \ | |
| "Connection: closed\r\n" \ | |
| "\r\n" | |
| #define HTTP_UPGRADE_HEADERS \ | |
| "HTTP/1.1 101 Switching Protocols\r\n" \ | |
| "Connection: upgrade\r\n" \ |
OlderNewer