Skip to content

Commit

Permalink
Fix some issues with SignalR's owin request impl on mono
Browse files Browse the repository at this point in the history
- 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
davidfowl committed Dec 8, 2012
1 parent 31118ea commit b5c05bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -14,6 +14,7 @@
<TargetFrameworkProfile /> <TargetFrameworkProfile />
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir> <SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">..\..\</SolutionDir>
<RestorePackages>true</RestorePackages> <RestorePackages>true</RestorePackages>
<Externalconsole>True</Externalconsole>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<PlatformTarget>AnyCPU</PlatformTarget> <PlatformTarget>AnyCPU</PlatformTarget>
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.AspNet.SignalR.Owin/ServerRequest.cs
Expand Up @@ -21,7 +21,7 @@ public partial class ServerRequest : IRequest
private NameValueCollection _serverVariables; private NameValueCollection _serverVariables;
private NameValueCollection _form; private NameValueCollection _form;
private bool _formInitialized; private bool _formInitialized;
private object _formLock; private object _formLock = new object();
private IDictionary<string, Cookie> _cookies; private IDictionary<string, Cookie> _cookies;


public Uri Url public Uri Url
Expand Down

0 comments on commit b5c05bc

Please sign in to comment.