[Modify] Replace it
This commit is contained in:
parent
eb5e224c8b
commit
379d73def7
@ -1816,13 +1816,7 @@ namespace WebSocketSharp.Net
|
|||||||
|
|
||||||
checkRestricted (name, true);
|
checkRestricted (name, true);
|
||||||
checkAllowed (true);
|
checkAllowed (true);
|
||||||
|
set (name, value, HttpHeaderType.Response);
|
||||||
base.Set (name, value);
|
|
||||||
|
|
||||||
if (_state != HttpHeaderType.Unspecified)
|
|
||||||
return;
|
|
||||||
|
|
||||||
_state = HttpHeaderType.Response;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user