* Fixes a http protocol violation in HttpServer in Linux. StringWriter.Append() vs StringWriter.Append("\r\n"); StringWriter.Append() produces "\n" in *nix*
* This doesn't solve anything. Just gets the protocol right.0.6.0-stable
parent
0f77a334bd
commit
ae265e2f76
|
@ -177,7 +177,12 @@ namespace OpenSim.Framework.Servers
|
|||
set
|
||||
{
|
||||
if (HttpServer)
|
||||
{
|
||||
if (value == true)
|
||||
_httpResponse.Connection = ConnectionType.KeepAlive;
|
||||
else
|
||||
_httpResponse.Connection = ConnectionType.Close;
|
||||
}
|
||||
else
|
||||
_httpListenerResponse.KeepAlive = value;
|
||||
}
|
||||
|
|
Binary file not shown.
Loading…
Reference in New Issue