[Modify] Replace it
This commit is contained in:
parent
d2e06919ec
commit
cd092a4b51
@ -1846,17 +1846,9 @@ namespace WebSocketSharp.Net
|
||||
checkRestricted (name);
|
||||
checkAllowed (name);
|
||||
|
||||
base.Set (name, value);
|
||||
|
||||
if (_state != HttpHeaderType.Unspecified)
|
||||
return;
|
||||
|
||||
var headerType = getHeaderType (name);
|
||||
|
||||
if (headerType == HttpHeaderType.Unspecified)
|
||||
return;
|
||||
|
||||
_state = headerType;
|
||||
set (name, value, headerType);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user