Skip to content

Commit

Permalink
Changes to Response Stream behaviour to not flush/close the outputstr…
Browse files Browse the repository at this point in the history
…eam on MONO as it sends garbled letters (looks like a checksum) in Nginx/FastCGI whilst doesn't output anything on Apache+mod_mono
  • Loading branch information
mythz committed Mar 15, 2011
1 parent 78bd5dc commit a4e2537
Show file tree
Hide file tree
Showing 17 changed files with 907 additions and 724 deletions.
Binary file modified release/latest/ServiceStack.Interfaces.dll
Binary file not shown.
Binary file modified release/latest/ServiceStack.dll
Binary file not shown.
4 changes: 2 additions & 2 deletions src/ServiceStack.Common/IPAddressExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public static Dictionary<IPAddress, IPAddress> GetAllNetworkInterfaceIpv4Address
}
catch (NotImplementedException ex)
{
log.Warn("MONO does not support NetworkInterface.GetAllNetworkInterfaces(). Could not detect local ip subnets.", ex);
//log.Warn("MONO does not support NetworkInterface.GetAllNetworkInterfaces(). Could not detect local ip subnets.", ex);
}
return map;
}
Expand All @@ -155,7 +155,7 @@ public static List<IPAddress> GetAllNetworkInterfaceIpv6Addresses()
}
catch (NotImplementedException ex)
{
log.Warn("MONO does not support NetworkInterface.GetAllNetworkInterfaces(). Could not detect local ip subnets.", ex);
//log.Warn("MONO does not support NetworkInterface.GetAllNetworkInterfaces(). Could not detect local ip subnets.", ex);
}

return list;
Expand Down
Loading

0 comments on commit a4e2537

Please sign in to comment.