From 7272045445135f15895123e1b730ecbdc5c8fada Mon Sep 17 00:00:00 2001 From: sta Date: Sat, 30 May 2020 21:40:42 +0900 Subject: [PATCH] [Modify] Replace it --- websocket-sharp/Net/WebHeaderCollection.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 8413b773..1e5f49a6 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1872,11 +1872,10 @@ namespace WebSocketSharp.Net name = checkName (name); value = checkValue (value); - checkRestricted (name); - checkAllowed (name); - var headerType = getHeaderType (name); + checkRestricted (name, headerType); + checkAllowed (name); set (name, value, headerType); }