Searched refs:_sx_websocket_http_return (Results 1 – 1 of 1) sorted by relevance
/dports/net-im/jabberd/jabberd-2.7.0/sx/ |
H A D | websocket.c | 287 static void _sx_websocket_http_return(sx_t s, char *status, char *headers_format, ...) { in _sx_websocket_http_return() function 350 _sx_websocket_http_return(s, "400 Bad Request", ""); in _sx_websocket_rio() 364 _sx_websocket_http_return(s, "101 Switching Protocols", in _sx_websocket_rio() 385 … _sx_websocket_http_return(s, "301 Found", "Location: %s\r\nConnection: close\r\n", http_forward); in _sx_websocket_rio() 391 _sx_websocket_http_return(s, "403 Forbidden", "Connection: close\r\n"); in _sx_websocket_rio()
|