added null check to web socket

This commit is contained in:
Luke Pulverenti committed 2015-03-16 10:40:33 -04:00
1 parent dcf8e4c4b5
commit ca492d105e
2 files changed
+2 -2

No files matched your search

@@ -120,7 +120,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer.SocketSharp
{
var endpoint = ctx.Request.RemoteEndPoint.ToString();
var url = ctx.Request.RawUrl;
var queryString = new NameValueCollection(ctx.Request.QueryString);
var queryString = new NameValueCollection(ctx.Request.QueryString ?? new NameValueCollection());
var connectingArgs = new WebSocketConnectingEventArgs
{