[Modify] Polish it
This commit is contained in:
parent
ff0337599a
commit
8492a0bc18
@ -683,14 +683,14 @@ namespace WebSocketSharp.Net
|
||||
);
|
||||
}
|
||||
|
||||
if (!_sendChunked) {
|
||||
if (_sendChunked) {
|
||||
headers.InternalSet ("Transfer-Encoding", "chunked", true);
|
||||
}
|
||||
else {
|
||||
headers.InternalSet (
|
||||
"Content-Length", _contentLength.ToString (prov), true
|
||||
);
|
||||
}
|
||||
else {
|
||||
headers.InternalSet ("Transfer-Encoding", "chunked", true);
|
||||
}
|
||||
|
||||
/*
|
||||
* Apache forces closing the connection for these status codes:
|
||||
|
Loading…
Reference in New Issue
Block a user