From f101b60a83b8f1b4dfbf29a3f2e37154dd0f578d Mon Sep 17 00:00:00 2001 From: arthurkushman Date: Fri, 20 Nov 2020 12:28:55 +0300 Subject: [PATCH] #49: Change DEFAULT_RESPONSE_HEADER value to 8192 --- src/Contracts/WscCommonsContract.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Contracts/WscCommonsContract.php b/src/Contracts/WscCommonsContract.php index ef9c743..e08a653 100755 --- a/src/Contracts/WscCommonsContract.php +++ b/src/Contracts/WscCommonsContract.php @@ -13,7 +13,7 @@ interface WscCommonsContract public const MAX_BYTES_READ = 65535; public const DEFAULT_TIMEOUT = 5; public const DEFAULT_FRAGMENT_SIZE = 4096; - public const DEFAULT_RESPONSE_HEADER = 1024; + public const DEFAULT_RESPONSE_HEADER = 8192; public const SEC_WEBSOCKET_ACCEPT_PTTRN = '/Sec-WebSocket-Accept:\s(.*)$/mUi'; public const SERVER_KEY_ACCEPT = '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'; public const PROXY_MATCH_RESP = '/^HTTP\/\d\.\d 200/';