[Modify] Replace it
This commit is contained in:
parent
eb5e224c8b
commit
379d73def7
@ -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);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
Loading…
Reference in New Issue
Block a user