1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-03 18:03:13 +02:00

Remove WSU() items forwarded & secure, since these are in webserver nowadays.

This commit is contained in:
Bram Matthys
2023-11-27 10:04:28 +01:00
parent 02ac1fc0b3
commit 026d5522a8
3 changed files with 4 additions and 13 deletions
-2
View File
@@ -1962,8 +1962,6 @@ struct WebSocketUser {
int lefttoparselen; /**< Length of lefttoparse buffer */
WebSocketType type; /**< WEBSOCKET_TYPE_BINARY or WEBSOCKET_TYPE_TEXT */
char *sec_websocket_protocol; /**< Only valid during parsing of the request, after that it is NULL again */
char *forwarded; /**< Unparsed `Forwarded:` header, RFC 7239 */
int secure; /**< If there is a Forwarded header, this indicates if the remote connection is secure */
};
#define WEBSOCKET_MAGIC_KEY "258EAFA5-E914-47DA-95CA-C5AB0DC85B11" /* see RFC6455 */