Workaround for mono bug #312968

avinationmerge
Melanie Thielker 2010-09-06 14:09:46 +02:00
parent 00a23eea0e
commit f2e343d530
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ namespace OpenSim.Framework.Servers.HttpServer
if ((verb == "POST") || (verb == "PUT")) if ((verb == "POST") || (verb == "PUT"))
{ {
request.ContentType = "text/www-form-urlencoded"; request.ContentType = "text/www-form-urlencoded";
request.KeepAlive = true;
int length = 0; int length = 0;
using (StreamWriter writer = new StreamWriter(buffer)) using (StreamWriter writer = new StreamWriter(buffer))