[Modify] Replace it
This commit is contained in:
parent
cf359b9014
commit
a51f4da264
@ -79,7 +79,8 @@ namespace WebSocketSharp
|
|||||||
|
|
||||||
public bool HasConnectionClose {
|
public bool HasConnectionClose {
|
||||||
get {
|
get {
|
||||||
return Headers.Contains ("Connection", "close");
|
var comparison = StringComparison.OrdinalIgnoreCase;
|
||||||
|
return Headers.Contains ("Connection", "close", comparison);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user