Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix some issues with SignalR's owin request impl on mono

- Create the form lock (don't leave it null)
- Use external console so the sample doesn't quit when running in mono
develop.
  • Loading branch information...
commit b5c05bc6bfee3ed590633a8f71c9a3e8038ab034 1 parent 31118ea
@davidfowl davidfowl authored
View
1  samples/Microsoft.AspNet.Owin.Samples/Microsoft.AspNet.Owin.Samples.csproj
@@ -14,6 +14,7 @@
<TargetFrameworkProfile />
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages>
+ <Externalconsole>True</Externalconsole>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget>
View
2  src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs
@@ -21,7 +21,7 @@ public partial class ServerRequest : IRequest
private NameValueCollection _serverVariables;
private NameValueCollection _form;
private bool _formInitialized;
- private object _formLock;
+ private object _formLock = new object();
private IDictionary<string, Cookie> _cookies;
public Uri Url
Please sign in to comment.
Something went wrong with that request. Please try again.