diff --git a/websocket-sharp/Net/WebHeaderCollection.cs b/websocket-sharp/Net/WebHeaderCollection.cs index 66a69cfd..9201886a 100644 --- a/websocket-sharp/Net/WebHeaderCollection.cs +++ b/websocket-sharp/Net/WebHeaderCollection.cs @@ -1816,13 +1816,7 @@ namespace WebSocketSharp.Net checkRestricted (name, true); checkAllowed (true); - - base.Set (name, value); - - if (_state != HttpHeaderType.Unspecified) - return; - - _state = HttpHeaderType.Response; + set (name, value, HttpHeaderType.Response); } ///